-
Notifications
You must be signed in to change notification settings - Fork 21.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can ITelemetryInitializer and ITelemetryProcessor be used in .net core console application? #21079
Comments
adding @lmolkova and @cijothomas. I know we have examples on the wiki for ITelemetryInitializer's and Processors for ASP.NET Core. I don't know if we have any console app centric examples for .NET core, but I would be happy to add them to the docs if we do. |
here is the article about it: https://docs.microsoft.com/en-us/azure/application-insights/application-insights-console#full-example This example works for .NEt Core or .NET full framework. if you are on .NET Core, please avoid using TelemetryConfiguration.Active and construct your own with TelemetryConfiguration.CreateDefault() instead. |
This issue is addressed - please-close |
Thank you @cijothomas , @lmolkova and @mrbullwinkle . @imeya Hope your query has been answered, will go ahead and close the issue. Feel free to revert back if you have any further queries. Thank you |
@lmolkova You mentioned that using |
microsoft/ApplicationInsights-dotnet#1152 Active is deprecated for .NET Core. |
can ITelemetryInitializer and ITelemetryProcessor be used in .net core console application?
if yes, could you please provide some samples?
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: