Closed AnthonyDewhirst closed 1 year ago
Hi AnthonyDewhirst, it looks like you are looking for information about enabling application insights (not yet the profiler) in your project. Could you please file an issue here: https://github.com/microsoft/ApplicationInsights-dotnet? Tagging TimothyMothra for awareness.
I am closing this since it is not actionable for this repo. Feel free to file new issues if/when profiler get into the picture and if there's any trouble.
I created a brand new .net 6 web app and selected enable docker support, I then copied in the latest app insights and configured.
and (appsettings.development.json):
I then ran using "docker" - not docker compose The AI telemetry appeared straight away. All was well.
I then used the instructions at https://learn.microsoft.com/en-us/visualstudio/containers/tutorial-multicontainer?view=vs-2022 to ad the docker-compose project.
I then started using "docker-compose". Now the application insights are no longer collected by visual studio.