Chapter 15. Extreme ASP.NET 4.0


This chapter covers
  • HttpModules
  • Logging and error handling
  • Extending HttpRuntime
  • How to build a virtual path provider


Extensibility is a driving force of ASP.NET, and this chapter is composed of different techniques used to implement advanced—and probably extreme—ASP.NET-based features.

We described HttpModules and HttpHandlers in chapter 1 from an architectural point of view. In this chapter, we’ll use them to implement common strategies in websites; for example, we’ll look at error handling, which is fundamental for both security and troubleshooting. We’ll use multithreading techniques to increase performance in specific scenarios. Finally, we’ll talk about how HttpRuntime extensibility can address ...

Get ASP.NET 4.0 in Practice 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.