eConnect and .NET

A .NET assembly is the fundamental building block of all .NET applications. An assembly includes the types and resources that produce a logical unit of functionality. In eConnect, an assembly is stored as a .dll file.

To add eConnect functionality to a .NET solution, you use one or more of the following assemblies:

  • Microsoft.Dynamics.GP.eConnect.dll
  • Microsoft.Dynamics.GP.eConnect.Serialization.dll

The eConnect installer typically places these files in the directory c:\Program Files\Microsoft Dynamics\eConnect 12.0\Objects\Dot Net.

Each eConnect assembly contains an eConnect namespace. The values of each namespace matches the name of the assembly where it is found. For example, the Microsoft.Dynamics.GP.eConnect.dll assembly is where you find the Microsoft.Dynamics.GP.eConnect namespace.

Each eConnect namespace is a collection of related classes and enumerations. For example, the Microsoft.Dynamics.GP.eConnect namespace includes the eConnectMethods class as well as other classes and enumerations. For more information about eConnect namespaces, classes, and enumerations, see eConnect .NET Reference.

To use an eConnect class in a .NET development project, use Visual Studio to add a reference to the assembly that contains the namespace for that class. For information about how to add a reference, see Adding a reference.

Hint: To use the eConnect .NET assemblies, you must have Microsoft .NET Framework 2.0, or Microsoft Visual Studio 2005 or later installed on your computer.