共用方式為


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

  • Anonymous
    April 21, 2012
    when will the t4 template work? I want control over my client side classes

  • Anonymous
    April 21, 2012
    I have problems with $format too. Pre-release will fix this issue.?

  • Anonymous
    April 23, 2012
    @Rich / @ElPluto - the prerelease only fixes the bugs noted above. Updated T4 template is coming soon.

  • Anonymous
    April 27, 2012
    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](Func2 readFunc, ODataPayloadKind[] payloadKinds)&amp;#xD; &nbsp; &nbsp; &nbsp;at Microsoft.Data.OData.ODataMessageReader.CreateODataBatchReader()&amp;#xD; &nbsp; &nbsp; &nbsp;at System.Data.Services.DataService1.HandleBatchRequest()    </stacktrace>  </innererror> </error>

  • Anonymous
    April 27, 2012
    @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.