is it possible to change the directory name of the Controllers / Views ... in asp.net MVC ? i mean I want to name the controllers folder to be "myControllers" or any other name, is it possible ? and how ?
1 Answer
Yes, you can just rename the "Controllers" folder to what you want. This is doesn't valid for the view.
But I'd never recommend you changing ASP.NET convention.
2 Comments
Mina W Alphonce
Ok what about views? I know the controller thing ... i want to change the entire convention is it possible, and how ?
Stéphane Bebrone
You can create your custom view engine and provide your
ViewLocationFormats. See this link