<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Business Apps Example for Silverlight 3 RTM and .NET RIA Services July Update: Part 5: Astoria, Add Service Reference and WinForms</title><link>http://blogs.msdn.com/b/brada/archive/2009/07/15/business-apps-example-for-silverlight-3-rtm-and-net-ria-services-july-update-part-5-astoria-add-reference-and-winforms.aspx</link><description>Even more update on my Mix09 talk “building business applications with Silverlight 3 ”. Now for some brand new content – that just could not have been done before this release. 
 This demo will take the Application logic we created in my Mix09 talk and</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Business Apps Example for Silverlight 3 RTM and .NET RIA Services July Update: Part 5: Astoria, Add Service Reference and WinForms</title><link>http://blogs.msdn.com/b/brada/archive/2009/07/15/business-apps-example-for-silverlight-3-rtm-and-net-ria-services-july-update-part-5-astoria-add-reference-and-winforms.aspx#9898524</link><pubDate>Wed, 23 Sep 2009 19:38:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9898524</guid><dc:creator>Craig Eddy</dc:creator><description>&lt;p&gt;I'm having a problem implementing this. I have a working &lt;/p&gt;
&lt;p&gt;DesignDataService : LinqToEntitiesDomainService&amp;lt;DesignRepositoryEntities&amp;gt; &lt;/p&gt;
&lt;p&gt;that I can hit from my Silverlight application. &lt;/p&gt;
&lt;p&gt;I'm attempting to add a Domain ADO.NET Data Service class: &lt;/p&gt;
&lt;p&gt;WebDataService1: DataService&amp;lt;DesignDataService&amp;gt;, IServiceProvider&lt;/p&gt;
&lt;p&gt;However, inside the call to GetService() when the serviceType parameter is of type {System.Data.Services.Providers.IDataServiceProvider}, I get a MissingManifestResourceException at the call to this.provider.GetService(serviceType):&lt;/p&gt;
&lt;p&gt;Could not find any resources appropriate for the specified culture or the neutral culture. &amp;nbsp;Make sure \&amp;quot;System.Data.Services.Providers.DomainService.resources\&amp;quot; was correctly embedded or linked into assembly \&amp;quot;System.Data.Services.Providers.DomainService\&amp;quot; at compile time, or that all the satellite assemblies required are loadable and fully signed.&lt;/p&gt;
&lt;p&gt;Any clues? All of my RIA assembly references are marked with &amp;quot;copy local&amp;quot;. My web app's &amp;quot;bin&amp;quot; folder does not have any language specific subfolders.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9898524" width="1" height="1"&gt;</description></item><item><title>re: Business Apps Example for Silverlight 3 RTM and .NET RIA Services July Update: Part 5: Astoria, Add Service Reference and WinForms</title><link>http://blogs.msdn.com/b/brada/archive/2009/07/15/business-apps-example-for-silverlight-3-rtm-and-net-ria-services-july-update-part-5-astoria-add-reference-and-winforms.aspx#9889363</link><pubDate>Mon, 31 Aug 2009 17:20:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9889363</guid><dc:creator>steve</dc:creator><description>&lt;p&gt;Just noticed a gotcha when trying to put together this project myself. &amp;nbsp;Be sure to include the correct version of the System.Data.Services dll from the path &amp;quot;C:\Program Files\Microsoft SDKs\RIA Services\v1.0\Libraries\Server\System.Data.Services.dll&amp;quot;. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;You need to use the RIA Services version of the DLL or your call to your domain service will return no entities :&lt;/p&gt;
&lt;p&gt;&amp;lt;service xml:base=&amp;quot;&lt;a rel="nofollow" target="_new" href="http://localhost:56354/MyRest.svc/&amp;quot;&amp;gt;"&gt;http://localhost:56354/MyRest.svc/&amp;quot;&amp;gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;workspace&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;atom:title&amp;gt;Default&amp;lt;/atom:title&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/workspace&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/service&amp;gt;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9889363" width="1" height="1"&gt;</description></item><item><title>re: Business Apps Example for Silverlight 3 RTM and .NET RIA Services July Update: Part 5: Astoria, Add Service Reference and WinForms</title><link>http://blogs.msdn.com/b/brada/archive/2009/07/15/business-apps-example-for-silverlight-3-rtm-and-net-ria-services-july-update-part-5-astoria-add-reference-and-winforms.aspx#9883752</link><pubDate>Tue, 25 Aug 2009 17:52:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9883752</guid><dc:creator>Shannon</dc:creator><description>&lt;p&gt;Once we have our data showing in the Domain ADO.Net Data service (in the view browser), how do we hook this up to RIA. &amp;nbsp;I tried adding a Domain Service Class and the Available DataContexts/ObjectContexts only has the empty domain service class to select from. &amp;nbsp;The Domain ADO Data service does not show up.. I might be missing something but i figured it would show up here.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9883752" width="1" height="1"&gt;</description></item><item><title>re: Business Apps Example for Silverlight 3 RTM and .NET RIA Services July Update: Part 5: Astoria, Add Service Reference and WinForms</title><link>http://blogs.msdn.com/b/brada/archive/2009/07/15/business-apps-example-for-silverlight-3-rtm-and-net-ria-services-july-update-part-5-astoria-add-reference-and-winforms.aspx#9855787</link><pubDate>Mon, 03 Aug 2009 01:56:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9855787</guid><dc:creator>BradA</dc:creator><description>&lt;p&gt;GusG - I think you need to edit the service to say what entities to expose... You can use &amp;quot;*&amp;quot; for all if you'd like.. &amp;nbsp;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9855787" width="1" height="1"&gt;</description></item><item><title>re: Business Apps Example for Silverlight 3 RTM and .NET RIA Services July Update: Part 5: Astoria, Add Service Reference and WinForms</title><link>http://blogs.msdn.com/b/brada/archive/2009/07/15/business-apps-example-for-silverlight-3-rtm-and-net-ria-services-july-update-part-5-astoria-add-reference-and-winforms.aspx#9855308</link><pubDate>Sat, 01 Aug 2009 21:40:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9855308</guid><dc:creator>GusG</dc:creator><description>&lt;p&gt;Brad,&lt;/p&gt;
&lt;p&gt;Why is that when I created a plain Web App using ADO.Net Data Services template and a Domain Service as data source for the Data Service it does not expose any data?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9855308" width="1" height="1"&gt;</description></item><item><title>re: Business Apps Example for Silverlight 3 RTM and .NET RIA Services July Update: Part 5: Astoria, Add Service Reference and WinForms</title><link>http://blogs.msdn.com/b/brada/archive/2009/07/15/business-apps-example-for-silverlight-3-rtm-and-net-ria-services-july-update-part-5-astoria-add-reference-and-winforms.aspx#9845025</link><pubDate>Wed, 22 Jul 2009 20:08:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9845025</guid><dc:creator>ogreboy</dc:creator><description>&lt;p&gt;thanks for your interest.&lt;/p&gt;
&lt;p&gt;since I really only have much of a shell I am going to start over and regenerate everything again, &lt;/p&gt;
&lt;p&gt;Mabey I did something &amp;nbsp;i shouldn't have. &lt;/p&gt;
&lt;p&gt;When I get there I will try to insert the WebDataService and see what happens.&lt;/p&gt;
&lt;p&gt;If my problem continues I will let you know.&lt;/p&gt;
&lt;p&gt;thanks again&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9845025" width="1" height="1"&gt;</description></item><item><title>re: Business Apps Example for Silverlight 3 RTM and .NET RIA Services July Update: Part 5: Astoria, Add Service Reference and WinForms</title><link>http://blogs.msdn.com/b/brada/archive/2009/07/15/business-apps-example-for-silverlight-3-rtm-and-net-ria-services-july-update-part-5-astoria-add-reference-and-winforms.aspx#9844280</link><pubDate>Wed, 22 Jul 2009 06:15:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9844280</guid><dc:creator>BradA</dc:creator><description>&lt;p&gt;ogreboy - &amp;nbsp;that is odd...do you want to send me the project and I can debug? &amp;nbsp;bradA@microsoft.com&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9844280" width="1" height="1"&gt;</description></item><item><title>re: Business Apps Example for Silverlight 3 RTM and .NET RIA Services July Update: Part 5: Astoria, Add Service Reference and WinForms</title><link>http://blogs.msdn.com/b/brada/archive/2009/07/15/business-apps-example-for-silverlight-3-rtm-and-net-ria-services-july-update-part-5-astoria-add-reference-and-winforms.aspx#9844051</link><pubDate>Wed, 22 Jul 2009 02:22:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9844051</guid><dc:creator>ogreboy</dc:creator><description>&lt;p&gt;Sorry, one more thing. &lt;/p&gt;
&lt;p&gt;The Silverlight Application, what liittle i have done, &amp;nbsp;is able to connect to the data.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9844051" width="1" height="1"&gt;</description></item><item><title>re: Business Apps Example for Silverlight 3 RTM and .NET RIA Services July Update: Part 5: Astoria, Add Service Reference and WinForms</title><link>http://blogs.msdn.com/b/brada/archive/2009/07/15/business-apps-example-for-silverlight-3-rtm-and-net-ria-services-july-update-part-5-astoria-add-reference-and-winforms.aspx#9844046</link><pubDate>Wed, 22 Jul 2009 02:14:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9844046</guid><dc:creator>ogreboy</dc:creator><description>&lt;p&gt;There are 16 Entities in the model. &lt;/p&gt;
&lt;p&gt;The KerdaService was generated with all 16 Entities.&lt;/p&gt;
&lt;p&gt;Each Entity has the standard Get,Insert,Update, Delete in the Service:&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;public IQueryable&amp;lt;Vendor&amp;gt; GetVendor()&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return this.Context.Vendor&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;.Include(&amp;quot;CountryISO3166_1&amp;quot;)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;public void InsertVendor(Vendor vendor) &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.Context.AddToVendor(vendor);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;public void UpdateVendor(Vendor currentVendor) &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.Context.AttachAsModified(currentVendor, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;this.ChangeSet.GetOriginal(currentVendor));&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;public void DeleteVendor(Vendor vendor) {&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if ((vendor.EntityState == EntityState.Detached)) {&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;this.Context.Attach(vendor);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.Context.DeleteObject(vendor);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt;I have done as little as possible to get this to work. All the code is pretty much the same as when RIA generated it. I have generated the Metadata as well and attached Annotations, Include, Required and so on.&lt;/p&gt;
&lt;p&gt;Do I need to annotate the methods in the service ?&lt;/p&gt;
&lt;p&gt;Your example has no annotations in the service though, so I'm just lost.&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9844046" width="1" height="1"&gt;</description></item><item><title>re: Business Apps Example for Silverlight 3 RTM and .NET RIA Services July Update: Part 5: Astoria, Add Service Reference and WinForms</title><link>http://blogs.msdn.com/b/brada/archive/2009/07/15/business-apps-example-for-silverlight-3-rtm-and-net-ria-services-july-update-part-5-astoria-add-reference-and-winforms.aspx#9843949</link><pubDate>Wed, 22 Jul 2009 00:38:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9843949</guid><dc:creator>BradA</dc:creator><description>&lt;p&gt;What does your KerdaService look like? &amp;nbsp;Did you add a query method? &amp;nbsp;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9843949" width="1" height="1"&gt;</description></item></channel></rss>