OData

Create and consume RESTful APIs in a simple and standard way

Latest posts

May 17, 2012
Post comments count 0
Post likes count 0

WCF Data Services EULAs updated

DB Blogs

Today we are releasing an updated EULA for WCF Data Services. Effective as of WCF Data Services 5.0.1, the DLLs that constitute the runtime components of WCF Data Services are now officially redistributable. Please see the attached EULAs for more details. Please leave your thoughts and comments below.

May 17, 2012
Post comments count 0
Post likes count 0

NuGet and Bin Deploy

DB Blogs

We recently posted about trying to release WCF Data Services more frequently, and some of the changes we’re making. In this post, we’ll take a slightly deeper look at NuGet,bin deploy, and where WCF Data Services is headed. Managing dependencies with NuGet If you’re already familiar with NuGet, you probably understand its value proposition and can skip ahead to bin deploying applications. If you haven’t used NuGet before, this section will provide you with a quick introduction. The NuGet site has a great documentation section that provides significantly more detail. What is NuGet? Languages such as Ruby and P...

May 7, 2012
Post comments count 0
Post likes count 0

WCF Data Services, now with more releases!

DB Blogs

Like other teams at Microsoft, WCF Data Services has been working toward a goal of more frequent releases. We released 5.0 on April 9 and we pre-released WCF Data Services 5.0.1-rc* on April 20 (we’ll release the final version of very soon). The rapid release was possible because of three changes we’re making. First up, we’re… Adopting semantic versioning Semantic versioning is a growing movement that proposes a solution to confusing version numbers. Let’s see how semantic versioning applies to the pre-release: . Since only contains bug fixes, we bumped only the third digit of the version n...

Apr 26, 2012
Post comments count 0
Post likes count 0

Metro OData prerelease bits and app

DB Blogs

Phani just published a blog post with directions on how to build OData apps for Windows 8 Metro. The Metro bits are still very much in a prerelease form (e.g., you’ll have to invoke codegen with a command line tool) but it should enable developers to start trying out OData on Metro. For the blog post as well as sample bits and the sample app, check out Phani’s blog: http://blogs.msdn.com/b/phaniraj/archive/2012/04/26/developing-windows-8-metro-style-applications-that-consume-odata.aspx. Have fun, and please feel free to provide feedback below.

Apr 20, 2012
Post comments count 0
Post likes count 0

WCF Data Services 5.1.0-rc Prerelease

DB Blogs

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: Our NuGet package ids are: Call to action If you have experienced one of the bug...

Apr 17, 2012
Post comments count 0
Post likes count 0

JSON Light Sample Payloads

DB Blogs

We recently put together a document that contains some of our thinking about JSON light as well as a whole slew of sample payloads. We would love to hear any feedback you have on the format; you can comment in the accompanying OneNote. We will be accepting public feedback on JSON light until May 4, 2012. We will also provide a preview release of the JSON light bits via NuGet for interested parties. JSON light at-a-glance: https://skydrive.live.com/redir.aspx?cid=0d23ed2816deea7b&resid=D23ED2816DEEA7B!966&parid=D23ED2816DEEA7B!106&authkey=!AAYCE2RUJccjhHk Discussion: https://skydrive.live.com/redi...

Apr 17, 2012
Post comments count 0
Post likes count 0

How to use WCF DS 5.0 in a Web Site project

DB Blogs

The WCF Data Services 5.0 RTM release includes an update to the Add Service Reference behavior in Visual Studio. For most project types that target .NET Framework 4.0, this means that when you add a new service reference, you will automatically get assembly references to the new client assemblies, and your client will be able to communicate with servers that support v3 of the OData protocol. This does not happen by default for Web Site Projects, but there are some manual steps you can take to update these projects to use the new functionality. This applies to Web Site Projects only, not Web Application Projects ...

Apr 12, 2012
Post comments count 0
Post likes count 0

Actions in WCF Data Services – Part 3: A sample provider for the Entity Framework

DB Blogs

This post is the last in a series on Actions in WCF Data Services. The series was started with an example experience for defining actions (Part 1) and how IDataServiceActionProvider works (Part 2). In this post we’ll go ahead and walk through a sample action provider implementation that delivers the experience outlined in part 1 for the Entity Framework. If you want to walk through the code while reading this you’ll find the code here: http://efactionprovider.codeplex.com. Implementation Strategy The center of the implementation is the EntityFrameworkActionProvider class that derives from ActionProvid...

Apr 11, 2012
Post comments count 0
Post likes count 0

What happened to application/json in WCF DS 5.0?

DB Blogs

The roadmap for serialization formats We have been talking for a while about a more efficient format for JSON serialization. The new serialization format will be part of the OData v3 protocol, and we believe that the much-improved JSON format should be the default response when requesting application/json. You may notice that when you upgrade to WCF DS 5.0, requesting the old JSON format is a bit different. To get the old JSON format, you must now explicitly request application/json;odata=verbose or set the MaxDataServiceVersion header to 2.0. When will I get a 415 response and what can I do about it? WCF Dat...