Microsoft Dynamics NAV Managed Service Goodies

Over the course of creating my videos, I have created a number of demos, and massive amount of code (well, massive in relation to the duration of videos). So, with Microsoft’s agreement, I have published all of the demonstrated C# and PowerShell code to my GitHub repository.

If you haven’t watched the videos yet, then please do.

And then, just visit this:

The repository contains two directories:

  • PowerShell: contains the demos for any PowerShell demonstrated in the videos. Also, contains the Master folder where the master PowerShell script resides.  I won’t change the demos (you shouldn’t either), but I’ll gladly accept any contributions to the Master folder.
  • C# (ASP.NET): contains the demos for the MVC-based provisioning portal. Please, feel free to use and abuse this one at your will. It’s been crammed together in a very short time, so it’s probably buggy and all. But I hope it can evolve into something truly useful for whomever wants to do serious business with Managed Service.

So, that’s all. I feel extremely proud of my first real GitHub contribution (even though a blog visitor has been able to figure out a secret one which will also go-live in a couple of days).

Enjoy, and send your feedback my way!


Vjeko has been writing code for living since 1995, and he has shared his knowledge and experience in presentations, articles, blogs, and elsewhere since 2002. Hopelessly curious, passionate about technology, avid language learner no matter human or computer.

This Post Has 10 Comments

  1. olivier

    Hi, any idea where we can find source objects form “How Do I: Handle File Management in CAL Code When Running in Azure”-video ? Thx.

    1. Vjeko

      Sorry, I have not published this source code. However, all source code is shown in the video, if you have problems understanding a variable type of something, please let me know.

      1. Craig Sanders

        Hi Vjeko.

        Can you please help me with the variables in the GetCanonicalHeader and GetCanonicalResource functions.

        In partcular
        HeaderNames (System.Collections.ArrayList??),


        1. Vjeko

          Uh-oh… sorry, I don’t have that code anymore, and I’d have to go back and dig myself. And right now I am busy over the top of my head with preparing NAV TechDays content.

    1. Vjeko

      Hi – believe it or not, I have no access to these URLs 🙂 All of this is published also on YouTube, so if you can help me by pointing out to the YouTube video with the examples, and I’ll let you know where to get them (if they are published).

        1. Vjeko

          I am so sorry – I don’t have these examples on GitHub. I accidentally used the same slide as I did for other videos. I thought these examples were not too complicated and most of the things can be understood from the code. Sorry for that.

          1. Bart

            Hi Vjeko,

            we copied the code from the video into a codeunit. But the TextConst are not visible in the video.
            Do you know who developt the codeunit in your video?
            We would like to contact this person.
            I hope you can help us with this!


          2. Vjeko

            Hi Bart. I developed the code in the codeunit – I (probably) never show off things written by other people. That said – I unfortunately cannot find this code anymore. All I have saved from this Managed Service project I put on my GitHub at and if you can find what you are looking for there, then good. If not, then it’s gone for good. Sorry for this.

Leave a Reply