C# / C++ .NET Software Development
Skip Navigation Links
Home
About
Articles
Services
Silverlight
Contact

Data Service to Silverlight Test

I'm using this part of my website to experiment with ASP.NET 3.5 Data Services connected to a Silverlight client.  The problem I found with much of the 'quick start' documentation is they don't tell you what to do when things go wrong.  And something inevitably goes wrong.

So as I put together this simple test, I wrote down all the error messages I got along the way, what they meant, and how I fixed them.  Though the app is deadly simple, all the plumbing is there for real work.  It reads a database, funnels it through a WCF data service, and picks up the data from the service to display in Silverlight.  With that in place, I can move forward working primarily within Silverlight, reading and writing data, and not have to worry any more about all the connections. 

Getting it all working, especially on an inexpensive shared host, comes with a few gotchas, though I do recommend Infosaic, the host I use, they were exceptionally helpful.

Anyway, here's a guide to overcoming problems on the way from a Data Service to Silverlight.

       Link to Service invokes an ASP.NET Data Service, which returns an XML listing of the tables it can access.

       Link to Client invokes the Silverlight client, which displays a listbox and populates it with the data from the MUser table, retrieved via the Data Service.

       The Test Remote button is a simple test that verifies I have a working connection to the database. 

              


Copyright 1996-2009         On Target Software           All Rights Reserved
56 Bartlett's Island Way
Marshfield, MA 02050-6002
(781) 834-8786

Send me a message