
Mastering Microsoft Dynamics NAV 2016
By :

Microsoft Dynamics NAV 2016 has added the interoperability feature with the DotNet Programming language. Support for DotNet was first introduced in the previous version of NAV in exchange for automation control. Now in Dynamics NAV 2016, it is possible to use a wider range of .NET objects directly in C/AL programming by creating the .NET type variable, as shown in the following screenshot:
In the preceding screenshot, you can see that, in codeunit 1290, there is a variable of type DotNet with System.Net.HttpWebResponse.'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' as Subtype, which cannot be directly implemented in C/AL code.
The DotNet objects can be implemented on both the server side and the client side. There are limitations to using .NET in Microsoft Dynamics NAV 2016, which are typically solved by creating Wrapper DLL objects in C#. The Excel interface is also an example of this.
I would recommend that you take...