0

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 1

2

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.

Sign up to request clarification or add additional context in comments.

2 Comments

Ok what about views? I know the controller thing ... i want to change the entire convention is it possible, and how ?
You can create your custom view engine and provide your ViewLocationFormats. See this link

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.