ASP.NET 5 Beta 6 Is In The Wild

The Beta 6 release of ASP.NET 5 is now available. Run the following command to upgrade from a previous version:

dnvm upgrade

After that, a “dnvm list” command will give you the following:

image

You can also upgrade dnvm itself with the following command:

dnvm update-self
Which will get you up to the beta 7 version (build 10400) of DNVM.

image

You’ll also need the updated VS 2015 tooling, which is available here (along with the DNVM update tools if you want them seperately): Microsoft Visual Studio 2015 Beta 6 Tooling Download.

Why This is Important

As part of my progression in porting an MVC 5 app to MVC 6, one scenario that I needed support for was to have libraries targeting .NET 4.6 reference-able from a DNX project. MVC 6, up to this point, only supported 4.5.1, which meant that you’d have to roll back your targeting if you were on 4.5.2 or 4.6.

Of course, multi-targeting is a better option, but requires the time and capacity to either slave over the old code base and NuGet packaging nuances, or port to the new project format where you have much greater in-project support for targeting multiple frameworks.

What You Get

As previously detailed by Damien Edwards, there are bug fixes, features and improvements in the following areas: Runtime, MVC, Razor, Identity. In addition to supporting .NET 4.6 in DNX, they have also added localization and have been working on other things like distributed caching, which you can read about here.

What To Watch Out For

This is still a beta, and there are many moving parts.

Be sure to check out the community standup today and head over to GitHub for the announcements on breaking changes.

Happy coding! Smile