Files and Folders in ASP.NET MVC 4 Project

Published on April 6, 2013 by abundantcode

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 3408 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.
0saves
If you enjoyed this post, please consider leaving a comment or subscribing to the RSS feed to have future articles delivered to your feed reader.

Leave a Comment


x

You might be Interested in these Posts

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...

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

There are times when you might want to add Web API project to one of your existing ASP.NET MVC proje...