.NET Blog

Free. Cross-platform. Open source. A developer platform for building all your apps.

ASP.NET MVC 5.2.3, Web Pages 3.2.3 and Web API 5.2.3 Beta releases

While the MVC team is working hard on MVC 6 as part of the ASP.NET 5 effort, we also keep working on the 5.x packages. Today we are releasing a Beta of ASP.NET MVC 5.2.3, Web Pages 5.2.3 and Web API 5.2.3.This preview release addresses 12 issues. Here is the full list.Highlight of issues fixedWeb API Issues2092 Significant performance ...

Content negotiation in MVC 6 (or how can I just write JSON)

[Update] - We decided to make two significant changes starting with Beta3, we are to not include the XML formatter by default, as well as special treat browsers. The content below is still relevant up to MVC 6 Beta2.IntroIn this blog, I intend to provide a simplified how-things-work and how-to-change-the-behavior. It is not intended as a deep ...

Announcing the Release of Web API OData 5.3

The NuGet packages for ASP.NET Web API OData 5.3 are now live on the NuGet gallery!Download this releaseYou can install or update the NuGet packages for ASP.NET Web API OData 5.3 using the NuGet Package Manager Console, like this: Install-Package Microsoft.AspNet.OData -Version 5.3.0 Install-Package Microsoft.AspNet.WebApi.OData -Version 5.3....

Announcing the Release Candidates for Web API OData 5.3

The release candidate NuGet packages for ASP.NET Web API OData 5.3 are now live on the NuGet gallery!Download this releaseYou can install or update the release candidate NuGet packages for ASP.NET Web API OData 5.3 using the NuGet Package Manager Console, like this: Install-Package Microsoft.AspNet.OData -Version 5.3.0-rc -Pre Install-Package...

Release Candidates for ASP.NET MVC 5.2, Web API 2.2 and Web Pages 3.2

The release candidate NuGet packages for ASP.NET MVC 5.2, ASP.NET Web API 2.2 and ASP.NET Web Pages 3.2 are now live on the NuGet gallery!Download this releaseYou can install or update the release candidate NuGet packages for ASP.NET MVC 5.2, ASP.NET Web API 2.2 and ASP.NET Web Pages 3.2 using the NuGet Package Manager Console, like this: ...

Getting started with ASP.NET Web API 2.2 for OData v4.0

A few weeks ago we started publishing nightly builds for our initial support in ASP.NET Web API for the OData v4.0 protocol. Our OData v4.0 support is based on the OData Library for OData v4.0 that has been released in the past few months. The OData v4.0 protocol introduces a lot of changes and new features that allow more flexibility in the ...

Introducing batch support in Web API and Web API OData

With the release of Microsoft ASP.NET Web API 2 OData, we have introduced support for batching requests. Batching is a web API feature that allows a customer to pack several API requests and send them to the web API service in one HTTP request and receive a single HTTP response with the response to all their requests. This way, the client can ...

Enable and monitor ASP.NET App Suspend on Windows Server 2012 R2

This post describes how to enable and monitor ASP.NET App Suspend on Windows Server 2012 R2. It was written by Rich Lander, a Program Manager on the .NET team. ASP.NET App Suspend is a big new feature in the .NET Framework 4.5.1. You can read an overview of ASP.NET App Suspend (including a demonstration video) over on the .NET blog. ASP....

ASP.NET Web API: Using Namespaces to Version Web APIs

In this post, I’ll show how to extend the routing logic in ASP.NET Web API, by creating a custom controller selector. Suppose that you want to version your web API by defining URIs like the following: /api/v1/products/ /api/v2/products/ You might try to make this work by creating two different “Products” controllers, and ...