Architecture Tools
This is the last post in a series of three where the central theme are the improvements bring the new Visual Studio 2010 IDE, inspired in the event Reloaded Run 2009 that Microsoft made the last novimenbre month in Buenos Aires, Argentina and in which expert speakers showed us and discussed with us (the community) to use these new tools ; to the end of this series of posts I have left a very interesting improvement is the new architecture tools that brings incorporates its VS 2010. To try you need to download (free) the Ultimate version of Visual Studio 2010 beta 2. Visual Studio 2010 Beta 2 can be downloaded from HERE .
Microsoft offers a new versioning scheme for Visual Studio 2010 and is the following: Visual Studio
2010 Professional Visual Studio 2010 Premium
Visual Studio 2010
The Ultimate version is in which we have complete tools for architecture.
The main tools are:
This is the last post in a series of three where the central theme are the improvements bring the new Visual Studio 2010 IDE, inspired in the event Reloaded Run 2009 that Microsoft made the last novimenbre month in Buenos Aires, Argentina and in which expert speakers showed us and discussed with us (the community) to use these new tools ; to the end of this series of posts I have left a very interesting improvement is the new architecture tools that brings incorporates its VS 2010. To try you need to download (free) the Ultimate version of Visual Studio 2010 beta 2. Visual Studio 2010 Beta 2 can be downloaded from HERE .
Microsoft offers a new versioning scheme for Visual Studio 2010 and is the following: Visual Studio
2010 Professional Visual Studio 2010 Premium
Visual Studio 2010
The Ultimate version is in which we have complete tools for architecture.
The main tools are:
- Architecture Explorer (Explorer architecture)
- UML Support (Support UML)
- Layer Diagram (Diagram of layers)
To try these new tools have taken a draft Code Porject page, a site I recommend to everyone interested in software development as a rich source of the most varied resources. The project belongs to Marcelo Ricardo de Oliveira and consists of a Pool game called Snooker. can download the source code here .
Architecture Explorer
With this tool we can get different views of our solutions and Texts of the Draft, this tool is found in the new menu of Architecture.
In the picture we see how the menu is displayed Generate Dependency Graph, this chart as I can be generated by assemblies, by namespace, by class or custom. In this case I'm going to be generated by Namespace and I get the following:
In the picture we see how to generate the graph with the dependencies between each namespace.
CSharpSnookerCore.Model Now expand the node and see the items inside:
We can achieve even more depth if we expand, for example some kind within the previous node and see the methods of the classes Pocket-class example:
In the View menu you can see the Architecture Explorer, our architecture allows us to go so easy, intuitive, and set filters for items
can set filters to facilitate navigation within the elements of the form siquiente:
As we can see, the Architecture Explorer has many options and is a powerful tool that will allow us to expand our vision of poryecto in whole.
Support UML Support for UML (Unified Modeling Language) is a completely new tool in Visual Studio, the creation of models is through a template and we will see below how to make
A draft UML modeling is created like any new project in the File menu, New Project, Projects in the Modeling category there is only one template called
Modeling Project After creating the project we can see the UML Explorer window, which you can access through the View menu, there can add some elements to our model, right-clicking on the model we see the menu
Add
Add a new diagram to the model is as simple as adding any item to a project in the Project menu, Add New Item dialog box see to add a new diagram.
can use the toolbox window to add new elements to the plot or can we use elements that already exist in our model arrastrandalos the diagram.
the same way we can create different types of UML diagrams, using the toolbox items depending on the diagram that we are creating
Layered Diagram (Diagram Layers)
The proposed modeling if we add a diagram of layers (Layer Diagram) shows the following
To add a layer diagram, we can do from the Architecture menu, Add New Diagram, there you will see the following dialog
This diagram is useful because it allows us to group layered structure our project and verify the comunincacion between different layers. Performing the validation of the architecture.
I took the following picture of Skinner's Blog . And you can clearly see the performance of layered diagrams
conclucion
far I have presented the new architecture tools including Microsoft Visual Studio 2010 (remember that this is the Ultimate version and is in Beta 2). Which I think are very helpful and add much value to the IDE. One thing to improve is the lack of a tool that allows me to generate code from UML model (ideal would be the use T4 template? for it) maybe see these features in the final version of VS 2010. The first EXPERIENCE using this tool was very pleasant and very useful, I'm still testing the new VS 2010.
Greetings to all and happy programming!
Architecture Explorer
With this tool we can get different views of our solutions and Texts of the Draft, this tool is found in the new menu of Architecture.
In the picture we see how the menu is displayed Generate Dependency Graph, this chart as I can be generated by assemblies, by namespace, by class or custom. In this case I'm going to be generated by Namespace and I get the following:
In the picture we see how to generate the graph with the dependencies between each namespace.
CSharpSnookerCore.Model Now expand the node and see the items inside:
We can achieve even more depth if we expand, for example some kind within the previous node and see the methods of the classes Pocket-class example:
In the View menu you can see the Architecture Explorer, our architecture allows us to go so easy, intuitive, and set filters for items
can set filters to facilitate navigation within the elements of the form siquiente:
As we can see, the Architecture Explorer has many options and is a powerful tool that will allow us to expand our vision of poryecto in whole.
Support UML Support for UML (Unified Modeling Language) is a completely new tool in Visual Studio, the creation of models is through a template and we will see below how to make
A draft UML modeling is created like any new project in the File menu, New Project, Projects in the Modeling category there is only one template called
Modeling Project After creating the project we can see the UML Explorer window, which you can access through the View menu, there can add some elements to our model, right-clicking on the model we see the menu
Add
Add a new diagram to the model is as simple as adding any item to a project in the Project menu, Add New Item dialog box see to add a new diagram.
can use the toolbox window to add new elements to the plot or can we use elements that already exist in our model arrastrandalos the diagram.
the same way we can create different types of UML diagrams, using the toolbox items depending on the diagram that we are creating
Layered Diagram (Diagram Layers)
The proposed modeling if we add a diagram of layers (Layer Diagram) shows the following
To add a layer diagram, we can do from the Architecture menu, Add New Diagram, there you will see the following dialog
This diagram is useful because it allows us to group layered structure our project and verify the comunincacion between different layers. Performing the validation of the architecture.
I took the following picture of Skinner's Blog . And you can clearly see the performance of layered diagrams
conclucion
far I have presented the new architecture tools including Microsoft Visual Studio 2010 (remember that this is the Ultimate version and is in Beta 2). Which I think are very helpful and add much value to the IDE. One thing to improve is the lack of a tool that allows me to generate code from UML model (ideal would be the use T4 template? for it) maybe see these features in the final version of VS 2010. The first EXPERIENCE using this tool was very pleasant and very useful, I'm still testing the new VS 2010.
Greetings to all and happy programming!
0 comments:
Post a Comment