l xmlns="http://www.w3.org/1999/l">
We have covered a lot of material in this chapter. We started with a discussion of what a web application is, and how we create a new web application using Internet Information Services (IIS). We moved on to the important topic of developing an understanding of web applications, before we looked at the bin directory and the global.asax file. We learned that the bin directory is where we deploy compiled code in ASP.NET and that global.asax allows you to run application-level code. We additionally looked at the file format of global.asax.
Next, we discussed application state management and looked at three areas in detail: Application, Session, and Cache. We compared and contrasted Application versus Cache and gave some code examples showing the implicit and explicit methods used to add items to the Cache. We then looked at a Cache file dependency example.
Application events were covered next and in this section, we looked at the eighteen events supported by ASP.NET. We gave brief overviews of each, covering their naming and syntax, before looking at specific examples of some of the more important events. One of the examples showed how to use the Application_Error event to write to the Windows Event Log.
Finally, we wrapped up the chapter with an Advanced Topics section covering some of the more advanced areas of ASP.NET including asynchronous events, and mapping custom file extensions.
In the next chapter we are going to learn more about how to configure ASP.NET. We will explore topics such as configuring Session to support the various modes discussed in this chapter.