ASP.Net MVC Question:
Download Questions PDF

Explain Repository Pattern in ASP.NET MVC?

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?