{"id":1363,"date":"2010-04-20T13:55:00","date_gmt":"2010-04-20T13:55:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/odatateam\/2010\/04\/20\/wcf-data-services-for-silverlight-4-now-available-for-download\/"},"modified":"2010-04-20T13:55:00","modified_gmt":"2010-04-20T13:55:00","slug":"wcf-data-services-for-silverlight-4-now-available-for-download","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/odata\/wcf-data-services-for-silverlight-4-now-available-for-download\/","title":{"rendered":"WCF Data Services for Silverlight 4 now available for download"},"content":{"rendered":"<p><P>A couple of months ago, we released an update to <A href=\"https:\/\/www.microsoft.com\/downloads\/details.aspx?familyid=79d7f6f8-d6e9-4b8c-8640-17f89452148e&amp;displaylang=en\">.NET 3.5 SP1<\/A> and its counterpart <A href=\"https:\/\/www.microsoft.com\/downloads\/details.aspx?FamilyID=a3de8c35-8974-4c51-858c-c5a4544c2fed&amp;displaylang=en\">ADO.NET Data Services for Silverlight 3 Update CTP3<\/A>. I am now pleased to announce that we have shipped an updated Data Services client library with <A href=\"http:\/\/www.silverlight.net\/getstarted\/silverlight-4\/\">Silverlight 4<\/A>. This release includes all the features that we shipped in the SL3 CTP3 Data Service release as well as support for NTLM, Basic and Digest authentication. If you are using the SL3 CTP3 release, the client library in SL4 represents the production release of that feature set. For more information regarding previously released features, check out our blog post <A href=\"http:\/\/blogs.msdn.com\/astoriateam\/archive\/2010\/01\/27\/data-services-update-for-net-3-5-sp1-available-for-download.aspx\">here<\/A>.<\/P>\n<P>The enhanced authentication support is useful in same domain and cross domain scenarios.&nbsp; To use the feature, simply specify your credentials using the new Credentials property on the DataServiceContext class. For example: <\/P>\n<BLOCKQUOTE>\n<P><FONT face=\"Consolas\">Uri uri = new Uri(<\/FONT><A href=\"http:\/\/www.somesampleuri.com\/\"><FONT color=\"#777777\" face=\"Consolas\">www.somesampleuri.com<\/FONT><\/A><FONT face=\"Consolas\">);<\/FONT> \n<P><FONT face=\"Consolas\">DataServiceContext svc = new DataServiceContext(uri);<\/FONT> \n<P><FONT face=\"Consolas\">svc.Credentials = new NetworkCredentials(username, password, domain);<\/FONT> \n<P><FONT face=\"Consolas\">svc.HttpStack = HttpStack.Auto;&nbsp;&nbsp; \/\/ setting this to HttpStack.ClientHttp is also supported<\/FONT> \n<P><FONT face=\"Consolas\">svc.LoadAsync(&#8230;.);<\/FONT><\/P><\/BLOCKQUOTE>\n<P>More information can be found in our <A href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/cc838234(v=VS.95).aspx\">MSDN documentation<\/A>.<\/P>\n<P><STRONG>Julian Lai <\/STRONG><B><BR><\/B>Program Manager, Data Services<\/P><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A couple of months ago, we released an update to .NET 3.5 SP1 and its counterpart ADO.NET Data Services for Silverlight 3 Update CTP3. I am now pleased to announce that we have shipped an updated Data Services client library with Silverlight 4. This release includes all the features that we shipped in the SL3 [&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-1363","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-odata"],"acf":[],"blog_post_summary":"<p>A couple of months ago, we released an update to .NET 3.5 SP1 and its counterpart ADO.NET Data Services for Silverlight 3 Update CTP3. I am now pleased to announce that we have shipped an updated Data Services client library with Silverlight 4. This release includes all the features that we shipped in the SL3 [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/odata\/wp-json\/wp\/v2\/posts\/1363","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=1363"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/odata\/wp-json\/wp\/v2\/posts\/1363\/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=1363"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/odata\/wp-json\/wp\/v2\/categories?post=1363"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/odata\/wp-json\/wp\/v2\/tags?post=1363"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}