Wednesday, April 10, 2013

Presentation Deck and Demo Code for XrmVirtual Presentation

Thanks to all who have participated in the XrmVirtual session yesterday.

The following is the presentation deck that I used yesterday.

The demo code is also available for download at the following URL.

There are three solutions in the zip file, which are:
  • CrmWebServiceIntegration, this solution contains two projects which show you how to load data from an .csv file to CRM using early bound and late bound programming style. 
  • AzureServiceBus, this solution demonstrates the capability that you can use CRM Azure Service Bus in CRM plugin. In order for the solution to work, you need to first configure a service endpoint using CRM plugin registration tool, that you can use in the plugin code. 
  • OnPremiseServiceBus, this solution hows to send message to Service Bus for Windows Service (on-premise installation) from CRM plugin. 
In order to run the sample solutions, you need to update the configurations in the code. Those changes can be found from the project if you search "TODO" keyword. I have used hard-coded configuration for simplicity reason. 

I used CRM developer toolkit for the two plugin projects. In case you have trouble opening the AzureServiceBus project, it is probably because you don't have CRM developer toolkit installed. And also, I was using Visual Studio 2010 instead of VS2012. If you are using VS2012, you might have trouble to deploy the plugin from Visual Studio environment.

Please note that the sample code is for demonstration purpose, and it is NOT production quality code. 

The presentation's video recording is also available for download on XrmVirtual site if you are interested in the topics. Watching the video, you would have to bear with my accent, and my poor presentation skills.


  1. Hi Daniel,

    I have admired your various solutions. Most importantly FilteredAdd Exisitng... blog.
    Recently I came across a problem in CRM 2011 R11. I have posted my query at the below link. Appreciate your help on that.

    1. @Amit, reading the information you provided in the forum post, I believe it is a bug, in which case you would want to contact Microsoft support for a solution.

  2. Hi Daniel ,

    Nice Presentation ,Thanks for sharing.

    Dynamics CRM Developers

  3. Hi Daniel,
    where could I get the demo code from, from I site I could see the URL,
    could you advice,

    1. @Jian, apologize for the missing download link. I have just added the download link to the post.


  4. Hello Daniel,

    THis was an excellent presentation deck. I would like to share it with a few of my colleagues. Unfortunately our corporate policy block sites like Slideshare. Is there a location I can download the slides.

    1. Hi George,

      Here is another link of the deck file:

      Also, I have an updated version of the same presentation, which is available at

      If you have trouble downloading the files, please drop me a note at daniel.cai at kingswaysoft dot com.