Unable to resolve service for type 'System.Diagnostics.DiagnosticListener' while attempting to activate 'Microsoft.AspNetCore.Routing.EndpointRoutingMiddleware' #30
Labels
bug
Something isn't working
Having some trouble whenever EntityFrameworkCore is referenced to the Web App project.
After some testing it appears to throw the exception when any middleware is attempting to retrieve a service during the ApplicationBuilder.Build call. I was able to replicate this on the sample and on a new solution.
Thought that perhaps something was getting lost amongst method invocation calls on the WebApp Startup class in the FunctionsHostStartup<>.BuildFunctionsRequestHandler handler but after stepping through the code I can't see anything.
Any help would be appreciated with this.
EntityFrameworkCore 3.1.8
NL.Serverless.AspNetCore.AzureFunctionsHost 3.0.9
The text was updated successfully, but these errors were encountered: