Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 1.27 KB

README.md

File metadata and controls

25 lines (18 loc) · 1.27 KB

HealthMonitoring.NET

HealthMonitoring is built into .NET since v2.0, and is the simplest solution to track & fix your application's errors.

At it's base, you don't have to do anything more than just configure a small section in your web.config to get it up and running

###But there is a lot of other fun stuff you can do with it

  • Log the data to a provider of choice
  • For example a database (.NET comes with automatic setup for this already)
  • "C:\Windows\Microsoft.NET\Framework\vX.XX\aspnet_regsql.exe -w" and you're pretty much set!
  • Hook a backoffice to that database, and now search and filter your events based on MachineId, SiteId, EventTime, EventOccurence, EventType, and more
  • Create a very small class so that you can manually log events of your choice via that same pipeline
  • Everytime you do a try/catch for example
  • Have a small script client-side (for websites) which will automatically forward all ajax and window.onerror events to that same pipeline
  • Use the script to manually forward events

###Quick Links

Some quick links to get you up to speed