none
Application Insights Desktop application RRS feed

  • Question

  • Mine is a desktop application with several tabs, pulling data from web service calls. As Application Insights does not  inherently support for desktop applications, i am trying to find the steps needed to be able to directly call APIs to take advantage of Application Insights. Any idea or direction will be helpful. Thanks
    Tuesday, June 10, 2014 9:55 PM

Answers

All replies

  • take a look at using the AI Server side SDK or Microsoft.ApplicationInsights.Telemetry.Services

    you can pass in the Application Insights Id into the start method:

    http://msdn.microsoft.com/en-us/library/microsoft.applicationinsights.telemetry.services.serveranalytics.start.aspx

    thanks,

    vlad


    This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm

    Thursday, June 12, 2014 6:47 AM
  • Using this API we can LogEvents using ServerAnalytics.BeginRequest().LogEvent. 

    However this api does not have any methods to log an event like LogPageView. how to log a PageViewEvent using that api?

    Web version allows through javascrip like LogPageView("a/b/c") or windows store provides this like ClientAnalyticsChannel.Default.LogPageView("a/b/c"). 
    Monday, June 16, 2014 8:59 PM
  • when using the server side SDK you really have 2 options. LogEvent or TimedEvent.

    thanks,

    vlad


    This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm

    Tuesday, June 17, 2014 8:54 AM
  • Mine is a desktop application with several tabs, pulling data from web service calls. As Application Insights does not  inherently support for desktop applications, i am trying to find the steps needed to be able to directly call APIs to take advantage of Application Insights. Any idea or direction will be helpful. Thanks
    I'm actively developing a solution for this. It's in beta, but available on nuget now.

    http://bc3te.ch/brandonh

    • Proposed as answer by Brandon H_ Monday, May 11, 2015 3:58 PM
    Monday, May 11, 2015 3:57 PM
  • I would recommend you use our "Core" SDK that doesn't do auto-collection, but gives you the ability to programatically collect data:

    http://www.nuget.org/packages/Microsoft.ApplicationInsights/


    Jakub Oleksy | Developer | Visual Studio Online

    Tuesday, May 12, 2015 8:02 PM