Model View Controller (MVC) Question:

Download Job Interview Questions and Answers PDF

Is it possible to share a view across multiple controllers?

MVC Interview Question
MVC Interview Question

Answer:

Yes, put the view into the shared folder. This will automatically make the view available across multiple controllers.

Download MVC Interview Questions And Answers PDF

Previous QuestionNext Question
Is it possible to unit test an MVC application without running the controllers in an ASP.NET process?What is the role of a controller in an MVC application?