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.
This prerelease contains several bug fixes:
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:
Our NuGet package ids are:
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!
when will the t4 template work? I want control over my client side classes
I have problems with $format too. Pre-release will fix this issue.?
@Rich / @ElPluto - the prerelease only fixes the bugs noted above. Updated T4 template is coming soon.
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)
at Microsoft.Data.OData.MediaTypeUtils.GetFormatFromContentType(String contentTypeHeader, ODataPayloadKind[] supportedPayloadKinds, MediaTypeResolver mediaTypeResolver, MediaType& mediaType, Encoding& encoding, ODataPayloadKind& selectedPayloadKind, String& batchBoundary)
at Microsoft.Data.OData.ODataMessageReader.ProcessContentType(ODataPayloadKind[] payloadKinds)
at Microsoft.Data.OData.ODataMessageReader.ReadFromInput[T](Func`2 readFunc, ODataPayloadKind[] payloadKinds)
at Microsoft.Data.OData.ODataMessageReader.CreateODataBatchReader()
at System.Data.Services.DataService`1.HandleBatchRequest()
</stacktrace>
</innererror>
</error>
@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.