Your official information source from the .NET Web Development and Tools group at Microsoft.
This week we released ASP.NET 5 Beta5 as an in-place update to Visual Studio 2015 RC on http://nuget.org!
The version that shipped with VS2015RC was Beta4 so you’ll definitely want toget this update. ASP.NET 5 Beta5 is loaded with lots of new features, improvements, and bug fixes.
It’s important to remember that there’s the ASP.NET runtime (the bits that run your web apps) and there is the Web Tooling bits for Visual Studio (the bits that give you the HTML and JavaScript editor and the File New Dialog Box). Beta5 is an update to the ASP.NET 5 runtime!
Remember that ASP.NET 5 runs on both the full .NET Framework and also (still a work in progress) .NET Core. It’s .NET Core that will run on Windows, Azure, Linux, and Mac. It’s important to note that ASP.NET runs on both these frameworks, so this is a good time to start installing the betas and trying out your applications with ASP.NET 5.
Here are just some of the highlights from this release:
.NET Execution Environment (DNX)
ASP.NET 5
MVC 6
@Json.Serialize(Model)
[Route("Products/[action]", Name = "[actions]Products")] public class ProductsController { public void Add() { } public void Buy() { } }
<img asp-file-version="true" src="~/images/my_cool_image.png" />
<a asp-action="Edit" asp-route-id="@index">Edit</a>
Be sure to read the Beta5 release notes to find all the details on what’s new as well as known issues. There will be more Betas after this one as we march towards a final release. The final release of ASP.NET 5 will happen AFTER Visual Studio 2015 is released. We’ll announce the schedule very soon.
As I said previously, this ASP.NET 5 runtime update is compatible with Visual Studio 2015 RC. You can open, build and run ASP.NET 5 apps using the Beta5 runtime packages and Visual Studio 2015 RC.
To update to ASP.NET 5 Beta5 use the following steps:
There have been quite a few API changes in this release as part of a broad API review. In the process we refactored many of our packages to reduce dependencies and to improve the layering. To help you update your Beta4 code you can find a list of the most impactful changes on our Announcements repo along with details for each change. You can also find docs and samples for ASP.NET 5 at http://docs.asp.net.
We hope you enjoy this release! If you find any issues or have suggestions for improvement please let us know through our public issues trackers on GitHub. Thanks for trying out ASP.NET 5!
Please join us every Tuesday for the ASP.NET Community Standup. The schedule and previous episodes are at http://www.asp.net/vnext.
On Linux, do we still need to switch to Mono to run "dnu restore"?
@Keith Yes, you will need to run on Mono to restore packages. We actually haven't released the .NET Core based DNX packages for Mac and Linux to nuget.org yet as they are still in early phases of development. We plan to publish a roadmap in the weeks ahead with the transition plan from Mono to .NET Core for cross platform development.