ASP.NET MVC - xerocrypt/Misc GitHub Wiki
The code for ASP.NET MVC applications are separated into three layers, each layer having a specific responsibility. A page request initiates a controller action, the compiled C# executes and the HTML to be returned is generated. Initially it seems like an overly complicated design pattern in comparison to that of a conventional Web application.
Model
Mainly for modelling the data sources. Entity Framework models are added in this layer.
View
The CSHTML source files that determine how the response is presented to the user. Some JavaScript might exist here also, to extend the application's functionality.
Controller
The application's business logic exists as C# controllers.
References
MICROSOFT. 2017. ASP.NET MVC. Learn About ASP.NET MVC. [WWW]. https://www.asp.net/mvc. 24th March 2017.