Summary
In this chapter, you learned how to work with ASP.NET applications. In the first part, you learned how to create items that persist through the lifetime of an application by using application state.
Next, you learned how to use the Global.asax file to handle applicationwide events. For example, you learned how to use the Global.asax file with the RewritePath() method to create vanity URLs and automatically fix bad links at your Web site.
You also examined the various configuration sections in the Web.Config and Machine.Config files. You learned how to lock down settings in the Web.Config file. You also saw how to add your own custom configuration information to this file.
Finally, you learned how to work with HTTP handlers and modules. You examined how to use handlers to handle requests for pages located at a particular path. You also learned how to create modules that participate in every page request.