If I add areas in my ASP MVC project like: Authentication, Forum, Groups, Events etc. Do I still need root Model/View/Controlelr folders or I can delete them? If not what would be example to keep this folders in root of the project?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No, you don’t need the root
~/Controllersfolder. You are perfectly safe to delete it. You could also delete the associated view folder of course~/Views/Home. Be careful with~/Views/Sharedas it might contain some layouts that your area uses. But of course this could also be moved to the corresponding area and completely get rid of it in the root folder.