|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 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:
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.
To be informed about new articles on I Programmer, install the I Programmer Toolbar, subscribe to the RSS feed, follow us on, Twitter, Facebook, Google+ or Linkedin, or sign up for our weekly newsletter.
or email your comment to: firstname.lastname@example.org
|Last Updated ( Wednesday, 09 September 2015 )|