Home > CRM, Javista, Microsoft, Microsoft Dynamics, Microsoft Dynamics CRM Online > Microsoft Dynamics CRM and Silverlight 2 direct calls sample

Microsoft Dynamics CRM and Silverlight 2 direct calls sample

HLG 

There are multiple ways that you can call the CRM Services from Silverlight 2.  I’ve seen people using POX (Plain Old XML) and hand crafting SOAP packets, for XRMexample David Yack has a nice set of helper classes that he uses in his book; I’ve also seen (and created) examples that use a WCF intermediary proxy; at the end of the day, it all comes down to HTTP calls so you can go at a very low level and still achieve your results.

While those techniques have their benefits (e.g. smaller download sizes, aggregation of web services, tunneling, etc.) one of the most compelling method for calling web services from a development perspective is to use the proxies that tools such as VS generate when you add a “Service Reference”.   To wire up Silverlight 2 and the CRM services via the “Add Service Reference” there are a couple of details that you have to take into account and I have detailed those in this post along with sample code.  

Happy coding,

Humberto Lezama Guadarrama

Advertisements
  1. No comments yet.
  1. No trackbacks yet.

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s

%d bloggers like this: