You are the application architect on your team. You have a straightforward architecture consisting of an ASP.NET MVC Web Application that depends on a Class Library, which contains the Business Logic. The Business Logic uses another Class Library that contains the Data Access code.
No code in the UI should ever use the Data Access library directly.
You need to enforce this architectural requirement.
Which Visual Studio tool should you use?
A. Layer Diagram
B. Directed Graph Document
C. Dependency Graph
D. UML Component Diagram
Correct Answer: A
Explanation/Reference:
In Visual Studio Ultimate, you can use a layer diagram to visualize the high-level, logical architecture of your system. A layer diagram organizes the physical artifacts in your system into logical, abstract groups called layers.
You can specify the intended or existing dependencies between layers. These dependencies, which are represented as arrows, indicate which layers can use or currently use the functionality represented by other layers. By organizing your system into layers that describe distinct roles and functions, a layer diagram can help make it easier for you to understand, reuse, and maintain your code.
Example:
Reference: Visual Studio, Layer Diagrams: Reference
http://msdn.microsoft.com/en-us/library/dd409462.aspx