Appendix
ASP.NET MVC 5.1
—by Jon Galloway
What's In This Chapter?
- What's in ASP.NET MVC 5.1 and Visual Studio 2013 Update 2
- Facts about Enum support
- How to perform Attribute Routing with Custom Constraints
- Working with Bootstrap and JavaScript enhancements
This appendix describes some of the top features in MVC 5.1, and how you can start using them in your MVC applications.
SAMPLE CODE FOR THIS APPENDIX AND BEYOND
The sample project covering the posts in this series is available for download from GitHub at https://github.com/jongalloway/stardotone. Other referenced samples are in the ASP.NET sample repository at http://aspnet.codeplex.com/sourcecontrol/latest#Samples/ReadMe.txt.
ASP.NET MVC 5.1 RELEASE DESCRIPTION
ASP.NET MVC 5 was released with Visual Studio 2013 in October 2013. In keeping with the policy of rapid point releases, the ASP.NET team released ASP.NET MVC 5.1, Web API 2.1, and Web Pages 3.1 as NuGet package upgrades for existing projects in January 2014. These updates were bundled with Visual Studio 2013 Update 2 in April 2014.
The top MVC 5.1 features in this release are as follows:
- Attribute Routing improvements
- Bootstrap support for editor templates
- Enum support in views
- Unobtrusive validation for
MinLength
/MaxLength
attributes - Supporting the ‘
this
’ context in Unobtrusive Ajax - Various bug fixes
This release also includes Web API 2.1, of which the main features are:
- Global error handling
- Attribute routing improvements
- Help page improvements
IgnoreRoute
support ...
Get Professional ASP.NET MVC 5 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.