Sample Site


With Visual Studio 2005, you get a sample Website which uses many ASP.NET 2.0 features that will be shown in this chapter. Now let's look into some of the concepts used with this Website.

Try It Out – Create a Personal Website

image from book
  1. Create a new Website by selecting the menu File New Web Site. Select the Personal Web Site Starter Kit as shown in Figure 19-1.

    image from book
    Figure 19-1

  2. View the page Default.aspx in the browser. You will see a page as shown in Figure 19-2.

    image from book
    Figure 19-2

  3. Notice the links on top and bottom, and the YOUR NAME HERE text. This is defined by the master-page Default.master.

  4. Click on the links Resume, Links, Albums. Notice how the navigation is shown in the second line of the page. The navigation is defined with the XML file web.sitemap.

  5. Create an account and login to the site. Security is configured with the file web.config. Security controls as were discussed in the previous chapter are used with this site.

image from book

How you can implement the features from the Personal Website and more in your own site is shown in the next sections.




Beginning Visual C# 2005
Beginning Visual C#supAND#174;/sup 2005
ISBN: B000N7ETVG
EAN: N/A
Year: 2005
Pages: 278

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net