News

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

Featured

  • Mastering Blazor Authentication and Authorization

    At the Visual Studio Live! @ Microsoft HQ developer conference set for August, Rockford Lhotka will explain the ins and outs of authentication across Blazor Server, WebAssembly, and .NET MAUI Hybrid apps, and show how to use identity and claims to customize application behavior through fine-grained authorization.

  • Linear Support Vector Regression from Scratch Using C# with Evolutionary Training

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the linear support vector regression (linear SVR) technique, where the goal is to predict a single numeric value. A linear SVR model uses an unusual error/loss function and cannot be trained using standard simple techniques, and so evolutionary optimization training is used.

  • Low-Code Report Says AI Will Enhance, Not Replace DIY Dev Tools

    Along with replacing software developers and possibly killing humanity, advanced AI is seen by many as a death knell for the do-it-yourself, low-code/no-code tooling industry, but a new report belies that notion.

  • Vibe Coding with Latest Visual Studio Preview

    Microsoft's latest Visual Studio preview facilitates "vibe coding," where developers mainly use GitHub Copilot AI to do all the programming in accordance with spoken or typed instructions.

  • Steve Sanderson Previews AI App Dev: Small Models, Agents and a Blazor Voice Assistant

    Blazor creator Steve Sanderson presented a keynote at the recent NDC London 2025 conference where he previewed the future of .NET application development with smaller AI models and autonomous agents, along with showcasing a new Blazor voice assistant project demonstrating cutting-edge functionality.

Subscribe on YouTube