Condividi tramite


Extending Microsoft Dynamics NAV Using Microsoft .NET Framework Interoperability

You can extend the RoleTailored clients and Microsoft Dynamics NAV Server with functionality that is available in Microsoft .NET Framework assemblies. You can take advantage of .NET Framework interoperability so that Microsoft Dynamics NAV objects can interact with .NET Framework objects. In your Microsoft Dynamics NAV objects, you can reference .NET Framework assemblies and call their members directly from C/AL code. You can use assemblies from the .NET Framework class library, which are found in the global assembly cache; your own custom assemblies; or third-party assemblies. For more information, see Assembly Installation in the GAC.

.NET Framework interoperability offers an alternative to COM so that you can extend your solution. For example, you can use .NET Framework interoperability to:

  • Consume web services.

  • Integrate with Microsoft Office products.

  • Create .NET Framework applications that target the RoleTailored client.

Microsoft Dynamics NAV Web client and Microsoft Dynamics NAV SharePoint client support

For the Microsoft Dynamics NAV Web client and Microsoft Dynamics NAV SharePoint client, you can only implement Microsoft .NET Framework Interoperability objects that are configured to run on Microsoft Dynamics NAV Server. Client-side objects are not supported. For more information, see Setting .NET Framework Types to Target the Microsoft Dynamics NAV Windows Client or Server

See Also

Concepts

Calling .NET Framework Members from C/AL
Mapping Between .NET Framework and C/AL Types
Using Arrays
Using Collections
Using Enumerations
Using Generics
Using Interfaces
Calling External Web Services