Developer .NET UPDATE, June 3, 2003

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

http://www.winnetmag.com

This Issue Sponsored By

DevConnections Tour--The Conference Comes to You

http://www.devconnections.com/tour

DevConnections--Fall 2003 Dates Announced

http://www.devconnections.com

June 3, 2003--In this issue:

1. Developer .NET Perspectives

  • Designing a Custom .NET Application

2. Announcements

  • Cast Your Vote in Our Annual Readers' Choice Awards!
  • SQL Server Magazine University E-Learning Center

3. Resource

  • Featured Thread: Pages Load Extremely Slowly

4. Events

  • Security 2003 Road Show

5. New and Improved

  • Buy One, Get One Free

6. Contact Us

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

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 so you don't miss the early bird discount:

http://www.devconnections.com/tour

1. Developer .NET Perspectives

by Bill Sheldon, [email protected]

  • Designing a Custom .NET Application
  • I've spent the past several weeks discussing the new features in the recent releases of Visual Studio .NET 2003 and Windows Server 2003. Now it's time to start leveraging some of this knowledge to build an application. To help you do this, I'm going to show you how to design a custom application by adding on to an existing one. Each week, you'll be a step closer to a completed application. To make this a real-world example, I'll base the custom application on an ASP.NET Starter Kit application. Microsoft designed the ASP.NET Starter Kits to give developers a jump on creating applications; the trick is being able to understand the starter kits well enough to customize them.

    You can find the starter kits on the ASP.NET Starter Kits Web site (http://www.asp.net/starterkits). Microsoft currently offers five starter kits, each of which addresses a certain type of application: time tracker, reports, community, commerce, and portal. Interestingly, these starter kits tend to overlap with some existing Microsoft server products. The most obvious overlaps are between the Commerce Starter Kit and Microsoft Commerce Server 2002 and between the Time Tracker Starter Kit and Microsoft Project Server 2002. Commerce Server 2002 and Project Server 2002 aren't small products--and neither are their respective starter kits. For example, each starter kit comes with documentation that explains how to customize the application's look and feel. In the Community Starter Kit, this documentation alone is more than 20 pages long.

    The ASP.NET Starter Kits come complete with source code, project files, and documentation. With these materials, you can not only implement the provided application but also create custom applications. However, to create a custom application, you first need to understand the code and data structures that make up a starter kit.

    I've downloaded several of the starter kits, and each is unique. For the purposes of this column, I'm going to use the Community Starter Kit as the baseline, then develop a custom application from it. When you go to the download page for any of the starter kits, you have six version options spread across three Windows .NET Framework languages: Visual Basic .NET, Visual C# .NET, and Visual J# .NET. I'll show you how to use and adapt the Visual Basic .NET version of the Commerce Starter Kit. However, the concepts are similar in Visual C# .NET and Visual J# .NET, so you can apply what you learn to the applications in those languages.

    For each language, you'll find an "SDK" version and a "VS" version. Microsoft designed the software development kit (SDK) version for those developers who aren't working with Visual Studio .NET (2002 or 2003) and are instead working with a tool such as the Microsoft ASP.NET Web Matrix Project (http://www.asp.net/webmatrix). The SDK version doesn't use code behind modules to separate the UI and application logic. Instead, this version places both the display and the server code in the same physical file. Because I recently discussed Visual Studio .NET 2003's features, I'll show you how to use the VS version of Visual Basic .NET, which is marked as "VB VS".

    You can install the Community Starter Kit on your current development machine as long as that machine is running Microsoft IIS and Microsoft SQL Server. I've installed my copy on a virtual machine that's running Windows 2003, with the "Application Server role (IIS)" enabled. Before I installed the Community Starter Kit, I installed SQL Server 2000 (with mixed-mode authentication enabled) and Visual Studio .NET 2003. When you install SQL Server 2000, make sure that you also install Service Pack 3 (SP3) so that the Slammer virus doesn't infect your machine.

    After you install the Community Starter Kit and see how many files it contains, you'll likely realize that you're facing quite a bit of work to understand how this starter kit operates. But don't fret--I'll walk you through it, step by step. I'll start next week by discussing the Community Starter Kit's database and how you can use Microsoft Visio to modify this database to support our custom application.


    DevConnections--Fall 2003 Dates Announced

    DevConnections = Microsoft ASP.NET Connections + Visual Studio Connections + SQL Server Magazine Connections.

    Now is the time to jump-start your fall 2003 training plans by securing 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. Now is the time to jump-start your fall 2003 training plans by securing 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 three conferences for one low price. Call 800-438-6720 or 203-268-3204 for more information.

    http://www.devconnections.com

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

  • Cast Your Vote in Our Annual Readers' Choice Awards!

  • Which companies and products are the best on the market? Tell us by nominating your favorites in the annual Windows & .NET Magazine Readers' Choice Awards survey. Click here!

    http://www.winnetmag.com/readerschoice

  • SQL Server Magazine University E-Learning Center

  • Discover how you can access the most up-to-date SQL Server training without having to leave your desk or break today's limited training resource budgets! SSMU has gathered the industry's finest instructors to share their expertise with you through a live online classroom setting. Check out SSMU's offerings today!

    http://www.sqlmag.com/ssmu

    Hot Release: FaxBack

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

    http://www.faxback.com/w2ksponorlink/

    3. Resource

  • Featured Thread: Pages Load Extremely Slowly

  • Senior forum member eramgarden is using the Windows .NET Framework for loading Active Server Pages (ASP) files. He loads the ASP files into the Framework and has it create a Web site on the local Microsoft SQL Server box and point to the local database. Usually the first page comes up fine, but other pages load extremely slowly. He tried creating the Web site on the production server instead of the local SQL Server box, but he ran into the same problem. If you've experienced this type of problem when using the Framework, go to the following URL:

    http://www.sqlmag.com/forums/messageview.cfm?catid=9&threadid=15962

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

  • Security 2003 Road Show
  • Join Mark Minasi and Paul Thurrott as they deliver sound security advice at our popular Security 2003 Road Show event.

    http://www.winnetmag.com/roadshows/security2003

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

  • Buy One, Get One Free
  • ComponentOne announced that it's offering Visual Studio .NET 2003 Professional with its ComponentOne Studio for .NET subscription service. ComponentOne Studio for .NET consists of several components that offer ActiveX-based grid controls, reporting and print-preview tools, a Windows .NET Framework charting tool, a comprehensive framework for Microsoft .NET database applications, a set of data-input controls, DBList controls, DBCombo controls, a zip compression tool, a suite of menu and toolbar components, and a spell-checking and thesaurus tool. Contact ComponentOne at 412-681-4343, 800-858-2739, or [email protected]

    http://www.componentone.com

    6. Contact Us

  • About Developer .NET Perspectives -- [email protected]
  • About the newsletter -- [email protected]
  • About technical questions -- http://www.winnetmag.com/forums
  • 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.

    http://www.winnetmag.com/sub.cfm?code=wswi201x1z

    Copyright 2003, Penton Media, Inc.

    Hide comments

    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.
    Publish