WCF Data Services for Silverlight 4 now available for download

DB Blogs

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 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 here.

The enhanced authentication support is useful in same domain and cross domain scenarios.  To use the feature, simply specify your credentials using the new Credentials property on the DataServiceContext class. For example:

Uri uri = new Uri(www.somesampleuri.com);

DataServiceContext svc = new DataServiceContext(uri);

svc.Credentials = new NetworkCredentials(username, password, domain);

svc.HttpStack = HttpStack.Auto;   // setting this to HttpStack.ClientHttp is also supported

svc.LoadAsync(….);

More information can be found in our MSDN documentation.

Julian Lai
Program Manager, Data Services

0 comments

Discussion is closed.

Feedback usabilla icon