Day 18. Configuring and Deploying ASP.NET Applications


Sams Teach Yourself ASP.NET in 21 Days, Second Edition
By Chris Payne
Table of Contents
Week 3.  At a Glance

Through the past 17 days, you've learned how to build most of the parts of an application. However, you haven't yet examined how to control the application as a whole. Your applications prior to today have consisted mostly of single pages, occasionally interacting with a few supplemental files. Today, you'll learn how to tie those pages together into a single cohesive application, where all settings and events can be controlled from a single location.

global.asax and web.config are two important files for ASP.NET. The former file controls application events, allowing you to execute code the first time any page in your application is requested, or even every time a page is requested. The latter file contains settings for your application, such as how session state should behave or where to apply security. You'll learn to take advantage of these files today.

Finally, you'll learn just how easy it is to deploy your application to another server. Many times developers build an application on a test machine and transfer it to a production machine when it is complete and bug free. ASP.NET makes this process as easy as it can possibly be.

Today you will cover the following topics:

  • An deeper look at ASP.NET applications

  • What global.asax is and how to use it

  • How to configure ASP.NET using web.config

  • How to use some of the most common configuration settings

  • How to create your own custom settings in ASP.NET

  • How to deploy an ASP.NET application


    Sams Teach Yourself ASP. NET in 21 Days
    Sams Teach Yourself ASP.NET in 21 Days (2nd Edition)
    ISBN: 0672324458
    EAN: 2147483647
    Year: 2003
    Pages: 307
    Authors: Chris Payne

    Similar book on Amazon © 2008-2017.
    If you may any questions please contact us: