Wednesday 5 August 2015

MVC Directory Structure


The directory structure of MVC : 


  • App_Data - which is the physical store for data.Files which you require read/write permissions for db 
  • App_Start - Configuration of various technologies like Authentication, bundeling, web API etc
  • Content  - (Static files) which is the recommended location to add content files such as cascading style sheet files, images, and so on. In general, the Content folder is for static files.
  • Controllers - which is the recommended location for controllers. 

  • Filters - Action Filters or custom attributes

  • Models - which is provided for classes that represent the application model for your MVC Web application.
  • Scripts - which is the recommended location for script files that support the application. 
  • Views -  which is the recommended location for views

No comments:

Post a Comment