I would like to visually design my classes first and then convert them into actual code. I am using VS2010 professional edition. Please recommend me some good online resources for some good hints and practices. I attended a good session in a user group meeting and it was very inspiring to see how easily classes could be visually designed and then converted into code.
Thanks
Visio launches, and the new UML diagram file opens for editing. In Visual Studio, select a solution in the Solution Explorer. On the Project menu, click Add Existing Item. In the Add Existing Solution Item dialog box, select the UML diagram you want, and then click Open.
You can press Ctrl+F12 on the element to view a list of diagram elements and navigate between them. To see the list of methods, fields, and other code elements, select the appropriate icon on the diagram toolbar located on top of the diagram editor. next to them. icon to see class dependencies.
It's a built-in feature. Look at your Solution Explorer,
or right click your project/class and click View Class Diagram
Using the class diagram is quite easy.. Just as an example you can right-click your class and add method/field/whatever from there..
You can find some more info about how to use it here.
There is also the extension for architecture tools.. here you can find an explanation + a link for download
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With