Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering Microsoft Dynamics NAV 2016

You're reading from   Mastering Microsoft Dynamics NAV 2016 The compilation of best skillset to harness Microsoft Dynamics NAV for Administrators, Consultants, and Developers

Arrow left icon
Product type Paperback
Published in Mar 2017
Publisher Packt
ISBN-13 9781786464309
Length 450 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Rabindra Sah Rabindra Sah
Author Profile Icon Rabindra Sah
Rabindra Sah
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

Preface 1. Microsoft Dynamics NAV Installation FREE CHAPTER 2. Upgraded Features and Configuration in Dynamics NAV 2016 3. The C/AL and VB Programming 4. Testing and Debugging 5. Design and Development Considerations 6. Version Control and Code Management 7. Tuning Up the NAV System 8. Security in Dynamics NAV 2016 9. Upgrade and Migration 10. Interfacing NAV with Other Applications 11. Extending Dynamics NAV 2016 12. The Future of NAV

.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...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime