Solved

Is there any easy way to identify the relationship between classess in a project?

Posted on 2012-04-01
7
168 Views
Last Modified: 2012-04-16
Is there any easy way to identify the relationship between classess in a project in VS.NET?

The project could be either Class Library or WebApplication/Web Project.
0
Comment
Question by:Easwaran Paramasivam
  • 3
  • 3
7 Comments
 
LVL 20

Expert Comment

by:BuggyCoder
ID: 37794757
you can see the relationship once you generate class diagram, right click on your library and click view class diagram...
http://msdn.microsoft.com/en-us/library/ff657806.aspx

or you can use tools like visio to generate UML Diagrams for your.
There is another tool called UMLStar....
0
 
LVL 16

Author Comment

by:Easwaran Paramasivam
ID: 37794895
The link that you provided does not provide option to create UML Diagram for existing C# project. How to achieve that?

I have existing project. I would like to created UML diagram for that.
0
 
LVL 20

Assisted Solution

by:BuggyCoder
BuggyCoder earned 500 total points
ID: 37794906
Right click on project and there is view class diagram option....
To add a class diagram based on existing classes or types

    1. In Solution Explorer, select the file(s) that contain the items to display on the class diagram, Multi-selecting files is okay.

    2. Click the View Class Diagram button on the Solution Explorer toolbar.

    3. The class diagram opens in Class Designer and displays all classes and types in the selected files.

To add a class diagram based on an entire project

    1. In Solution Explorer, select the project name.

    2. Click the View Class Diagram button on the Solution Explorer toolbar.

    3. The class diagram opens in Class Designer and displays all classes and types in the project.
0
Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

 
LVL 16

Author Comment

by:Easwaran Paramasivam
ID: 37794919
Well. This is only option for class diagram. What about other kind of diagrams such as sequential diagram?
0
 
LVL 20

Accepted Solution

by:
BuggyCoder earned 500 total points
ID: 37794922
follow the link and other links referred inside:-
http://msdn.microsoft.com/en-us/library/dd409377.aspx
0
 
LVL 40
ID: 37799540
Class diagrams are the only ones provided with the Professional edition of Visual Studio that are used by most programmers as well as with the Premium edition.

In order to have other types of diagrams, you need to buy the Ultimate Edition.
0
 
LVL 16

Author Closing Comment

by:Easwaran Paramasivam
ID: 37850058
Thanks.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question