Exercise: Site maps in ASP.NET 4.0

This exercise is provided to allow potential course delegates to choose the correct Wise Owl Microsoft training course, and may not be reproduced in whole or in part in any format without the prior written consent of Wise Owl.

The answer to the exercise will be included and explained if you attend the Wise Owl course listed below!

Category ==> ASP.NET webforms - C#  (25 exercises)
Topic ==> Site navigation tools  (1 exercise)
Level ==> Average difficulty
Course ==> ASP.NET webforms - C#
Before you can do this exercise, you'll need to download and unzip this file (if you have any problems doing this, click here for help).

You need a minimum screen resolution of about 700 pixels width to see our exercises. This is because they contain diagrams and tables which would not be viewable easily on a mobile phone or small laptop. Please use a larger tablet, notebook or desktop computer, or change your screen resolution settings.

Create a new website, and add all of the files in the above folder into it.

The website structure is like this:

ASP.NET 4.0 - C# exercise - Site navigation tools (image 1)

The menu structure of this website

Create a site map file to reflect this structure (it should be obvious what the relevant files are called).

Create and format a menu to show this structure (it absolutely does not have to look like the one shown below, which used autoformatting followed by a few manual tweaks):

ASP.NET 4.0 - C# exercise - Site navigation tools (image 2)

A diagram showing what your menu COULD look like

Add in a tree view (again, it absolutely doesn't have to look like the one shown below):

ASP.NET 4.0 - C# exercise - Site navigation tools (image 3)

This was created using the FAQ autoformat

Finally, create a SiteMapPath control:

ASP.NET 4.0 - C# exercise - Site navigation tools (image 4)

This is what your breadcrumbs will look like in the vanilla version

Save and close down your files!

This page has 0 threads Add post