Developer .NET UPDATE, July 1, 2003

Developer .NET UPDATE—brought to you by the Windows & .NET Magazine Network

This Issue Sponsored By

DevConnections--Fall 2003 Dates Announced

DevConnections Tour--The Conference Comes to You

July 1, 2003--In this issue:

1. Editor’s Note

2. Developer .NET Perspectives

  • Reverse Engineering the Community Starter Kit's Source Code

3. Announcements

  • Active Directory eBook Chapter 2 Published!
  • Attention Visitors to

4. Events

  • New--Mobile & Wireless Road Show!

5. New and Improved

  • Track Bugs and Manage Projects with One Application

6. Contact Us

  • See this section for a list of ways to contact us.

Sponsor: DevConnections--Fall 2003 Dates Announced

DevConnections = Microsoft ASP.NET Connections + Visual Studio Connections + SQL Server Magazine Connections + Microsoft Office System Conference. Four conferences for the price of one. Over 170 sessions to choose from.

Jump-start your fall 2003 training plans and secure your seat for DevConnections Fall, held Oct 13 - 15 in Palm Springs, CA. Don't miss this chance to get the latest roadmap from Microsoft, learn practical tips and insights that you'll use on the job immediately, and network with the top gurus in the industry.

Register now to receive the lowest possible registration fee plus access to all four conferences for one low price. Call 800-438-6720 or 203-268-3204 for more information.

1. Editor’s Note

In an effort to deliver high-quality content in fewer email messages to your Inbox, we're changing the frequency of Developer .NET UPDATE. Starting with this issue, we'll send out Developer .NET UPDATE twice monthly. You'll receive this newsletter on the first and third Tuesday of each month. Thank you for reading Developer .NET UPDATE!

2. Developer .NET Perspectives

by Bill Sheldon, [email protected]

  • Reverse Engineering the Community Starter Kit's Source Code
  • This week, I continue my discussion about how to understand, customize, and extend the Community Starter Kit, one of five sample ASP.NET implementations that Microsoft makes available on its ASP.NET Web site ( Last week, I provided a quick review of the Community Starter Kit's tables by reverse engineering the Community Starter Kit's database. This week, I show you how to reverse engineer the Community Starter Kit's source code.

    Unlike reverse engineering a database, a process that is driven from within Microsoft Visio, reverse engineering the application code starts within Visual Studio .NET. By navigating to the folder in which you installed the Community Starter Kit--by default, C:\Program Files\ASP.NET Starter Kits\ASP.NET Community Starter Kit (VBVS)\CommunityStarterKit--you can open the communitystarterkitvbvs_v1_0.vbproj project file in Visual Studio .NET. This project file provides access to the Community Starter Kit's source code, which in this case, is an ASP.NET Web application implemented with Visual Basic .NET. After you open the project, go to the Project menu and select Visio UML, then Reverse Engineer. The Reverse Engineer option opens the Select Visio UML File dialog box.

    In the Select Visio UML File dialog box, enter a name for the Visio (.vsd) file you're creating. For this example, I named the file CommunityObjects.vsd. Click Save to start the reverse-engineering process. Visual Studio .NET traverses your object structure, then populates the .vsd file with your project's details. For the Community Starter Kit, you might receive an error during this process; you can ignore this error message.

    Next, Visio automatically starts and opens the new Unified Modeling Language (UML) project. The Visio UML project has three main windows. The focal point of the first main window is Page 1 of the static model diagram, which covers the majority of the project screen. (Similar to Microsoft Excel, in which you can have multiple sheets in a spreadsheet, Visio lets you have multiple pages in this display.) When you reverse engineer a Visual Studio .NET project, this area is initially blank. The Shapes display area is the second main window. This display area works similarly to Visual Studio .NET's Toolbox, although in this case, the display area contains shapes that you can use to design objects. The third window is Model Explorer, which contains information related to the objects in your system. In particular, the Static Model section contains the objects that you've reverse engineered from your project. Within this section, you'll find a reference to the Top Package, then a reference to CommunityStarterKitVBVS_V1_0. CommunityStarterKitVBVS_V1_0 that represents the project that you reverse engineered.

    Before going any further in Visio, let's return to Visual Studio .NET and switch from viewing the project in Solution Explorer to viewing the project in the Class View. The Class View represents all the classes that are available in the project. You'll notice that the Community Starter Kit places all the objects in a hierarchy under "ASPNET-StarterKit-Communities." This hierarchy contains dozens of objects and groupings of objects. Every group from Admin to Services and all the objects from ActivityInfo to WebServiceBoxList are represented in this view. Notice that the structure in Visual Studio .NET's Class View is the same as the object hierarchy in Visio's UML representation. For example, in the Articles group, you'll find the same six objects in both Visual Studio .NET and Visio.

    At this point, you might be wondering about the value of the reverse-engineered source code when the same information is already available in Visual Studio .NET. Unfortunately, Microsoft's reverse-engineering tool for source code is essentially a first-generation tool, and the tool's output is of limited value. Those developers working to develop a full UML model of an existing system can use this tool as a good starting point, but for most developers, the budget for developing such a UML model doesn't exist. However, Visio's UML representation hints at where Visual Studio .NET is headed--a topic that I'll discuss in the next issue.

    Sponsor: DevConnections Tour--The Conference Comes to You

    Can't make it to one of our major conferences? We will bring the conference to you. Join Paul Litwin and Carl Franklin for 2 days of solid, in-depth training in ASP.NET and VB .NET. Special keynote by Microsoft's Rob Howard.

    Attend either the ASP or VB track for the entire two days or move from one track to the other as you desire. Don't miss this chance to get in-depth training from the experts in a highly interactive environment. Bring your questions and get the answers you need. You'll discover new tips and shortcuts to help you build better and more secure applications and web services faster.

    Coming to a city near you. Get ready for the transition in development by learning from the best and keep your competitive edge.

    Register today before these events sell out:

    3. Announcements
    (brought to you by Windows & .NET Magazine and its partners)

  • Active Directory eBook Chapter 2 Published!

  • The second chapter of Windows & .NET Magazine's popular eBook Windows 2003: Active Directory Administration Essentials is now available at no charge! Chapter 2 looks at what's new and improved with Active Directory. Download it now!

  • Attention Visitors to

  • If you've been putting off subscribing to SQL Server Magazine, now's the time to act. Starting July 1, the last 24 issues of SQL Server Magazine online will be locked down and available only to subscribers. For a limited time, subscribe at the best rates ever offered online!

    4. Events
    (brought to you by Windows & .NET Magazine)

  • New--Mobile & Wireless Road Show!
  • Learn more about the wireless and mobility solutions that are available today! Register now for this free event!

    5. New and Improved
    by Sue Cooper, [email protected]

  • Track Bugs and Manage Projects with One Application
  • Elsinore Technologies released Visual Intercept 3.5, enterprise problem-management software that integrates with Microsoft development and productivity tools, such as Microsoft Office, Microsoft Visual SourceSafe, and Windows .NET Framework development tools. The software lets you capture, organize, manage, and communicate problems and incidents in real time. Visual Intercept's Web-based integration with Visual SourceSafe lets developers work on source files within the context of their software-development incidents. Elsinore Technologies used Framework technologies to achieve this integration. Visual Intercept's mass-update capability and macro-based queries let you work effectively in environments with numerous problems. Contact Elsinore Technologies at 919-532-0022, 866-866-0034, or [email protected]

    Sponsored Link

    Integrate FAX into Exchange/Outlook (Whitepaper, ROI, Trial)

    Jerry Honeycutt Desktop Deployment Whitepaper

    6. Contact Us

  • About Developer .NET Perspectives -- [email protected]
  • About the newsletter -- [email protected]
  • About technical questions --
  • About product news -- [email protected]
  • About your subscription -- [email protected]
  • About sponsoring UPDATE -- [email protected]
  • This email newsletter is brought to you by Windows & .NET Magazine, the leading publication for IT professionals deploying Windows and related technologies. Subscribe today.

    Copyright 2003, Penton Media, Inc.

    Hide comments


    • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

    Plain text

    • No HTML tags allowed.
    • Web page addresses and e-mail addresses turn into links automatically.
    • Lines and paragraphs break automatically.