Added link to "Enable Application Insights Live Metrics From Code"

Added link to post http://apmtips.com/blog/2017/02/13/enable-application-insights-live-metrics-from-code/
This commit is contained in:
Francisco Beltrao 2018-04-06 08:47:56 +02:00 коммит произвёл GitHub
Родитель 66e2fa5014
Коммит 39a9371cf4
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -75,6 +75,7 @@ In order to have requests and dependencies showing in Application Insights Live
</TelemetryProcessors>
</ApplicationInsights>
```
For more information [check this post](http://apmtips.com/blog/2017/02/13/enable-application-insights-live-metrics-from-code)
### .Net Core
The AI .Net Core SDK's configuration model is quite different from .Net framework's AI SDK. Almost all configuration for .NET Core is done in code. For example the AI SDK for ASP.net Core provides UseApplicationInsights() utility method that lets you set things up in code. When using the service fabric specific nuget package, simply make sure to register the ServiceFabricTelemetryInitializer through dependency injection before calling UseApplicationInsights() method as shown below: