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


Is PHP in Trouble?
10/04/2024

The April 2024 headline for the TIOBE Index, which ranks programming languages in terms of their popularity, reads, "Is PHP losing its mojo" asking this question because this month PHP has dropped out [ ... ]



Amazon Ending Alexa Skills Payments
12/04/2024

Amazon has told developers who are signed up to the Alexa Developer Rewards Program that their monthly payments will end at the end of June. The announcement follows a decision to end the program unde [ ... ]


More News

 

raspberry pi books

 

Comments




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

 

Last Updated ( Wednesday, 09 September 2015 )