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

  • Cloud-Focused .NET Aspire 9.1 Released

    Along with .NET 10 Preview 1, Microsoft released.NET Aspire 9.1, the latest update to its opinionated, cloud-ready stack for building resilient, observable, and configurable cloud-native applications with .NET.

  • Microsoft Ships First .NET 10 Preview

    Microsoft shipped .NET 10 Preview 1, introducing a raft of improvements and fixes across performance, libraries, and the developer experience.

  • C# Dev Kit Previews .NET Aspire Orchestration

    Microsoft's dev team has been busy updating the C# Dev Kit, a Visual Studio Code extension that enhances the C# development experience by providing tools for managing, debugging, and editing C# projects.

  • Hands On: New VS Code Insiders Build Creates Web Page from Image in Seconds

    New Vision support with GitHub Copilot in the latest Visual Studio Code Insiders build takes a user-supplied mockup image and creates a web page from it in seconds, handling all the HTML and CSS.

  • Naive Bayes Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the naive Bayes regression technique, where the goal is to predict a single numeric value. Compared to other machine learning regression techniques, naive Bayes regression is usually less accurate, but is simple, easy to implement and customize, works on both large and small datasets, is highly interpretable, and doesn't require tuning any hyperparameters.

Subscribe on YouTube

Upcoming Training Events