Skip to content

Commit e99b757

Browse files
authored
Merge pull request #109114 from mrbullwinkle/mrb_03_26_2020_tc.active
update per github issue
2 parents 94ec25e + 6ec3f50 commit e99b757

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

articles/azure-monitor/app/asp-net-dependencies.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Dependency Tracking in Azure Application Insights | Microsoft Docs
33
description: Monitor dependency calls from your on-premises or Microsoft Azure web application with Application Insights.
44
ms.topic: conceptual
5-
ms.date: 06/25/2019
5+
ms.date: 03/26/2020
66

77
---
88

@@ -30,13 +30,15 @@ If you're missing a dependency, or using a different SDK make sure it's in the l
3030

3131
## Setup automatic dependency tracking in Console Apps
3232

33-
To automatically track dependencies from .NET/.NET Core console apps, install the Nuget package `Microsoft.ApplicationInsights.DependencyCollector`, and initialize `DependencyTrackingTelemetryModule` as follows:
33+
To automatically track dependencies from .NET console apps, install the Nuget package `Microsoft.ApplicationInsights.DependencyCollector`, and initialize `DependencyTrackingTelemetryModule` as follows:
3434

3535
```csharp
3636
DependencyTrackingTelemetryModule depModule = new DependencyTrackingTelemetryModule();
3737
depModule.Initialize(TelemetryConfiguration.Active);
3838
```
3939

40+
For .NET Core console apps TelemetryConfiguration.Active is obsolete. Refer to the guidance in the [worker service documentation](https://docs.microsoft.com/azure/azure-monitor/app/worker-service) and the [ASP.NET Core monitoring documentation](https://docs.microsoft.com/azure/azure-monitor/app/asp-net-core)
41+
4042
### How automatic dependency monitoring works?
4143

4244
Dependencies are automatically collected by using one of the following techniques:

0 commit comments

Comments
 (0)