Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

Posted on 2012-04-01
7
167 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
How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

 
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

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

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

It seems a simple enough task, yet I see repeated questions asking how to do it: how to pass data between two forms. In this article, I will show you the different mechanisms available for you to do just that. This article is directed towards the .N…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

829 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