Chapter 10Modeling with the Class Designer

Wrox.com Code Downloads for this Chapter

The wrox.com code downloads for this chapter are found at www.wrox.com/go/professionalvisualstudio2015 on the Download Code tab. The code and any related support files are located in their own folder for this chapter.

Traditionally, software modeling has been performed separately from coding, often during a design phase that is completed before coding begins. More often than not, the modeling diagrams constructed during design are not kept up to date as the development progresses, and they quickly lose their value as design changes are inevitably made.

In Visual Studio 2015, class diagrams are constructed dynamically from the source code. Any change made to the source code is immediately reflected in the class diagram, and any change to the diagram is also made to the code. This means that they are always up to date, which allows them to become a more integral and useful part of the development process.

This chapter looks at the Class Designer in detail and explains how you can use it to design, visualize, and refactor your class architecture.

Creating a Class Diagram

The design process for an application typically involves ...

Get Professional Visual Studio 2015 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.