Top 15+ Asp.net MVC Interview Questions and Answers - 1

Question: 1

What is Asp.Net MVC Framework?

The Asp.Net MVC Framework is not a substitute for the Asp.Net Web Forms pattern. It just provides an alternatives choice to the developer while designing and developing a web application. It enables you to achieve and maintain a clear separation of presentation layer (UI), logic and data access. It also facilitates test driven development (TTD) environment, where you can implement automated unit tests, which define and verify the requirements of new code before you actually write the code itself.

It is a lightweight and extremely testable presentation framework that is appended to existing Asp.Net features such as master pages and membership based authentication. The MVC framework resides inside the System.Web.Mvc namespace. This namespace is an elementary supported part of the System.Web namespace, which forms the basis of any Web application.

Question: 2

Which is the base class of Asp.Net MVC Framework?

The Controller class is the base class of the Asp.Net MVC Framework.

Question: 3

Which is the latest version of Asp.Net MVC that is built-in in Visual Studio 2010?

The latest version of Asp.Net MVC is Asp.Net MVC 2.

Question: 4

What is TTD environment?

Asp.Net MVC Framework facilitates the Test Driven Development (TDD environment), where you can perform an automated unit test, which specifies and verifies the requirements of new code before you write the code itself.

Question: 5

Explain the interaction between the three components of the MVC architecture?

The interaction between the three components of MVC architecture

Model

View and

Controllers

Related Questions