ASP.Net MVC Question:

Download Job Interview Questions and Answers PDF

Explain Repository Pattern in ASP.NET MVC?

ASP Dot Net MVC Interview Question
ASP Dot Net MVC Interview Question

Answer:

-Repository pattern is used as a default entity operation that allow the decoupling of the components used for presentation.

-Repository pattern allows easy testing in the form of unit testing and mocking.

-Repository pattern will have the proper infrastructure services to be used in the web applications.

-It uses the mechanism of encapsulating that provides storage, retrieval and query for the implementation of the repository.

-Repository patterns are hard coded in the application that is to be used in ASP.NET MVC architecture.

Download ASP Dot Net MVC Interview Questions And Answers PDF

Previous QuestionNext Question
What are the namespaces used in ASP.NET MVC?What is repository pattern in MVC.NET?