ASP.NET MVC Goals • Leverage ASP.NET core features • Loose coupling and extensibility • Testability • Tight control over markup • Separation of concerns • Convention over configuration • Better team development • Strong community of web developers
How MVC is typically built.Models- contains the bulk of your application logic. (ie. db access, security, aggregations, etc )- possibly your Entity Framework model, Linq2SQL, a repository, or a service layer.
How MVC is typically built.Controllers- this is the application’s entry point, which handles the http requests (Actions) and any required parameters.- for best practices, “Actions” in a controller should be as minimal as possible.