.Net MVC Flashcards
MVC
MVC stands for Model, View, Controller. MVC is a pattern for developing applications such that each part has a responsibility that is different from another.
Model
The data of you application. Business rules usually live here.
View
The template files your application will use to dynamically generate HTML responses
Controllers
Classes that handle incoming URL requests to the applicaiton, retrieve model data, and then specify view templates that render a response back to the client.
ViewModels
are objects that represent what a View template requires to render an HTML response back to a client. They are typically created and passed by a Controller class to a View template, and should only contain the data that the View template requires - and no more.