Beta for ASP.NET 5 Available on NuGet

Microsoft recommends developers get ASP.NET 5 beta5 that was released earlier this week as an in-place upgrade to beta4, as it contains numerous changes to the .NET Execution Engine, ASP.NET and MVC 6.

The official unveiling of Visual Studio 2015 is a few weeks away, so expect lots of action and beta versions coming from various Microsoft groups. The group working on ASP.NET 5 just released what they're calling "beta5" of the Web application framework, with this version including some significant changes to the .NET Execution Engine, ASP.NET itself and MVC 6.

Microsoft recommends that any Visual Studio 2015 RC testers download this version, as it's an in-place version to replace the beta4 that shipped with Visual Studio 2015 RC, according to a blog post that details the release.

Within the .NET Execution Engine is support for NuGet 3 feeds and the dotnet Target Framework Moniker (TFM). Restoring packages via NuGet 3 feed support is supposed to be sped up here, while dotnet TFM support allows for use of the .NET Execution Engine "to build portable .NET libraries that work on any .NET flavor that supports your package dependencies." Developers can now specify language and release note links from inside a project.json file, as well.

Also new is a bit more flexibility working with JSON.NET versions. Rather than having to work with the specific version of JSON.NET that shipped with the .NET Execution Engine, it now works with any updated JSON.NET. This means developers no longer have to keep apprised of JSON.NET versions as the .NET Execution Engine is updated. And one more change to the .NET Execution Engine is the addition of the iRunTimeEnvironment service, for getting runtime details.

New in ASP.NET 5 is the addition of a Connection property, called HttpContext.Connection, that provides connection data to HttpContext; "new localization abstractions and middleware"; and ASP.NET hosting termination via Ctrl+C.

Finally, on MVC 6, among the changes included in this version: C# support when working with the Razor parser; the addition of app-level settings to simplify the configuration of HTML helper settings; a JSON helper for serializing .NET objects to JSON while in Razor view; ability to use route tokens in route names; addition of a new tag helper that allows for refreshing images.

ASP.NET 5 beta5 is available here; documentation and samples are here.

About the Author

You Tell 'Em, Readers: If you've read this far, know that Michael Domingo, Visual Studio Magazine Editor in Chief, is here to serve you, dear readers, and wants to get you the information you so richly deserve. What news, content, topics, issues do you want to see covered in Visual Studio Magazine? He's listening at [email protected].

comments powered by Disqus


  • VS Code Now Has Apple Silicon Builds for Native Mac Development

    Goodbye Rosetta, hello M1. Visual Studio Code has been updated with new builds that let it run natively on machines with Apple Silicon (M1), the company's own ARM64 chips.

  • Visual Studio 2019 for Mac v8.9 Ships with .NET 6 Preview 1 Support

    During its Ignite 2021 online event for IT pros and developers this week, Microsoft shipped Visual Studio 2019 for Mac v8.9, arriving with out-of-the-box support for .NET 6 Preview 1, which the company also released recently.

  • Analyst: TypeScript Now Firmly in Top 10 Echelon (Ruby, Not So Much)

    RedMonk analyst Stephen O'Grady believes TypeScript has achieved the rare feat of firmly ensconcing itself into the top 10 echelon of his ranking, now questioning how high it might go.

  • Black White Wave IMage

    Neural Regression Using PyTorch: Training

    The goal of a regression problem is to predict a single numeric value, for example, predicting the annual revenue of a new restaurant based on variables such as menu prices, number of tables, location and so on.

Upcoming Events