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
Since I've updated my project dependency SoapCore to version 1.1.0.50, SoapCore isn't able to resolve Scoped or Transient registered service.
Did I miss anything?
Thanks.
Workaround
If I rollback to version 1.1.0.49, everything is working well.
Logs
fail: SoapCore.SoapEndpointMiddleware[0]
An error occurred processing the message
System.InvalidOperationException: Cannot resolve scoped service 'Interfaces.IReportService' from root provider.
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteValidator.ValidateResolution(ServiceCallSite callSite, IServiceScope scope, IServiceScope rootScope)
at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.GetService(Type serviceType)
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
at SoapCore.SoapEndpointMiddleware`1.ProcessMessage(Message requestMessage, SoapMessageEncoder messageEncoder, IAsyncMessageFilter[] asyncMessageFilters, HttpContext httpContext, IServiceProvider serviceProvider) in /_/src/SoapCore/SoapEndpointMiddleware.cs:line 527
at SoapCore.SoapEndpointMiddleware`1.ProcessOperation(HttpContext httpContext, IServiceProvider serviceProvider) in /_/src/SoapCore/SoapEndpointMiddleware.cs:line 328
In SoapEndpointMiddleware.cs file:
The text was updated successfully, but these errors were encountered:
Issue
Since I've updated my project dependency SoapCore to version 1.1.0.50, SoapCore isn't able to resolve Scoped or Transient registered service.
Did I miss anything?
Thanks.
Workaround
If I rollback to version 1.1.0.49, everything is working well.
Logs
In SoapEndpointMiddleware.cs file:
The text was updated successfully, but these errors were encountered: