How malleable are the conventions in ASP.NET MVC?
问题 Specifically, does a controller class name have to have the Controller suffix, and can you change the folder structure in your project if you want to, without breaking things? Are there other conventions that can be overridden, and how? 回答1: Most of the conventions are malleable provided you know how the framework operates. Let's tackle two of the biggest conventions: the "{controller}/{action}/" magic keywords for instantiating controllers from a route the way the framework searches for