ASP.NET 5 Beta5 Released
Written by Kay Ewbank   
Friday, 03 July 2015

Microsoft has released ASP.NET 5 Beta5 as an in-place update to Visual Studio 2015 RC with new features, improvements, and bug fixes.. It is the update to the ASP.NET runtime rather than the Web Tooling features for Visual Studio and replaces Beta4, which shipped with VS2015RC.


The new release, which is available on Nuget, has a number of improvements to the .NET Execution Environment (DNX), including support for NuGet v3 feeds. The time taken to restore packages using the new NuGet v3 feed is also reduced.

The beta now has support for the new dotnet Target Framework Moniker (TFM). This means you can now use DNX to build portable .NET libraries that work on any .NET flavor that supports your package dependencies using the new dotnet TFM.

One useful improvement comes from the fact that JSON.NET version pinning has been removed. This means that your application can use a different version of JSON.NET, rather than being limited to the one that is shipped with the DNX version that you are working with. What this means is that as JSON.NET evolves, you can choose to download and install new releases without being required to upgrade the DNX version you are using.

In terms of improvements to ASP.NET 5, connection information has been added to HttpContext via a new Connection property. New localization abstractions and middleware have also been added.

MVC 6 features include C# 6 support in Razor, and simplified MVC options. There’s also a new JSON helper for serializing JSON in views.

According to the MSDN blog, this means:

you can serialize your .NET objects to JSON in Razor views very easily with syntax like the following:

@Json.Serialize(Model)

You can also use routing token replacement in route names, and there’s a new ImageTagHelper that lets you automatically append image filenames with a cache-buster version number so that you can aggressively cache images with your application.

Another improvement is the addition of tag helper support for binding dictionary properties. You can now bind server side attributes to dictionary properties on your tag helpers, and use conditionally binding tag helpers based on the presence of server-side attributes.

The blog post says there will be more betas after this, and the final release of ASP.NET 5 will happen after Visual Studio 2015 is released.  

 

 

Banner


GitHub Enterprise Server Adds Deployment Rollout Controls
11/03/2024

Version 3.12 of GitHub Enterprise Server, the self-hosted version of GitHub that organizations can install on their own servers, has been released with support for restricting deployment rollouts [ ... ]



pgxman - PostgreSQL Extension Manager
19/02/2024

pgxman is a package manager like npm, but instead of Javascript packages, it is for PostgreSQL extensions. It detects and streamlines extension operations and looks after dependency manageme [ ... ]


More News

 

raspberry pi books

 

Comments




or email your comment to: comments@i-programmer.info

 

Last Updated ( Wednesday, 09 September 2015 )