PrepAway - Latest Free Exam Questions & Answers

Which layer should you recommend?

You are designing a testing methodology for an ASP.NET MVC 2 Web application.
The application has a rich domain model that represents the logic and the data of the business.
A faade over the domain model provides a simplified API that is used by the controllers.
A data access layer beneath the domain model is used by the domain model to handle data storage and retrieval. You have the following requirements:
– Centralize business rules.
– Directly validate the accuracy of the business rules.
You need to design tests against the appropriate layer to meet the requirements.
Which layer should you recommend?

PrepAway - Latest Free Exam Questions & Answers

A.
the controllers

B.
the domain model

C.
the data access layer

D.
the domain model faade


Leave a Reply