Posts

Showing posts with the label ASP.NET MVC

ASP.Net MVC

MVC: Model is a data and business logic. View is a User Interface. Controller is a request handler. ASP.NET MVC Folder Structure: App_Data folder can contain application data files like LocalDB, .mdf files, xml files and other data related files. IIS will never serve files from App_Data folder. Content folder contains static files like css files, images and icons files. MVC 5 application includes bootstrap.css, bootstrap.min.css and Site.css by default. Global.asax allows you to write code that runs in response to application level events, such as Application_BeginRequest, application_start, application_error, session_start, session_end etc. Packages.config file is managed by NuGet to keep track of what packages and versions you have installed in the application. Web.config file contains application level configurations. Routing in MVC : ASP.NET MVC routing is a pattern matching system that is responsible for mapping incoming browser requests to sp...