Book Image

Mastering Microsoft Dynamics NAV 2016

By : Rabindra Sah
Book Image

Mastering Microsoft Dynamics NAV 2016

By: Rabindra Sah

Overview of this book

The book begins by giving you a brief introduction to setting up your NAV environment and shows you how to install and configure it according to your requirements. You will then dive deep into the latest design patterns, network architecture, and topologies. We will show you how you can integrate NAV with the Microsoft platform, and secure your deployment by managing roles and permissions. Moving on, we will explain how to monitor and manage server instances using the Administration tool. We’ll discuss how you can take advantage of the expanded extensibility and connectivity capabilities for a tighter integration with the cloud as well as handheld devices. Then, we’ll show you how you can make use of the PowerBI capabilities that have been built into Dynamics NAV. By the end of the book, you will be confident in developing and administering a Dynamics NAV implementation that will leverage all of the new features.
Table of Contents (19 chapters)
Mastering Microsoft Dynamics NAV 2016
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface

.NET interoperability


Microsoft Dynamics NAV 2016 is very rich in .NET interoperability operations. Most of the variables and functions used in .NET are now available or are supported in the C/SIDE environment. This provides us the power of the .NET platform in a C/SIDE environment.

.NET Interoperability features include communication between client- and server-side objects and the introduction of the concept of constructors.

You can call .NET Framework types from C/AL code, which is pretty interesting. In addition to this, you can also call methods, properties, and constructors from C/AL code. It is a straight forward deal.

Follow these steps:

  1. Define a DotNet type variable referring to the .NET Framework assembly type that contains the member:

  2. Define the subtype of the variable from the .NET assembly present:

  3. Call the variable as any other function variable in C/AL code:

  4. By declaring a variable of the DotNet data type and subtyping it to a specific .NET Framework class, you can access all...