--- uid: web-forms/videos/how-do-i/how-do-i-handle-application-events-using-an-httpmodule title: "[How Do I:] Handle Application Events using an HttpModule? | Microsoft Docs" author: rick-anderson description: "Learn how to create an HttpModule that handles application events during the processing of a page request. The sample module will write information to a log..." ms.author: aspnetcontent manager: wpickett ms.date: 09/13/2007 ms.topic: article ms.assetid: a4adedeb-92f9-4d08-a068-fdcdedbae069 ms.technology: dotnet-webforms ms.prod: .net-framework msc.legacyurl: /web-forms/videos/how-do-i/how-do-i-handle-application-events-using-an-httpmodule msc.type: video --- [How Do I:] Handle Application Events using an HttpModule? ==================== by [Chris Pels](https://twitter.com/chrispels) Learn how to create an HttpModule that handles application events during the processing of a page request. The sample module will write information to a log file at various points in the page lifecycle. We also see how the HttpModule is configured for use in a sample web site. [▶ Watch video (19 minutes)](https://channel9.msdn.com/Blogs/ASP-NET-Site-Videos/how-do-i-handle-application-events-using-an-httpmodule)