Aspnetcore.docs: Application Insights example

Created on 27 Jun 2018  Â·  6Comments  Â·  Source: dotnet/AspNetCore.Docs

Can this include the example for Application Insights for folks who didn't want to take dependency on third party providers. I remember it used to be loggerFactory.AddApplicationInsights() in the Configure method before along with loggerFactory.AddDebug(). But dotnet core 2.1 has the Debug and Console loggers moved inside the WebHost.CreateDefaultBuilder. Now I'm not sure what the right way of doing this for Application Insights is.


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

P1 Source - Docs.ms

Most helpful comment

Hello @hiraldesai Thanks for commenting. Yes, this is something we should cover. It may take a while to get to it in a formal way with an in-depth section added to the topic; but in the meantime, let's consider adding an short section and link to ...

https://github.com/Microsoft/ApplicationInsights-aspnetcore/wiki/Logging

@Rick-Anderson @scottaddie Sound good for the time being? I'll circle around to this issue later and do a proper job on documenting this aspect of logging.

All 6 comments

Hello @hiraldesai Thanks for commenting. Yes, this is something we should cover. It may take a while to get to it in a formal way with an in-depth section added to the topic; but in the meantime, let's consider adding an short section and link to ...

https://github.com/Microsoft/ApplicationInsights-aspnetcore/wiki/Logging

@Rick-Anderson @scottaddie Sound good for the time being? I'll circle around to this issue later and do a proper job on documenting this aspect of logging.

@guardrex ping @jeremymeng - he's the AI contact and is very helpful.

@jeremymeng would it be better to send them off to https://docs.microsoft.com/en-us/azure/azure-monitor/app/asp-net-core rather than duplicating content here?

@guardrex see stopgap issue #10511

@Rick-Anderson Very good. I was hoping (am hoping) that it can merely be linked to an existing AI topic. If not, this becomes a section in the Logging topic.

After we have an answer from the AI folks and decide that we'll need to work this issue, do you still want me to do this given that @tdykstra did the last major overhaul to the topic?

@guardrex we got an answer in https://github.com/aspnet/Docs/issues/10511
@tdykstra can do it.

Was this page helpful?
0 / 5 - 0 ratings