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


Remembering Grace Hopper On Her 114th Anniversary
09/12/2024

Today sees the start of Computer Science Education Week and  the 2024 Hour of Code. These educational event are timed to coincide with Grace Hopper's birthday on January 9th, 1906 due to her conc [ ... ]



Personal Picks For Holiday Gifts
29/11/2024

It's Black Friday, the traditional day to indulge in online shopping. Not every item that is included in my selection of gifts is subject to a promotional offer, but where they aren't you might be poi [ ... ]


More News

 

espbook

 

Comments




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

 

Last Updated ( Wednesday, 09 September 2015 )