Health monitoring in asp.net 2.0 - logging events
I was about to use the Logging Application Block of the Enterprise Library 2.0 when I found out about the built in Health Monitoring feature in ASP.net 2.0. IMHO, the Logging block is great for an enterprise app but might be overkill for smaller apps.
With just a few lines in web.config, you can easily add health monitoring to your application as described here.
You get the following providers out of the box:
SimpleMailWebEventProvider
TemplatedMailWebEventProvider
SqlWebEventProvider
EventLogWebEventProvider
TraceWebEventProvider
WmiWebEventProvider
MSDN even has an example of how to create a custom provider that writes specified health monitoring event information to a local file.
Very cool J