logging exceptions into app insights from console application

Solutions on MaxInterview for logging exceptions into app insights from console application by the best coders in the world

showing results for - "logging exceptions into app insights from console application"
Jean-Baptiste
05 May 2016
1// you may use different options to create configuration as shown later in this article
2TelemetryConfiguration configuration = TelemetryConfiguration.CreateDefault();
3configuration.InstrumentationKey = " *your key* ";
4var telemetryClient = new TelemetryClient(configuration);
5telemetryClient.TrackTrace("Hello World!");
6
similar questions