Just check on Microsoft site and Microsoft has launched new ASP.NET MVC 5.1.2. Microsoft also announces the availability ASP.NET 4.5.2. Just check the preview of ASP.NET 4.5.2 here and Microsoft official site.
So, what’s new in ASP.NET MVC 5.1.2?
You can download the packages through NuGet. You can get the latest ASP.NET MVC 5.1.2 version. The release also includes corresponding localized packages on NuGet.
You can install or update to the released NuGet packages by using the NuGet Package Manager Console:
Install-Package Microsoft.AspNet.Mvc -Version 5.1.2
Interesting Feature in ASP.NET MVC 5.1.2:
Attribute routing improvements
Attribute routing now supports constraints, enabling versioning and header based route selection. Many aspects of attribute routes are now customizable via the IDirectRouteFactory interface and RouteFactoryAttribute class. The route prefix is now extensible via the IRoutePrefix interface and RoutePrefixAttribute class.
Enum support in views
1. New @Html.EnumDropDownListFor() helper methods.
2. New EnumHelper.GetSelectList() methods which return an IList<SelectListItem>.
If you want to see how to implement this new feature, please see the complete example here.
Bootstrap support for editor templates
ASP.NET MVC 5.1.2 allow passing in HTML attributes in EditorFor as an anonymous object.
Unobtrusive validation for MinLengthAttribute and MaxLengthAttribute
Client-side validation for string and array types will now be supported for properties decorated with the MinLength and MaxLength attributes.
Supporting the ‘this’ context in Unobtrusive Ajax
The callback functions (OnBegin, OnComplete, OnFailure, OnSuccess) will now be able to locate the invoking element via the this context.
Cheap hosting for ASP.NET MVC 5.1.2
If you want to try out this new feature of ASP.NET MVC 5.1.2, you can start your affordable ASP.NET MVC 5.1.2 hosting with us. We have also launches new packages which is more affordable and start from only €1.29/month. For more information about our hosting plan, please visit our official site at http://hostforlife.eu/ASPNET-Shared-European-Hosting-Plans.