Language

[How Do I:] Configure Email Notification for Health Monitoring on an ASP.NET Web Site

By Chris Pels|25 minutes|
In this video Chris Pels shows how to configure email notification for health monitoring in an ASP.NET web site. First, see how to configure the sending of email in an ASP.NET web site through the use of the element in the web.config file. Next, learn how to add the SimpleMailWebEventProvider which sends emails for health monitoring events as a provider. Then see the standard health monitoring events that can be used with email notification by examining the machine level health monitoring configuration. After reviewing the available events see a rule implemented that maps the "All Events" to the email provider. Upon starting the web site several emails are then sent and examined when they are received in Outlook. Finally, some basic principles of which events might be mapped to the health monitoring email provider are discussed.

DOWNLOADS: Code (C#)|Code (VB)|MP3|MP4|WMV

This article was originally created on September 11, 2008

Author Information

Chris Pels

Chris Pels – Chris has been instrumental in the architecture, development, and implementation of a wide variety of business systems and databases as a technology consultant since 1986. He has extensive experience in business analysis, technical specifications, database design, several programming languages including C# and VB.NET, and statistical analysis. He holds a Ph.D. from The University of Michigan and has been a speaker at Microsoft TechEd, Microsoft DevDays, VSLive, numerous events in New England