O'Reilly logo

Pro ASP.NET Core MVC 2 by Adam Freeman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

© Adam Freeman 2017

Adam Freeman, Pro ASP.NET Core MVC 2, https://doi.org/10.1007/978-1-4842-3150-0_31

31. Model Conventions and Action Constraints

Adam Freeman

(1)London, UK

Throughout this book, I have emphasized that there is no magic involved in MVC development and that a small peek behind the scenes reveals how everything fits together to deliver the features that I have described in previous chapters.

In this final chapter of the book, I describe two useful features that let you customize the way your MVC application works. Model conventions allow you to replace the conventions used to create controllers and actions, overriding those that are applied by default. Action constraints allow you to specify what kind of requests an action can be ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required