Webcast: Integration of Silverlight applications in Dynamics CRM 2011

Related to my webcast (Spanish), I would like to share the resources (slides and code) I used for the demo. Download the resources and you will find:

  • Slides (PPTX)
  • CRM Solution
  • VS2011 Solution with Dashboard and Form integration demo

Basically, demo shows a dashboard and form integration using the two communication models between Silverlight and CRM:

  • JavaScript bridge:
    • System.Windows.Browser.HtmlPage
    • System.Windows.Browser.ScriptObject
    • Xrm.Page
  • CRM WCF Services:
    • REST endpoint (used in demo)
    • SOAP endpoint

To try the demo, assuming you have a CRM 2011 deployment, you will need to follow the next steps:

1) Import the CRM solution into your organisation

2) Create an additional website for the picture service. As you can see in CRMForm.Web project, there is a web handler (Receiver.ashx) that will be in charge of upload the pictures. Below, you can see that web site next to the CRM one. From VS you can publish the website directly over there.



3) Fix the Picture service url in the CRM resource properties. For the dashboard application:




And for the Cheese entity form:



4) Try it!

If you get errors and you don’t know where they are coming from , probably you will need to debug the Silverlight application integrated in CRM. Only you will need to attach VS debugger to the Internet Explorer process and refresh the page:



I hope you like it and let me know if you have any problem.

About Ramon Tebar

Software Engineer specialised on Microsoft Technologies with experience in large projects for different industrial sectors as developer, consultant and architect. I enjoy designing and developing software applications, it is my job and one of my hobbies. I’m interested in design patterns, new technologies and best practices. Making those part of the ALM process is a great challenge. During the last years, I have specialised in Microsoft Dynamics CRM (now Dynamics 365). I customise and extend the platform to provide tailored solutions and integrations based on service-oriented architectures and messages queuing. Motivated by community events and contributor in blogs, technical books, open source projects and forums, I have been awarded Microsoft Most Valuable Professional (MVP) on Dynamics 365 (CRM) since 2012.

Posted on March 27, 2011, in CRM, Silverlight and tagged . Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: