Everyone who has ever created a .NET DLL for his NAV project will probably have run into different kind of issues concerning versioning.
◾Either unable to overwrite without stopping the Server Instance
◾Not having the right assembly loaded
◾Having to replace your assembly in code and losing your events
Tag Archives: .NET
Print Existing PDF in Dynamics NAV using DotNET
As you might have noticed in my blog post from a couple of days ago I am making an attempt to print an existing PDF from NAV.
This is a common request. For example: print assembly instructions together with a sales packaging document. The assembly instructions are an existing PDF document and the sales document is generated by NAV.
NAV Design Pattern: TryFunction – .NET Exception Handling in C/AL
When you want to use objects from the .NET Framework in C/AL code, one of the main challenges is to handle exceptions that the methods of these objects may throw.
Extending Dynamics NAV using .NET framework interoperability
I gave a talk at NAVUG Summit 2015 about .NET interoperability, here are the slides:
Automatic Deployment of Microsoft .NET Framework Interoperability and Control Add-in Assemblies
Microsoft Dynamics NAV 2015 makes it easier for the system administrators to deploy client-side assemblies for .NET Framework interoperability and client control add-ins on computers that are running the Microsoft Dynamics NAV Windows client or Microsoft Dynamics NAV Development Environment.
How to: Set .NET Framework Types to Run on the Microsoft Dynamics NAV Windows Client or Microsoft Dynamics NAV Server Computers
Here is the brief description for how to set .NET Framework objects that are instantiated by DotNet variables to target either the Microsoft Dynamics NAV Windows client or Microsoft Dynamics NAV Server. By default, a type is set to target Microsoft Dynamics NAV Server.
Learning .NET Framework interoperability by Example
This example accesses classes in the System.XML assembly that is found in Global Assembly Cache.
Today’s example uses .NET Framework interoperability to display headlines from an RSS feed from my blog site, which has the following URL: