Explain The Roles of Controller? | ASP.NET MVC Interview Question

, ,

The controller provides three roles in the ASP.NET MVC application.

  • It selects what view should be displayed
  • It allows clean separation between the view and the model by acting as an intermediary between the two
  • It processes data before it is passed along