Skip to main content

By clicking Submit, you agree to the developerWorks terms of use.

The first time you sign into developerWorks, a profile is created for you. Select information in your developerWorks profile is displayed to the public, but you may edit the information at any time. Your first name, last name (unless you choose to hide them), and display name will accompany the content that you post.

All information submitted is secure.

  • Close [x]

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerworks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

By clicking Submit, you agree to the developerWorks terms of use.

All information submitted is secure.

  • Close [x]

Visualize .NET applications with Rational Modeling Extension for Microsoft .NET, Part 1: Getting started with the .NET Visualizer

A tour of the visual diagramming tools that ship with Rational Modeling Extension for Microsoft .NET

Darpan Saini, Software Engineer, IBM
Darpan Saini is a software engineer at the IBM Rational Software Bangalore Lab. He develops for the Rational Software Architect line of products.
Krishna Kishore is a software engineer at the IBM Rational Software Bangalore Lab. He works on the Rational Systems Developer team. His expertise includes UML visual modeling and UML Real Time modeling. He has a Bachelor's degree in Computer Science and Engineering from Osmania University in Hyderabad, India, and a Master's degree in Computer Science and Engineering from SSSIHL,AP, India. You can reach Kishore at krishna.kishore@in.ibm.com.

Summary:  IBM® Rational® Modeling Extension for Microsoft® .NET provides visual diagramming tools that help you gain insight into, and knowledge about, existing .NET applications. It can also help you more easily create and understand new applications. This tutorial will introduce the Rational Modeling Extension for Microsoft .NET Visualizer feature, and help you create new class diagrams, sequence diagrams, topic diagrams, and browse diagrams (these are currently supported for C# code and .NET assemblies). While Rational Modeling Extension for Microsoft .NET provides the drawing surface for modeling, you are advised to use Microsoft Visual Studio 2005 or later for code editing. This tutorial will also talk about reflecting code changes made in Visual Studio 2005 into Rational Modeling Extension for Microsoft .NET.

Date:  05 Jun 2007
Level:  Intermediate PDF:  A4 and Letter (1434 KB | 39 pages)Get Adobe® Reader®

Activity:  15226 views
Comments:  

Before you start

What is code modeling?

What we refer to as simply code modeling is a technology found in IBM® Rational® modeling tools that helps you to depict code-level concepts graphically using UML (Unified Modeling Language) notation, but without relying upon separately persisted UML semantics (abstract syntax). There are many benefits of representing code elements in UML. Most importantly, UML is an open standard, and well-known to the software development community. You can easily understand any complex system by creating diagrams and views that visually represent the internals of a system. Using code modeling technology, you can do this in 3GL domains such as Java™ and C++.

Code modeling is different from the traditional Round Trip Engineering (RTE) capability provided by products such as IBM® Rational Rose® or IBM® Rational® XDE™, as it enjoys the following characteristics:

  • Uses UML notation (concrete syntax)
  • Requires no knowledge of UML semantics (abstract syntax)
  • Requires no knowledge of how 3GL semantics map to UML semantics
  • Compared to traditional RTE, eliminates overhead of 3GL-to-UML mapping and synchronization
  • Compared to traditional RTE, greatly simplifies team workflows
  • Can be used for Mixed-Modeling, where you can depict code elements alongside true UML semantic elements, and alongside depictions of DDL (tables) and other semantic domains

IBM® Rational® Modeling Extension for Microsoft® .NET (hereafter, Rational Modeling Extension for .NET) allows users to visualize (or view) their C# code or .NET assemblies using UML2 notation. It Installs into an IBM® Rational® architecture management tool (such as IBM® Rational® Software Modeler, IBM® Rational® Systems Developer, or IBM® Rational® Software Architect). Because of a dual shell (Rational Modeling Extension for .NET and Visual Studio 2005 running simultaneously) that users experience, visualization with Rational Modeling Extension for .NET is not exactly the same as some of the other visualization capabilities that ship with the just-mentioned architecture tools (for example, Java).


About this series

This series of tutorials covers topics ranging from introducing .NET visualization, to advanced topics such as maintaining links between Visual Studio 2005 and Rational Modeling Extension for .NET and structured references for .NET elements.


About this tutorial

This tutorial walks you through an example with typical operations that you would perform when you develop an application using Rational Modeling Extension for .NET. While doing this, the tutorial uses the following kinds of diagrams:

  • Class diagrams
  • Sequence diagrams
  • Topic diagrams
  • Browse diagrams

Apart from this, the tutorial will also talk about reflecting source code changes made in Visual Studio 2005 (or later) to the models in Rational Modeling Extension for .NET.


Objectives

After completing this tutorial, you will know how to use Rational Modeling Extension for .NET to create class, sequence, browse, and topic diagrams, and to reflect source code changes in Rational Modeling Extension for .NET.


Prerequisites

This tutorial is written for architects and developers alike whose skills and experience with UML and .NET are at a beginning to intermediate level.


System requirements

To work with Rational Modeling Extension for .NET, you will require it to be installed as an extension to Rational Software Architect, Rational Software Modeler, or Rational Systems Developer. In addition, you'll need a copy of Visual Studio 2005. You can download trial versions of these products:

1 of 9 | Next

Comments



Help: Update or add to My dW interests

What's this?

This little timesaver lets you update your My developerWorks profile with just one click! The general subject of this content (AIX and UNIX, Information Management, Lotus, Rational, Tivoli, WebSphere, Java, Linux, Open source, SOA and Web services, Web development, or XML) will be added to the interests section of your profile, if it's not there already. You only need to be logged in to My developerWorks.

And what's the point of adding your interests to your profile? That's how you find other users with the same interests as yours, and see what they're reading and contributing to the community. Your interests also help us recommend relevant developerWorks content to you.

View your My developerWorks profile

Return from help

Help: Remove from My dW interests

What's this?

Removing this interest does not alter your profile, but rather removes this piece of content from a list of all content for which you've indicated interest. In a future enhancement to My developerWorks, you'll be able to see a record of that content.

View your My developerWorks profile

Return from help

static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Rational
ArticleID=227417
TutorialTitle=Visualize .NET applications with Rational Modeling Extension for Microsoft .NET, Part 1: Getting started with the .NET Visualizer
publish-date=06052007
author1-email=darpansaini@in.ibm.com
author1-email-cc=
author2-email=krishna.kishore@in.ibm.com
author2-email-cc=

Next steps from IBM

Rational Modeler is a free, UML 2.1 based environment that helps users to improve communication by specifying, visualizing and documenting their system, architecture and software designs using a standard graphical language.


Tags

Help
Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere).

My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Use the search field to find all types of content in My developerWorks with that tag. Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere). My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Try IBM PureSystems. No charge.