Summary


In this chapter we explored the new health monitoring system based on Web events. We've shown how easy it is to record the myriad of built-in Web events to the event log, SQL Server, WMI, or even to an administrator's e-mail inbox by doing nothing more than updating your web.config file. With a little bit of coding you can add application-level instrumentation using custom Web events. This is so easy to do that there's really no excuse not to do itthe more instrumentation you make available, the easier it is to diagnose problems quickly and save money once you're in production.

We explored the improved ASP.NET tracing facility, and how you can program against it or wire it up to the System.Diagnostics trace engine. And last but certainly not least, we provided you with a glimpse into the future of realtime tracing on this platform: ETW.

Think about management earlier rather than later, and take just a little bit of time to add diagnostic support to your applications. It's a great way to make your life easier when it comes time to debug a live application, and as a side benefit, you may just turn a system administrator into a friend rather than a foe.




Essential ASP. NET 2.0
Essential ASP.NET 2.0
ISBN: 0321237706
EAN: 2147483647
Year: 2006
Pages: 104

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net