O'Reilly logo

Extending Microsoft Dynamics NAV 2016 Cookbook by Alexander Drogin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Developing your own .NET class

In the next recipe, we will develop a .NET assembly in C# language and export a class from it to consume the .NET functionality in a C/SIDE Page object.

The example is in C#, but assemblies can be developed in any .NET language, such as Visual C++ .NET, VB.NET, or F#.

How to do it...

Custom components developed in the following recipe return a list of NAV services installed in the system.

  1. Run Visual Studio and create a new project (click Project in the New menu). In the New Project dialog window, unfold the list of installed templates, select the Windows application templates group, and choose the Class Library template.
  2. Enter the project name in the Name field below the templates list: NavServiceController.
  3. Select the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required