Chapter 18. Handling Application-Wide Events

An ASP.NET application raises certain events at the application level. For example, an application event is raised whenever a new user requests a page, whenever an application shuts down, and whenever an unhandled exception occurs.

This chapter discusses two methods of handling application-wide events. You learn how to implement application event-handlers both by using the Global.asax file and by using custom HttpModules. In particular, in this chapter you will learn

  • How to automatically track errors in your application with the Global.asax file

  • How to rewrite requests for one page into requests for another page in the Global.asax file

  • How ...

Get ASP.NET Kick Start now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.