Best practice sample?

3 posts, 0 answers
  1. Brian
    Brian avatar
    28 posts
    Member since:
    Dec 2008

    Posted 18 Oct 2013 Link to this post

    Would it be possible to provide a sample for best pracitces of monitoring a asp.net application, including feature tracking?
  2. Soren
    Admin
    Soren avatar
    44 posts

    Posted 22 Oct 2013 Link to this post

    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 >>
  3. Soren
    Admin
    Soren avatar
    44 posts

    Posted 22 Oct 2013 Link to this post

    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 >>
Back to Top