I have a attached a very simple example of instrumenting an ASP.NET application. I've used a Ninject IoC but you should be able to adapt your own IoC to this pretty easily. Take a look at:
- InstrumentationConfig.cs for initializing, setting up debug logging and starting a monitor instance. Note that the product id included does not work so you should replace with your own.
- Global.asax.cs for hooking the instance into IoC, handling shutdown scenarios and tracking application exceptions
- HomeController.cs for simple feature tracking
- Start the web app and try clicking a few items on the home screen, included the 'Exception' link that throws and unhandled application exception
Hope this helps
Monitor web applications with the new EQATEC Application Analytics JS library. Compatible with all modern browsers.
Test it today >>