DEV Community

Discussion on: Develop Azure Functions using .NET Core 3.1

Collapse
 
andreasohlund profile image
Andreas Öhlund

Are there any known issues with app insights when running locally?

Previously I could inject a TelemetryConfiguration into my function but since updating to v3 from the preview it blows up with:

Microsoft.Extensions.DependencyInjection.Abstractions: Unable to resolve service for type 'Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration'

Not tested if this works when publishing though.

Collapse
 
andreasohlund profile image
Andreas Öhlund

Ie this no longer works locally docs.microsoft.com/en-us/azure/azu...

Collapse
 
jeffhollan profile image
Jeff Hollan

No known issue but I imagine this is due to in conflicting with its own configuration and potentially something changed between versions. I’d open up a GitHub issue for this one

Collapse
 
eliashdezr profile image
Elias Hdez • Edited

Overall, dependency injection issues has been since the .NET Core 3.0 release. Can you follow up this please?

github.com/Azure/azure-functions-d...

and this

github.com/Azure/azure-functions-d...

Collapse
 
andreasohlund profile image
Andreas Öhlund

Thanks, raised github.com/Azure/azure-functions-h... , seems to be more ppl with the same issue.