Jaa


WCF Data Services for Silverlight 4 now available for download

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

Comments

  • Anonymous
    April 20, 2010
    If you are using the SL3 CTP3 release, the client library in SL4 represents the production release of that feature set.Will there be a production release that is compatible with Silverlight 3?  We currently use CTP3 with Silverlight 3 for Moonlight compatibility.
  • Anonymous
    April 21, 2010
    no, we wont have a production release on SL3, with SL4 now released we've taken a few dependencies on upgrades provided by that platform.
  • Anonymous
    April 21, 2010
    Is this version implicitly included as part of the SL4 binaries released last week? I didn't see any independent download link for this.
  • Anonymous
    April 21, 2010
    @Tony -- yes, this is just in reference to the library that is included as part of the SL4 SDK :)