Open laurentkempe opened 4 years ago
Why use REST API when you have a .NET SDK that will do it for you?
I would like to hear more about it @tsahi which .NET SDK do you talk about?
You can start from here: https://docs.microsoft.com/en-us/azure/azure-monitor/app/console. there is also a newer package specific for non-HTTP application, but I haven't used it: https://docs.microsoft.com/en-us/azure/azure-monitor/app/worker-service
Thanks, but this bring too much dependency which would be bundled with Git Diff Margin! That's exactly what I want to avoid, especially with the very low need I have.
Currently the statistics brought by Visual Studio Marketplace is only about the number of downloads. For example, there is no information about the Visual Studio version in which GitDiffMargin is installed.
Describe the solution you'd like Use Azure Application Insight REST API to log the version of Visual Studio used. See https://dev.applicationinsights.io/reference/post-metrics Use API Explorer https://dev.applicationinsights.io/apiexplorer/postMetrics