Silverlight Feeds - All your Silverlight feeds in one place.

Sponsors

Tuesday, October 14, 2008

Silverlight and ADO.NET Dataservices RTW changes

by preishuber via Hannes Preishuber on 10/14/2008 9:13:38 PM

Till the days of Silverlight RC0 (so yesterday ;-)) we had to generate the proxy class for ado.net dataservice service by hand like:

dataSvcUtil.exe /out:dsProxy.vb /language:VB /uri:http://localhost:64184/eventsDataService1.svc/

Surprisingly the final RTW of silverlight tools for visual studio have the feature to create the proxy by wizard. Everything you have to do, is to select from menu “add service reference” and to press discover button

image

You get in your project a little bit more then before. The logic is in reference.vb and looks exactly the same as with command line tool.

image

A instance of the entity is then created with code like that

 Dim srv As New ServiceReference1.eventsEntities

The edmx from the silverlight project is in my case not editable with designer. In the source model, which exists in the website, it works fine.

email it!bookmark it!digg it!

Original Post: Silverlight and ADO.NET Dataservices RTW changes

Subscribe

New Feed

Product Spotlight

Recently Updated Sources

Legal Note

The content of the postings is owned by the respective author. Silverlight Feeds is not responsible for the contents of the postings. This site is automatically generated and cannot be reviewed for abusive content. If you find abusive content on Silverlight Feeds, please contact us. Designated trademarks and brands are the property of their respective owners. All rights reserved.

Advertise with us