Hans Rasmussen

info@hansrasmussen.com, +46 (0)760480046

CRM Authentication

One good way of Authenticating against CRM Webservice is not tell CRM which internally defined system user account you wish to authenticate against. I found this good article from Microsoft about how to lookup the system user account based on the GUID that it receives in CRM after you have told CRM that you wish [...]

WebService Behaviour

WebService Behaviour enables you to interact with a webservice from within Internet Explorer. Instead of making a fancy example I like to forward a link to a working MS Example.
http://msdn.microsoft.com/en-us/library/ms531033(VS.85).aspx
Don’t forget that the webservice.htc file needs to be downloaded aswell.

Customize web service proxy generated objects

Let’s say we create a web service method that returns a custom class that you are using throughout the webservice and you also consume the class of the same type in your application/web application.
What you will find is that when a web service proxy is generated the class is substituted with a newly created class [...]

CRM Web reference vs CRM SDK

While working in a project where we integrate with CRM, I noticed how important it is not to mix the ways you can integrate with.
Either you create a reference to the CRM Web service in your Visual Studio project and the proxy classes are generated.
Or you can reference microsoft.crm.sdk.dll and microsoft.crm.sdktypeproxy.dll that exists in the CRM [...]