This installer will modify code gen so that JSON support is now available for these platforms: .NET 4.0, Silverlight 5, Windows Store apps, and Windows Phone 8. Note that if you require tombstoning for Windows Phone you will need to keep using the Windows Phone specific tooling.
Visual Studio 2013 Support
The WCF DS 5.6.0 tooling installer has support for Visual Studio 2013. If you are using Visual Studio 2013 and would like to consume OData services, you can use this tooling installer to get Add Service Reference support for OData. Should you need to use one of our prior runtimes, you can still do so using the normal NuGet package management commands (you will need to uninstall the installed WCF DS NuGet packages and install the older WCF DS NuGet packages).
All of our client-side libraries now have portable library support. This means that you can now use the new JSON format in Windows Phone and Windows Store apps. The core libraries have portable library support for .NET 4.0, Silverlight 5, Windows Phone 8 and Windows Store apps. The WCF DS client has portable library support for .NET 4.5, Silverlight 5, Windows Phone 8 and Windows Store apps. Please note that this version of the client does not have tombstoning, so if you need that feature for Windows Phone apps you will need to continue using the Windows Phone-specific tooling.
URI Parser Integration
The URI parser is now integrated into the WCF Data Services server bits, which means that the URI parser is capable of parsing any URL supported in WCF DS. We have also added support for parsing functions in the URI Parser.
Public Transport Layer
In the 5.4.0 release we added the concept of a request and response pipeline to WCF Data Service Client. In this release we have made it possible for developers to directly handle the request and response streams themselves. This was built on top of ODataLib's IODataRequestMessage and IODataResponseMessage framework that specifies how requests and responses are sent and recieved. With this addition developers are able to tweak the request and response streams or even completely replace the HTTP layer if they so desire. We are working on a blog post and sample documenting how to use this functionality.
In this release we took a couple of breaking changes. As these bugs are tremendously unlikely to affect anyone, we opted not to increment the major version number but we wanted everyone to be aware of what they were:
- Developers using the reading/writing pipeline must write to Entry rather than Entity on the WritingEntryArgs
- Developers should no longer expect to be able to modify the navigation property source in OnNavigationLinkStarting and OnNavigationLinkEnding
- Developers making use of the DisablePrimitiveTypeConversion knob may see a minor change in their JSON payloads; the knob previously only worked for the ATOM format
- Fixes a performance issue with models that have lots of navigation properties
- Fixes a performance issue with the new JSON format when creating or deleting items
- Fixes a bug where DisablePrimitiveTypeConversion would cause property type annotations to be ignored in the new JSON format
- Fixes a bug where LoadProperty does not remove elements from a collection after deleting a link
- Fixes an issue where the URI Parser would not properly bind an action to a collection of entities
- Improves some error messages
The NuGet runtime in Visual Studio needs to be 2.0+ for Add Service Reference to work properly. If you are having issues with Add Service Reference in Visual Studio 2012, please ensure that NuGet is up-to-date.
Supported Operating System
Windows 7, Windows 7 Service Pack 1, Windows 8, Windows Server 2003, Windows Server 2008 R2, Windows Server 2008 R2 SP1, Windows Vista, Windows Vista Service Pack 1, Windows Vista Service Pack 2
- Microsoft .NET Framework 4 or Microsoft .NET Framework 4.5
- Microsoft Visual Studio 2010, 2012, or 2013
- Microsoft Silverlight 4 SDK and Microsoft Silverlight Tools for Visual Studio 2010 (both optional)
Download and run the installer to install the WCF Data Services 5.6.0 tools on your computer.
- Please make sure Visual Studio is closed before running the installer.
- This is a side-by-side release with the assemblies shipped with .NET Framework 4 and Silverlight 4.
- The WCF Data Services 5.6.0 installer will update the "Add Service Reference" tooling integration in Visual Studio if it’s already installed, hence it will generate code based on WCF Data Services 5.6.0.
- The KB2502836 update for Visual Studio 2010 and Visual Web Developer (that gets delivered as a part of this update for Silverlight 5 development) reverts the "Add Service Reference" behavior to generate code based on the assemblies that shipped in the .NET Framework 4. Running the WCF Data Services Installer and repairing the installation fixes this problem.
- Please make sure the NuGet runtime in Visual Studio is 2.0 or greater.