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


Interact With Virtual Historic Computers
14/04/2024

Alan Turing's ACE computer is a legendary computer that is particularly special for I Programmer - our account of it was the first ever history article on the site when it launched in 2009. Now this i [ ... ]



Falco On Track To Version 1.0.0
02/04/2024

Falco is a cloud native runtime security tool for the Linux operating system, designed to detect abnormal behavior and warn of potential security threats in real-time. Now it's about to release its fi [ ... ]


More News

 

raspberry pi books

 

Comments




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

 

Last Updated ( Wednesday, 09 September 2015 )