Tip

Tutorial explains ASP.NET 2.0 site navigation

Since ASP.NET 1.x lacked site navigation support, Web developers had to build this functionality themselves, taking into consideration UI, site mapping and the like. With ASP.NET 2.0, that's all taken care of, thanks to built-in site navigation features.

To walk Web developers through this new functionality, Scott Mitchell, writer, consultant and founder of 4GuysFromRolla.com, has assembled a four-part tutorial on site navigation in ASP.NET 2.0. Each chapter includes screen shots and code samples.

  • Part 1 identifies ASP.NET 2.0's navigation Web controls and explains how to define and display a site map.

  • Part 2 provides hints on working programmatically with site maps. Mitchell also describes breadcrumbs, which let end users trace their navigation through an application and, if they get lost, go back to the home page.

  • Part 3 discusses security trimming, a feature that ensures logged-in cannot see site map nodes they are not authorized to view.

  • Part 4, which was published earlier this month, goes into the site map provider. ASP.NET 2.0 contains a standard API but also lets developers create their own; this, Mitchell writes, allows for a custom implementation of the site navigation system that is nonetheless accessible through the SiteMap class.



    More on ASP.NET 2.0 from SearchVB.com

    Reference: ASP.NET 2.0 Learning Guide
    Tip: Master Pages in ASP.NET 2.0 drive uniform design
    RSS: Get news, tips and advice on ASP.NET development right at your desk



    This was first published in February 2006

  • There are Comments. Add yours.

     
    TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

    REGISTER or login:

    Forgot Password?
    By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
    Sort by: OldestNewest

    Forgot Password?

    No problem! Submit your e-mail address below. We'll send you an email containing your password.

    Your password has been sent to:

    Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.