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
I'm using this with Serilog.Sinks.ApplicationInsights, but AFAIK there seems to be a conflict:
When calling .UseSerilog with the configureLogger parameter, configureLogger (which among other things calls Serilog.Sinks.ApplicationInsights' WriteTo.ApplicationInsights) is executed before ASP.NET Core's ConfigureServices.
ConfigureServices sets up TelemetryConfiguration.Active
WriteTo.ApplicationInsights needs TelemetryConfiguration.Active to be set up correctly