Modern Dev Experience in NAV

It is a new chapter for Microsoft Dynamics NAV Community! 

Microsoft has released new AL language code samples for developing extensions on Dynamics NAV plaform. Thank you Microsoft Dynamics NAV development team for making this a sucess and releasing this early preview. 

Take a look at how a simple “Hello, World!” codeunit would look like in new syntax. (Ya ya.. Object IDs are still there)
 // ------------------------------------------------------------------------------------------------  
 // Copyright (c) Microsoft Corporation. All rights reserved.   
 // Licensed under the MIT License. See License.txt in the project root for license information.   
 // ------------------------------------------------------------------------------------------------  
 codeunit 70051001 HelloWorld  
 {  
   TableNo = Customer;  
   trigger OnRun();  
   var  
     HelloText : Codeunit GreetingsManagement;  
   begin  
     Message(HelloText.GetRandomGreeting() + ', ' + Rec.Name);  
   end;  
 }  
It looks very good and at the first glance codeing looks more like C#, which is good because it will attract new developers to the NAV world.

With new development experience we get a totally new file extention .AL

According to Microsoft, new VS Code development is used for extension development for Microsoft Dynamics NAV and also for Dynamics 365. This means at this stage we still have to stick with the existing Development Enviornment for all the other Dynamics NAV related developments. However in futuer Dynamics NAV Development Environemtn will say goodbye to the NAV world. 

You can access the new released code samples from below link: https://github.com/Microsoft/AL

Looking forward to play with Visual Studio development environment preview which may available for Christmas.
Rome wasn’t built in a day! But we are getrting there!
Please provide your feedback with a comment. 

Thank you and Regards,
Tharanga Chandrasekara

Click on a star to rate it!

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?

1 comment

    • Anonymous on December 2, 2016 at 12:10 pm

    Hi Tharanga,
    Waiting for my Christmas gift !
    L

Comments have been disabled.