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

Microsoft Asp.Net MVC Security Update MS14-059 broke my build!

Microsoft just released a new security update to be automatically applied to machines configured to use Microsoft Update.  The security bulletin is available here: https://technet.microsoft.com/en-us/library/security/ms14-059Unfortunately, some ASP.NET MVC 3 and 4 VS projects can no longer build after the update is applied. These projects...

ASP.NET vNext in Visual Studio “14” CTP 4

Today we released updates for ASP.NET vNext in Visual Studio “14” CTP 4. This release includes the ASP.NET vNext runtime and tooling improvements as outlined below. ASP.NET vNext Runtime This CTP includes our alpha4 runtime packages for ASP.NET vNext. You can find details on the specific enhancements added and issues fixed in the...

Command line scaffolding for ASP.NET vNext

In previous releases we have added support for scaffolding controllers/views based on project artifacts in both MVC and Web Forms projects. The technology used for those previous releases was tied to Visual Studio. With ASP.NET vNext one of our high level goals is to enable Visual Studio customers to work with non-Visual Studio users. So the ...

ASP.NET vNext in Visual Studio “14” CTP 3

Today we released various runtime and tooling updates for ASP.NET vNext in Visual Studio “14” CTP 3. We included all the features that were included in Visual Studio 2013 Update 3 in this release. This release also has ASP.NET vNext runtime and tooling improvements as outlined below. ASP.NET vNext Runtime This CTP includes our ...

ASP.NET vNext in Visual Studio “14” CTP 2

Today we released various runtime and tooling updates for ASP.NET vNext in the Visual Studio “14” CTP 2. This CTP includes our alpha2 runtime packages for ASP.NET vNext. You can find all the details on the specific enhancements added and issues fixed in the published release notes on GitHub.For information on how to get started ...

ASP.NET vNext Routing Overview

Introduction The ASP.NET Routing system is primarily responsible for two operations: A typical route definition is a string that contains a URL template to match, such as: "blog/{year}-{month}-{day}/{slug}" With the URL template, the route definition can also contain default values and constraints for parts of the URL...