.NET Blog

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

Making It Better: Updates for ASP.NET 5 in Visual Studio 2015 CTP 5

It's been about two months since we released the first beta of ASP.NET 5, and today we happy to announce that ASP.NET 5 Beta2 is available. For developers using Visual Studio, you'll find great new tools to support and enhance your development process.  All ASP.NET developers will be able to take advantage of a new runtime and many ...

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 ...

ASP.NET MVC 5 Lifecycle Document Published

Fresh out of the oven is a PDF document that charts the lifecycle of every ASP.NET MVC 5 application. Many of you have requested this document over the years and we're glad to finally put it in your hands now. You will find the PDF document very similar to the ASP.NET application lifecycle topic in its approach. It's a graphical representation...

OWIN Middleware in the IIS integrated pipeline & StageMarkers

Although OWIN middleware components are primarily designed to run on an OWIN pipeline, it can run on IIS as well. Similar to how HttpModules can subscribe to a specific IIS integrated pipeline event, an OWIN middleware can be subscribed to run at a specific IIS integrated pipeline event. Check out OWIN Middleware in the IIS integrated pipeline...

Web Publish how to automate multi-project publish with file system

The other day I received an email from a customer with a question which I’ve summarized as below. I have a solution containing multiple web projects. One of the projects, _RootSite, is the top level website which I want to publish. It’s an MVC project. I also have other web projects in the same solution. These other projects are apps ...

Writing Web API Client Code for Multiple Platforms Using Portable Libraries

The Microsoft ASP.NET Web API Client Libraries make it easy to write .NET clients that interact with RESTful HTTP services. Unfortunately, until recently the Web API client libraries did not support all platforms. Because of this limitation, developers had to maintain different code, depending on the target platform. The new release of ...