What is ASP.NET MVC?
ASP.NET MVC is a framework developed by Microsoft to build web applications. ASP.NET MVC is built on the top of ASP.NET. It used the ASP.NET pipeline for request processing.
Though, MVC is based on Model-View-Controller design pattern.
- Model: Model denotes DTOs or POCO Classes or View Models that will be used to bind data to view.
- View: View here represents the UI layer. All the HTML required to render a page is written in this section.
- Controller: Controller is the main part. It captures the control when a request arrives, Action method defined in the controller gets
called. This action method fills data in ViewModels & then we return
a view that will render that data on some HTML page.