You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-monitor/app/api-custom-events-metrics.md
+6-7Lines changed: 6 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,8 +34,8 @@ If you don't have a reference on Application Insights SDK yet:
34
34
35
35
* Add the Application Insights SDK to your project:
36
36
37
-
*[.NET project](./asp-net.md)
38
-
*[.NETCore project](./asp-net-core.md)
37
+
*[ASP.NET project](./asp-net.md)
38
+
*[ASP.NET Core project](./asp-net-core.md)
39
39
*[Java project](./java-in-process-agent.md)
40
40
*[Node.js project](./nodejs.md)
41
41
*[JavaScript in each webpage](./javascript.md)
@@ -85,7 +85,7 @@ var telemetry = applicationInsights.defaultClient;
85
85
86
86
TelemetryClient is thread-safe.
87
87
88
-
For .NET and Java projects, incoming HTTP Requests are automatically captured. You might want to create additional instances of TelemetryClient for other module of your app. For instance, you may have one TelemetryClient instance in your middleware class to report business logic events. You can set properties such as UserId and DeviceId to identify the machine. This information is attached to all events that the instance sends.
88
+
For ASP.NET and Java projects, incoming HTTP Requests are automatically captured. You might want to create additional instances of TelemetryClient for other module of your app. For instance, you may have one TelemetryClient instance in your middleware class to report business logic events. You can set properties such as UserId and DeviceId to identify the machine. This information is attached to all events that the instance sends.
89
89
90
90
*C#*
91
91
@@ -414,7 +414,7 @@ catch (ex)
414
414
415
415
The SDKs catch many exceptions automatically, so you don't always have to call TrackException explicitly.
416
416
417
-
* .NET: [Write code to catch exceptions](./asp-net-exceptions.md).
417
+
*ASP.NET: [Write code to catch exceptions](./asp-net-exceptions.md).
418
418
* Java EE: [Exceptions are caught automatically](./java-in-process-agent.md).
419
419
* JavaScript: Exceptions are caught automatically. If you want to disable automatic collection, add a line to the code snippet that you insert in your webpages:
420
420
@@ -673,7 +673,7 @@ function Authenticated(signInId) {
To avoid mixing up telemetry from development, test, and production environments, you can [create separate Application Insights resources](./create-new-resource.md) and change their keys, depending on the environment.
1025
1025
1026
-
Instead of getting the instrumentation key from the configuration file, you can set it in your code. Set the key in an initialization method, such as global.aspx.cs in an .NET service:
1026
+
Instead of getting the instrumentation key from the configuration file, you can set it in your code. Set the key in an initialization method, such as global.aspx.cs in an ASP.NET service:
1027
1027
1028
1028
*C#*
1029
1029
@@ -1106,7 +1106,6 @@ To determine how long data is kept, see [Data retention and privacy](./data-rete
0 commit comments