.NET API

The core of the Sage CRM solution is represented by an ActiveX component. Sage has leveraged Microsoft’s Interop technology to expose this existing COM component to managed code (code executed by Microsoft's .NET Framework Common Language Runtime).

The process of exposing COM components to the .NET Framework can be challenging, involving steps such as converting the coclasses and interfaces contained in a COM type library to metadata and deploying Interop applications as strong-named, signed assemblies in the global assembly cache.

The Sage CRM SDK for .NET handles these low-level implementation details by providing a redistributable package that installs the .NET component onto your system and makes it readily available within the Visual Studio environment.

  • CustomDotNetDll action calls Application Extension.
  • CustomDotNetDll action uses COM interop to trigger behavior in CRM .NET Component.
    • Calls CRM Application Extension.
    • Passes CRM Application Extension DLL name and session information.
  • CRM Application Extension processes data and generates and returns HTML.

The Sage CRM .NET API requires Microsoft .NET Framework 2.0. It provides a type library that exposes Sage CRM objects, properties, and methods. Through its core libraries, the Sage CRM .NET Component manages data access and web interface generation.  Projects developed using the Sage CRM .NET Component are compiled into a DLL and called directly from within Sage CRM. By using Sage CRM metadata, Application Extensions constructed using the Sage CRM .NET API look, feel and perform like core system pages.

Reference to the Sage CRM .NET component from within ASP.NET projects is not supported.

You can develop Sage CRM Application Extensions with any programming language that conforms with the .NET Framework 2.0, such as C#, VB.NET, or J#.