Files and Folders in ASP.NET MVC 4 Project

Published on April 6, 2013 by Senthil Kumar

Filed under ASP.NET

Last modified April 6, 2013

Print this page

rate 1 star rate 2 star rate 3 star rate 4 star rate 5 star
Your rating: none, Average: 0 (0 votes)

This article have been viewed 10324 times

Below are some of the files and folders that are created by default when creating a new ASP.NET MVC Project.

Files and Folders in ASP.NET MVC 4 Project

  • App_Data – The developers can add the databases like SQLite or SQL Server Express database file or XML files to this folder
  • App_Start – This contains the core settings of the ASP.NET MVC Project.
  • Content – Contains contents like CSS file and images.
  • Controllers – contains the controller classes of the ASP.NET MVC Project
  • Models – Contains the ViewModel or domain model classes
  • Views – This folder can be used to add the views and partial views for the ASP.NET MVC Application. The shared folder contains the files related to the layouts and common views.
  • Scripts – This folder holds the JavaScript files and libraries for the ASP.NET MVC Application.
  • Web.Config file in Views Folder – This file contains the configuration that will make the views work with the ASP.NET MVC Project.
  • Global.ASAX – This is one of the important file in the ASP.NET MVC Project and is the global application class .
  • Web.Config – This is the configuration file for the application and is found in the root of the application.

Leave a Comment


You might be Interested in these Posts

How to read connection string from web.config in ASP.NET and C# ?

Here's a sample code snippet demonstrating how to get the connection string from your ASP.NET

How to return Json instead of XML in ASP.NET Web API ?

When you make a call to the ASP.NET Web API action method and notice this in Google Chrome browser ,...

How to Add Web API to existing ASP.NET Web Forms Project ?

In one of the previous posts , we saw how to add the WebAPI to the existing ASP.NET MVC project. Wel...