Using WCF RIA Services in Windows Phone 7


Unfortunately, there is no “Rich Client Experience” built-in support for Windows Phone 7 in RIA Services V1.0

With that said, you can still enable a Windows Phone 7 application to communicate with a DomainService since Windows Phone 7 has support on talking to WCF Service and here is how…

A. Let get all the tools:

  1. Install the latest Silverlight Tools from here (contains RIAServices, SL4 Sdk, SL4 Runtime etc)
  2. Install the RIA Services March 2009 Toolkit from here
  3. Install the Mobile Tools CTP from here

B. Create a new DomainService on server-side

C. Expose WCF endpoints: http://blogs.msdn.com/brada/archive/2010/03/29/silverlight-4-ria-services-ready-for-business-exposing-wcf-wsdl-services.aspx

D. Consume the WCF endpoints. http://blogs.msdn.com/deepm/archive/2010/03/17/configuring-your-domainservice-for-a-windows-phone-application.aspx . An example explains how you can do CRUD operation with the SOAP endpoint of a DomainService. You can find it here.

 

Advertisements

One thought on “Using WCF RIA Services in Windows Phone 7

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