Search code examples
asp.net-mvccontrollers

change controllers directory name in asp.net mvc


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 ?


Solution

  • 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.