Skip to content

Commit 91b91c1

Browse files
authored
Update api-custom-events-metrics.md
Reverting some of the edits per code review
1 parent f41f75a commit 91b91c1

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

articles/azure-monitor/app/api-custom-events-metrics.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ If you don't have a reference on Application Insights SDK yet:
3434

3535
* Add the Application Insights SDK to your project:
3636

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)
3939
* [Java project](./java-in-process-agent.md)
4040
* [Node.js project](./nodejs.md)
4141
* [JavaScript in each webpage](./javascript.md)
@@ -85,7 +85,7 @@ var telemetry = applicationInsights.defaultClient;
8585

8686
TelemetryClient is thread-safe.
8787

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.
8989

9090
*C#*
9191

@@ -414,7 +414,7 @@ catch (ex)
414414

415415
The SDKs catch many exceptions automatically, so you don't always have to call TrackException explicitly.
416416

417-
* .NET: [Write code to catch exceptions](./asp-net-exceptions.md).
417+
* ASP.NET: [Write code to catch exceptions](./asp-net-exceptions.md).
418418
* Java EE: [Exceptions are caught automatically](./java-in-process-agent.md).
419419
* 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:
420420

@@ -673,7 +673,7 @@ function Authenticated(signInId) {
673673
}
674674
```
675675

676-
In an .NET web MVC application, for example:
676+
In an ASP.NET web MVC application, for example:
677677

678678
*Razor*
679679

@@ -1023,7 +1023,7 @@ telemetry.InstrumentationKey = "---my key---";
10231023

10241024
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.
10251025

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:
10271027

10281028
*C#*
10291029

@@ -1106,7 +1106,6 @@ To determine how long data is kept, see [Data retention and privacy](./data-rete
11061106

11071107
## SDK code
11081108

1109-
* [.NETCore SDK](https://github.com/Microsoft/ApplicationInsights-dotnet)
11101109
* [.NET](https://github.com/Microsoft/ApplicationInsights-dotnet)
11111110
* [Windows Server packages](https://github.com/Microsoft/ApplicationInsights-dotnet)
11121111
* [Java SDK](https://github.com/Microsoft/ApplicationInsights-Java)

0 commit comments

Comments
 (0)