Summary

IOTA^_^    

Sams Teach Yourself ASP.NET in 21 Days, Second Edition
By Chris Payne
Table of Contents
Day 18.  Configuring and Deploying ASP.NET Applications


After today's lesson, you should be able to control every aspect of your application, from the UI to the behavior of session state. You learned a lot today, but much of it centers around two main concepts: the global.asax and web.config files.

You learned today that an ASP.NET application consists of all files contained in a virtual directory. This includes assemblies (DLL files), .aspx pages, images, and more. This application is represented on the server at runtime by the HttpApplication object, which contains the properties and methods needed to control the application.

You can take advantage of these properties and methods from the global.asax file. Table 18.1 listed the events of the application that you can build handlers for. These handler methods must use the syntax:

 Application_EventName(Sender as Object, e as EventArgs) 

Next, you learned about the web.config file. This XML file contains a number of sections that you can use to control how your application behaves. When these predefined sections aren't enough, you know how to build your own, as well as handlers to parse them and generate appropriate output.

Finally, you learned just how easy it is to deploy your application. I didn't spend too much time on this topic simply because it is a very easy one to learn. After all, the only thing you need to know is where to copy the files!

Tomorrow you'll learn how to manipulate your content (the output of your pages) without modifying any code at all! This includes topics such as localization and code-behind forms. See you then!


    IOTA^_^    
    Top


    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

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