Chapter 11. Integrated Tracing and Diagnostics

As the previous chapters of this book show, the IIS 7 and ASP.NET integrated programming environment enables you to implement many of your application requirements in a .NET-compliant language such as C# or Visual Basic. For example, you learned how to use managed code to extend the integrated request processing pipeline to plug in a new managed module, handler, or handler factory, how to extend the integrated configuration system to add a new configuration section, how to extend the integrated imperative management system to add new imperative management classes, how to extend the integrated graphical management system to add new graphical management components such as module pages, task forms, and so on, and how to extend the integrated providers model to add support for new configurable provider-based services.

This chapter shows you how to use the IIS 7 and ASP.NET integrated tracing and diagnostics infrastructure to instrument your managed code with tracing to enable tracking of the execution of your managed code. You learn how to emit trace events from within your managed code, how to route these trace events to the IIS 7 tracing infrastructure, and how to configure the Failed Request Tracing module to consume these trace events.

Integrated Tracing Components

Tracing is a diagnostic system that enables you to trace the execution of your managed code at runtime. The IIS 7 and ASP.NET integrated tracing infrastructure is based on the ...

Get Professional IIS 7 and ASP.NET Integrated Programming 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.