CRM 4.0 SDK
In the last couple of projects I have been at we had a lot of integration question and development request to integrate several objects from CRM. Not In all project I think the right solution was chosen because one of my colleagues pointed me to the CRM 4.0 SDK.
With this SDK you do not have to add a service reference to visual studio to talk to CRM but you can open the CRM context by using a connection string:
<connectionStrings> <add name="Crm" connectionString="Authentication Type=Passport; Server=https://your-org-name.crm.dynamics.com/your-orgid; User ID=your-windowslive-id; Password=your-wlid-password; Device ID=your-device-id; Device Password=your-device-password"/> </connectionStrings>
And opening the datacontext with that connection string for example with:
var crm = new Xrm.XrmDataContext("CRMOnline");
The SDK really makes it simple and easy to integration CRM with SharePoint or other .Net based web application.
So if you want to integrate CRM with another application you really should take a look at the: