Asp .Net MVC - SPLessons

ASP.Net MVC Folder Structure Best Practices

Home > Lesson > Chapter 4
SPLessons 5 Steps, 3 Clicks
5 Steps - 3 Clicks

ASP.Net MVC Folder Structure Best Practices

ASP.Net MVC Folder Structure Best Practices

shape Description

After creating the MVC Application,one have to know about what are the folders in the Solution Explorer. The below steps explains about Solution Explorer.

shape Step 1

After Completion of  creating MVC Application see the Solution Explorer. If unable to find the Solution Explorer, then Go to View->Solution Explorer as shown in the below figure.

shape Step 2

Then Solution Explorer will be found which looks like below figure.

shape Types

The following folders appear in the Solution Explorer. There are 3 types of folders in the Solution Explorer.

Application Information Folders

shape Description

The following are the folders (shown in the below figure) which come under the Application Information.
  • Properties
  • References

Application Folders

shape Description

The following are the folders (shown in the below figure) which comes under the Application Folders. MVC provides a good separation for all the files by using these folders. Each folder contains its own type of files. For Example,models folder contains the files which are related to Model Class only.

App_start Folder

shape Description

App_Start folder contains some other files. It contains the files which are executed at the time of Application start. The file named as RouteConfig.cs is used to mention the application which is executed first.