This is a migrated thread and some comments may be shown as answers.

Best practice sample?

2 Answers 66 Views
Monitor integration
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Brian
Top achievements
Rank 2
Brian asked on 18 Oct 2013, 06:37 PM
Would it be possible to provide a sample for best pracitces of monitoring a asp.net application, including feature tracking?

2 Answers, 1 is accepted

Sort by
0
Soren
Telerik team
answered on 22 Oct 2013, 08:25 AM
Hi Brian,

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
 
Regards,
Soren
Telerik
JAVASCRIPT MONITOR (BETA) AVAILABLE FOR DOWNLOAD.
Monitor web applications with the new EQATEC Application Analytics JS library. Compatible with all modern browsers.
Test it today >>
0
Soren
Telerik team
answered on 22 Oct 2013, 08:27 AM
Hi Brian,

 Forgot to mention that you should take a look at the following blog post for a bit more insight into tracking with ASP.NET: http://www.telerik.com/analytics/resources/blog/13-06-26/eqatec-analytics-in-asp.net

Let me know if you need further information

Regards,
Soren
Telerik
JAVASCRIPT MONITOR (BETA) AVAILABLE FOR DOWNLOAD.
Monitor web applications with the new EQATEC Application Analytics JS library. Compatible with all modern browsers.
Test it today >>
Tags
Monitor integration
Asked by
Brian
Top achievements
Rank 2
Answers by
Soren
Telerik team
Share this question
or