WCF Data Services 5.1.0-rc Prerelease


Less than two weeks ago, we released WCF Data Services 5.0.0. Today, we are releasing 5.1.0-rc as a NuGet prerelease.

What is in the prerelease

This prerelease contains several bug fixes:

Getting the prerelease

The prerelease is only available on NuGet and must be installed using the prerelease cmdlet. Prereleases are not displayed in the Manage NuGet Packages dialog. To install this prerelease NuGet package, you can use one of the following commands in the Package Manager Console:

  • Install-Package <PackageId> –Pre
  • Update-Package <PackageId> –Pre

Our NuGet package ids are:

Call to action

If you have experienced one of the bugs mentioned above, we encourage you to try out the prerelease bits in a preproduction environment. As always, we’d love to hear any feedback you have!

Comments (5)

  1. Rich says:

    when will the t4 template work? I want control over my client side classes

  2. RafaH says:

    I have problems with $format too. Pre-release will fix this issue.?

  3. @Rich / @ElPluto – the prerelease only fixes the bugs noted above. Updated T4 template is coming soon.

  4. Rod says:

    I am getting this error on Chrome v19.

    I am doing a batch request to the WCF Data Service 5.1 rc

    <?xml version="1.0" encoding="iso-8859-1" standalone="yes"?>

    <error xmlns="schemas.microsoft.com/…/metadata">

     <code></code>

     <message xml:lang="en-US">An error occurred while processing this request.</message>

     <innererror>

       <message>A supported MIME type could not be found that matches the content type of the response. None of the supported type(s) 'multipart/mixed' matches the content type 'application/xml'.</message>

       <type>Microsoft.Data.OData.ODataContentTypeException</type>

       <stacktrace>

         at Microsoft.Data.OData.MediaTypeUtils.GetFormatFromContentType(String contentTypeName, ODataPayloadKind[] supportedPayloadKinds, MediaTypeResolver mediaTypeResolver, MediaType& mediaType, Encoding& encoding, ODataPayloadKind& selectedPayloadKind)&#xD;

         at Microsoft.Data.OData.MediaTypeUtils.GetFormatFromContentType(String contentTypeHeader, ODataPayloadKind[] supportedPayloadKinds, MediaTypeResolver mediaTypeResolver, MediaType& mediaType, Encoding& encoding, ODataPayloadKind& selectedPayloadKind, String& batchBoundary)&#xD;

         at Microsoft.Data.OData.ODataMessageReader.ProcessContentType(ODataPayloadKind[] payloadKinds)&#xD;

         at Microsoft.Data.OData.ODataMessageReader.ReadFromInput[T](Func`2 readFunc, ODataPayloadKind[] payloadKinds)&#xD;

         at Microsoft.Data.OData.ODataMessageReader.CreateODataBatchReader()&#xD;

         at System.Data.Services.DataService`1.HandleBatchRequest()

       </stacktrace>

     </innererror>

    </error>

  5. @Rod – thanks for trying the RC! Could you open an issue on the forum so we can have more of a discussion? (social.msdn.microsoft.com/…/threads) Also, would be very helpful to have a trace of the problem from Fiddler.