Advanced Developer Extensions for Microsoft Dynamics CRM 4.0 (Microsoft xRM)

banner art

[Applies to: Microsoft Dynamics CRM 4.0]

Find the latest SDK documentation: CRM 2015 SDK

One way to maximize the value of your Microsoft Dynamics CRM investment is to build a Web portal that is tightly integrated with your Microsoft Dynamics CRM deployment. Advanced Developer Extensions for Microsoft Dynamics CRM makes it easy to build an agile, integrated Web solution. Advanced Developer Extensions for Microsoft Dynamics CRM, also referred to as Microsoft xRM, which uses well known ADO.NET technologies, is a new set of tools included in the Microsoft Dynamics CRM SDK that simplifies the development of Internet-enabled applications that interact with Microsoft Dynamics CRM 4.0. For more information, see ADO.NET.

Advanced Developer Extensions for Microsoft Dynamics CRM supports all Microsoft Dynamics CRM deployment models: On-Premises, Internet-facing deployments (IFDs), and Microsoft Dynamics CRM Online.

Key features of the Advanced Developer Extensions for Microsoft Dynamics CRM include:

  • An enhanced code generation tool called CrmSvcUtil.exe that generates .NET classes based on the unique schema and relational structure of each Microsoft Dynamics CRM database. Developers can then code against Microsoft Dynamics CRM APIs using these strongly-typed classes. Queries that require data from related entities can now be simplified to a single line of code, where previously it required multiple lines of code. Classes generated by CrmSvcUtil.exe enable developers to streamline integration and connectivity with third-party applications, such as mash-ups and portals that need access to Microsoft Dynamics CRM data through the APIs.
  • LINQ for Microsoft Dynamics CRM, which translates a LINQ query expression into a Microsoft Dynamics CRM SDK Query. LINQ is a Microsoft .NET Framework component that provides a standardized way to query across different data sources and that can be extended to support any type of data store.
  • A Portal Integration toolkit that enables developers to create integration services between external portals and Microsoft Dynamics CRM more efficiently. The Portal Integration toolkit also provides sample code and guidance on how to best connect portals with Microsoft Dynamics CRM.
  • Connectivity and caching management, which provides improved scalability and application efficiency for portal applications connecting to Microsoft Dynamics CRM Online. Developers can now specify a single-line connection string to connect to the Microsoft Dynamics CRM API whether that is Microsoft Dynamics CRM Online, On-Premises, or Internet Facing Deployment (IFD).

The new portal accelerator provides a complete reference sample application to get you up and running quickly. For more information, see Portal Integration in Accelerators for Microsoft Dynamics CRM 4.0.

You can find the assemblies, reference documentation, and sample code for using the Advanced Developer Extensions in the SDK Download Package available at

The SDK\Microsoft.xRM folder contains the documentation, binaries, tools, and walkthroughs. The reference documentation can be found in the file MicrosoftXrm.chm. However, because the same information will appear in Microsoft Visual Studio IntelliSense, you probably will not need to reference this file.

In This Section

Connect to the Microsoft Dynamics CRM Server

Describes simplified connection string used to communicate with the server.

Code Generation Using the CrmSvcUtil Tool

Explains how to use the code generation tool to generate classes for your organization.

Use Data Services to Simplify Data Modification in Microsoft Dynamics CRM

Shows how to use ADO.NET data services to create, update, and delete Microsoft Dynamics CRM records.

Use LINQ to Retrieve Data from Microsoft Dynamics CRM

Explains how to use LINQ to create queries.

© 2010 Microsoft Corporation. All rights reserved.