Groups > Asp .Net > Advanced ASP.NET Architecture > Re: Code visualisation with UML




Code visualisation with UML

Code visualisation with UML
Tue, 1 Apr 2008 01:11:33 +0000
Hi, i am trying to develop a website using ASP.NET 2.0 and Visual Basic.NET. 
Being a new developer i find it hard to understand the code  and wondered if
their is a better way of viewing it so i can better understand it. I have been
studying UML and wanted to design some class diagrams and sequence diagrams etc.
 I understand their are tool in the market that perform reverse engeneering 
techniques to your project code and come up with  the UML diagrams for you. 

 I have tried playing around with a few, including MagicDraw UML and Visio 2007
Pro. What i find is that none of these tools are able to create the UML diagrams
for Visual Basic.Net program. Does anyone know of any that do? 

I have also tried to convert my Visual Basic.Net code to C# , which the UML
tools can work with but that seems to not work for me either. I have tried
C-sharper for VB  and another visual # tool. Both did not work. With C-sharper i
cannot seem to get the tool to display as an add-in in visual studio.net 2005
and with the visual # tool i cannot select my project file from the project
folder. it seems to be looking for a Visual Basic. net project file but not
finding it even though the file is present in the folder.

Can someone please suggest either a UML tool i can use that would produce the
UML diagrams from code for me or a utility that would successfully convert my
Visual Basic.Net Website code to C#.

Your help would be very much appreatiated. Thank you
Post Reply
Re: Code visualisation with UML
Thu, 3 Apr 2008 00:28:52 +0000
I feel your pain and have cursed Microsoft since they dumped Visio for
Enterprise Architects which did a decent (not spectacular) job of reverse
engineering. If you just want a basic class and inheritance visualization, you
can try using the Class Diagram object in VS 2005. This object lets you drag and
drop class files onto it and renders them as UML diagrams. It only shows
implicit relationships though (has a and is a) so it may not do all that you
want.

I just used this tool to convert C# 2.0 code to VB.NET 2.0 code and it did a
great job. Maybe it can help you:

http://labs.developerfusion.co.uk/convert/vb-to-csharp.aspx
Post Reply
about | contact