{"id":1093,"date":"2010-10-28T10:36:20","date_gmt":"2010-10-28T10:36:20","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/odatateam\/2010\/10\/28\/data-services-client-for-win-phone-7-now-available\/"},"modified":"2010-10-28T10:36:20","modified_gmt":"2010-10-28T10:36:20","slug":"data-services-client-for-win-phone-7-now-available","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/odata\/data-services-client-for-win-phone-7-now-available\/","title":{"rendered":"Data Services Client for Win Phone 7 Now Available!"},"content":{"rendered":"<p>&#160;<\/p>\n<p>Today, at the <a href=\"https:\/\/www.microsoftpdc.com\/\">PDC<\/a>, we announced that a production-ready version of the WCF Data Services client for Windows Phone 7 is available for download from <a href=\"http:\/\/odata.codeplex.com\">http:\/\/odata.codeplex.com<\/a>.&#160; This means that it is now simple to create an app that connects your Windows Phone 7 to all the existing OData services as well as the new ones we\u2019re announcing at this PDC. <\/p>\n<p>The release includes a version of System.Data.Services.Client.dll that is supported on the phone (both the assembly and the source code) and a code generator tool to generate phone-friendly client side proxies<\/p>\n<p>The library follows most of the same patterns you are already used to when programming with OData services on the desktop version of Silverlight.&#160; The key changes from Silverlight desktop to be aware of are:<\/p>\n<ul>\n<li>LINQ support in the client library has been removed as the core support is not yet available on the phone platform.&#160; That said, we are actively working to enable this in a future release.&#160; Given this, the way to formulate queries is via URIs. <\/li>\n<li>We\u2019ve added a LoadAsync(Uri) method to the DataServiceCollection class to make it simple to query services via URI. <\/li>\n<li>So you can easily support the <a href=\"http:\/\/windowsteamblog.com\/windows_phone\/b\/wpdev\/archive\/2010\/07\/16\/understanding-the-windows-phone-application-execution-model-tombstoning-launcher-and-choosers-and-few-more-things-that-are-on-the-way-part-2.aspx\">phone application model<\/a> we\u2019ve added a new standalone type \u2018DataServiceState\u2019 which makes it simple to tombstone DataServiceContext and DataServiceCollection instances <\/li>\n<\/ul>\n<p>&#160;<\/p>\n<p>Mike Flasko<\/p>\n<p>Lead Program Manager, Microsoft<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#160; Today, at the PDC, we announced that a production-ready version of the WCF Data Services client for Windows Phone 7 is available for download from http:\/\/odata.codeplex.com.&#160; This means that it is now simple to create an app that connects your Windows Phone 7 to all the existing OData services as well as the new [&hellip;]<\/p>\n","protected":false},"author":512,"featured_media":3253,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1093","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-odata"],"acf":[],"blog_post_summary":"<p>&#160; Today, at the PDC, we announced that a production-ready version of the WCF Data Services client for Windows Phone 7 is available for download from http:\/\/odata.codeplex.com.&#160; This means that it is now simple to create an app that connects your Windows Phone 7 to all the existing OData services as well as the new [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/odata\/wp-json\/wp\/v2\/posts\/1093","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/odata\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/odata\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/odata\/wp-json\/wp\/v2\/users\/512"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/odata\/wp-json\/wp\/v2\/comments?post=1093"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/odata\/wp-json\/wp\/v2\/posts\/1093\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/odata\/wp-json\/wp\/v2\/media\/3253"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/odata\/wp-json\/wp\/v2\/media?parent=1093"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/odata\/wp-json\/wp\/v2\/categories?post=1093"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/odata\/wp-json\/wp\/v2\/tags?post=1093"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}