Model View Controller (MVC) Question:

Download Job Interview Questions and Answers PDF

What is the role of a controller in an MVC application?

MVC Interview Question
MVC Interview Question

Answer:

The controller responds to user interactions, with the application, by selecting the action method to execute and alse selecting the view to render.

Download MVC Interview Questions And Answers PDF

Previous QuestionNext Question
Is it possible to share a view across multiple controllers?Where are the routing rules defined in an asp.net MVC application?