asp tutorials, asp.net tutorials, sample code, and Microsoft news from 15Seconds
Data Access  |   Troubleshooting  |   Security  |   Performance  |   ADSI  |   Upload  |   Email  |   Control Building  |   Component Building  |   Forms  |   XML  |   Web Services  |   ASP.NET  |   .NET Features  |   .NET 2.0  |   App Development  |   App Architecture  |   IIS  |   Wireless
 
Pioneering Active Server
 Power Search








Active News
15 Seconds Weekly Newsletter
• Complete Coverage
• Site Updates
• Upcoming Features

More Free Newsletters
Reference
News
Articles
Archive
Writers
Code Samples
Components
Tools
FAQ
Feedback
Books
Links
DL Archives
Community
Messageboard
List Servers
Mailing List
WebHosts
Consultants
Tech Jobs
15 Seconds
Home
Site Map
Press
Legal
Privacy Policy
internet.commerce














internet.com
IT
Developer
Internet News
Small Business
Personal Technology
International

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

HardwareCentral
Compare products, prices, and stores at Hardware Central!

A Sneak Peek at ASP.NET 2.0's Administrative Tools
By John Peterson
Rating: 3.5 out of 5
Rate this article


  • email this article to a colleague
  • suggest an article

    Introduction

    As I'm sure many developers do, I like writing code. Recognizing a problem and then devising and implementing an elegant solution is exciting. Tweaking the code, finding more efficient algorithms, and even killing bugs all have their own unique appeal. The part that holds very little appeal is the dirty work that goes along with development. If you haven't yet guessed, I'm talking about managing the configuration of your servers and software in order to get your code to run.

    With ASP.NET 2.0 Microsoft has made great strides in increasing developer productivity and has made implementing previously complex solutions relatively easy, but for some reason it's always been the little things that impress me. In ASP.NET that thing is the new ASP.NET administrative tools.

    Since ASP.NET 2.0 is still in Beta 1 as I write this, I'm not going to go into too much depth because I'm sure things will change, but I'll give you lots of pretty pictures to give you a general idea of what's available. After all... this is a "Sneak Peek".

    Internet Services Manager's ASP.NET Tab

    Upon installation ASP.NET 2.0 adds an "ASP.NET" tab to the property pages in the Internet Services Manager. Almost the exact same page appears regardless of the level at which you select properties... the only exception being that the "Edit machine.config" button is available from the site nodes, but not from application level nodes.

    Of particular interest to some of you should be the "ASP.NET Version" drop down box. It lets you select what installed version of the .NET Framework your application will run under... pretty cool huh. This whole side by side deployment thing is pretty nice.

    Oh and another cool point... the next three pictures show the "General" tab of the ASP.NET Configuration Settings at three different levels: the machine level (first), the site level (second), and the application level (third). Notice how in the first picture the settings in the "Connection String Manager" section are in normal type, but in the second, the same settings are italicized. That lets you instantly tell which settings are defined at your current level and which are inherited from above. Comparing the "App Settings" section of the second and third pictures illustrates the same point. I added the "MyName" setting at the site level and as you can see, when viewed from the application level it's italicized to let you know that it was defined at a higher level.



    And if you ever get confused about what level you're currently editing, you can just look at the bottom of the dialog box and the current path is right there.

    Now I know what you're thinking... with all these settings being set via dialog boxes again we must be back to using the metabase! Nope... the settings are relected in the same web.config files you've come to know and love. Here's the site level one that was created for that "MyName" setting I added:

    <?xml version="1.0" encoding="utf-8"?>
    <configuration>
        <appSettings>
            <add key="MyName" value="John Peterson" />
        </appSettings>
    </configuration>
    

    Most of the settings are pretty straight forward but here are screen caps of some of the other tabs for you to take a look at:



    There are a lot of settings on those pages. It sure beats having to make changes to all those into web.config settings by hand doesn't it? And the best part is, that since all the settings are saved back to the web.config files, you still have the benefit of the simple XCopy deployment that we've all grown to love so much. It really is the best of both worlds.

    ASP.NET Web Site Administration Tool

    The other tool I'm going to show you is the ASP.NET Web Site Administration Tool. Now to be honest I'm sort of fuzzy as to whether this is part of ASP.NET or the VS.NET family of products. While everything says ASP.NET, I don't know how you'd access it without using Visual Studio or Visual Web Developer. I'm sure that'll be addressed at some point before launch. Help is also not available in this version... at least in mine!

    A lot of these settings are the same as the ISM versions, but in some cases these pages are easier to use then the GUI versions.





    And just so you're convinced this isn't all smoke and mirrors, here's that sample application setting "MyName" that I added from the ISM version of the config tools earlier. There it is ready and willing to be edited via the HTML version of the tools.

    Conclusion

    I hope you enjoyed taking a look at these two great new administrative tools in ASP.NET 2.0 and are looking forward to them as much as I am. If you'd like to find out more you can always get your own copy of ASP.NET 2.0 and start playing with them today:

    While I've had no real problems with any of the Beta 1 bits, standard disclaimers apply... please don't install Beta software on anything other then test machines... these are still in the testing phase and there is no support from anyone if they should somehow toast your server. If you're not ready to scrap your server and start over from the ground up then you shouldn't install Beta software.

  • Rate This Article
    Not HelpfulMost Helpful
    1 2 3 4 5
    Other Articles
    Jul 21, 2005 - N-Tier Web Applications using ASP.NET 2.0 and SQL Server 2005 - Part 1
    While the .NET Framework made building ASP.NET applications easier then it had ever been in the past, .NET 2.0 builds on that foundation in order to take things to the next level. This article shows you to how to construct an N-Tier ASP.NET 2.0 Web application by leveraging the new features of ASP.NET 2.0 and SQL Server 2005.
    [Read This Article]  [Top]
    Apr 28, 2005 - New Files and Folders in ASP.NET 2.0
    With the release of ASP.NET 2.0, Microsoft has greatly increased the power of ASP.NET by introducing a suite of new features and functionalities. As part of this release, ASP.NET 2.0 also comes with a host of new special files and folders that are meant to be used to implement a specific functionality. This article examines these new files and folders in detail and provides examples that demonstrate how to utilize them to create ASP.NET 2.0 applications.
    [Read This Article]  [Top]
    Mar 10, 2005 - The DataSet Grows Up in ADO.NET 2.0 - Part 2, Cont'd
    Alex Homer continues his detailed look at the major changes to the DataSet class. In this part, he looks at two features that allow developers to work with data in a more structured and efficient way when using the DataSet with a SQL Server 2005 database server.
    [Read This Article]  [Top]
    Mar 9, 2005 - The DataSet Grows Up in ADO.NET 2.0 - Part 2
    Alex Homer continues his detailed look at the major changes to the DataSet class. In this part, he looks at two features that allow developers to work with data in a more structured and efficient way when using the DataSet with a SQL Server 2005 database server.
    [Read This Article]  [Top]
    Mar 3, 2005 - The DataSet Grows Up in ADO.NET 2.0 - Part 1, Cont'd
    In this article, Alex Homer looks at the changes between the version 1.x and version 2.0 DataSet and their associated classes, showing you how you can take advantage of the new features to improve your applications' capabilities and performance.
    [Read This Article]  [Top]
    Mar 2, 2005 - The DataSet Grows Up in ADO.NET 2.0 - Part 1
    In this article, Alex Homer looks at the changes between the version 1.x and version 2.0 DataSet and their associated classes, showing you how you can take advantage of the new features to improve your applications' capabilities and performance.
    [Read This Article]  [Top]
    Feb 16, 2005 - Writing a Custom Membership Provider for the Login Control in ASP.NET 2.0
    In ASP.NET 2.0 and Visual Studio 2005, you can quickly program custom authentication pages with the provided Membership Login controls. In this article, Dina Fleet Berry examines the steps involved in using the Login control with a custom SQL Server membership database.
    [Read This Article]  [Top]
    Dec 29, 2004 - ClickOnce Deployment in .NET Framework 2.0
    In this article, Thiru Thangarathinam examines .NET 2.0's new ClickOnce deployment technology that is designed to ease deployment of Windows forms applications. This new technology not only provides an easy application installation mechanism, it also eases deployment of upgrades to existing applications.
    [Read This Article]  [Top]
    Nov 17, 2004 - The ASP.NET 2.0 TreeView Control
    Thiru Thangarathinam introduces ASP.NET 2.0's new TreeView control which provides a seamless way to consume and display information from hierarchical data sources. The article discusses this new control in depth and explains how to use this feature rich control in your ASP.NET applications.
    [Read This Article]  [Top]
    Oct 20, 2004 - Beyond the DataGrid: An Architectural View of the Data Source Model in ASP.NET 1.x and 2.0
    Dino Esposito discusses the differences between the DataGrid control in version 1.x and 2.0 of ASP.NET. In the process, he also builds an improved version of the 1.x control that can get you some of the new 2.0 features today.
    [Read This Article]  [Top]
    Mailing List
    Want to receive email when the next article is published? Just Click Here to sign up.

    Support the Active Server Industry



    JupiterOnlineMedia

    internet.comearthweb.comDevx.commediabistro.comGraphics.com

    Search:

    Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

    Jupitermedia Corporate Info


    Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

    Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

    Solutions
    Whitepapers and eBooks
    Microsoft Article: Will Hyper-V Make VMware This Decade's Netscape?
    Microsoft Article: 7.0, Microsoft's Lucky Version?
    Microsoft Article: Hyper-V--The Killer Feature in Windows Server 2008
    Avaya Article: How to Feed Data into the Avaya Event Processor
    Microsoft Article: Install What You Need with Windows Server 2008
    HP eBook: Putting the Green into IT
    Whitepaper: HP Integrated Citrix XenServer for HP ProLiant Servers
    Intel Go Parallel Portal: Interview with C++ Guru Herb Sutter, Part 1
    Intel Go Parallel Portal: Interview with C++ Guru Herb Sutter, Part 2--The Future of Concurrency
    Avaya Article: Setting Up a SIP A/S Development Environment
    IBM Article: How Cool Is Your Data Center?
    Microsoft Article: Managing Virtual Machines with Microsoft System Center
    HP eBook: Storage Networking , Part 1
    Microsoft Article: Solving Data Center Complexity with Microsoft System Center Configuration Manager 2007
    MORE WHITEPAPERS, EBOOKS, AND ARTICLES
    Webcasts
    Intel Video: Are Multi-core Processors Here to Stay?
    On-Demand Webcast: Five Virtualization Trends to Watch
    HP Video: Page Cost Calculator
    Intel Video: APIs for Parallel Programming
    HP Webcast: Storage Is Changing Fast - Be Ready or Be Left Behind
    Microsoft Silverlight Video: Creating Fading Controls with Expression Design and Expression Blend 2
    MORE WEBCASTS, PODCASTS, AND VIDEOS
    Downloads and eKits
    Sun Download: Solaris 8 Migration Assistant
    Sybase Download: SQL Anywhere Developer Edition
    Red Gate Download: SQL Backup Pro and free DBA Best Practices eBook
    Red Gate Download: SQL Compare Pro 6
    Iron Speed Designer Application Generator
    MORE DOWNLOADS, EKITS, AND FREE TRIALS
    Tutorials and Demos
    How-to-Article: Preparing for Hyper-Threading Technology and Dual Core Technology
    eTouch PDF: Conquering the Tyranny of E-Mail and Word Processors
    IBM Article: Collaborating in the High-Performance Workplace
    HP Demo: StorageWorks EVA4400
    Intel Featured Algorhythm: Intel Threading Building Blocks--The Pipeline Class
    Microsoft How-to Article: Get Going with Silverlight and Windows Live
    MORE TUTORIALS, DEMOS AND STEP-BY-STEP GUIDES