November 2018
Intermediate to advanced
606 pages
15h 7m
English
In .NET applications, the only thing you have to do to get started is to install the latest Microsoft.ApplicationInsights package. The easiest way is to use the following code snippet:
TelemetryConfiguration.Active.InstrumentationKey = "<instrumentation-key>";var telemetryClient = new TelemetryClient();
This code does two things:
Then you can use different methods to log some data:
telemetryClient.TrackTrace("Hello World!");telemetryClient.TrackException(new Exception());telemetryClient.TrackDependency(new ...