Silverlight and RIA Services - The Data sources window does not show anything

So following some of the examples out there I created a new Silverlight Navigation application with RIA services enabled. Built the entity model, added a domain service and tested whether or not I could get some data to the client. This works fine.

But many of the examples show off how they use the Data Sources window to simply drag data fields onto a window... in my case however there are no data sources in the data sources window.

In the demo's and mix sessions this just appears out of the blue :p Anyway how can I get my DomainService defined in the web project to show up as one of the data sources in the data sources window?

Answers


Are you using the new Release Candidate of VS2010 and Silverlight?

Also, the data sources view will only work when you are on a XAML page in the main editor window.


This was a known bug in the previous versions with the following workaround:

http://blogs.msdn.com/vsdata/archive/2010/04/13/workaround-to-data-source-window-not-populating-ria-services-domain-context-objects.aspx

Basically this happened when you installed VS2010 on any drive other than c:\

The issue has been resolved in Ria Services 1.0 :-)


Need Your Help

How do you find out when you've been loaded via XML Serialization?

c# .net serialization xml-serialization

I'm trying to load a tree of objects via XML serialisation, and at the moment it will load the objects in, and create the tree quite happily. My issue revolves around the fact that these classes su...