HI I need some help using blazor server app.
I got 'Iodata.GlobalsService' while attempting to activate 'Iodata.SecurityService'.)
dotnet: Unhandled exception.
dotnet: System.AggregateException: Some services are not able to be constructed (Error while validating the service descriptor 'ServiceType: Iodata.SecurityService Lifetime: Scoped ImplementationType: Iodata.SecurityService': Unable to resolve service for type 'Iodata.GlobalsService' while attempting to activate 'Iodata.SecurityService'.)
---> System.InvalidOperationException: Error while validating the service descriptor 'ServiceType: Iodata.SecurityService Lifetime: Scoped ImplementationType: Iodata.SecurityService': Unable to resolve service for type 'Iodata.GlobalsService' while attempting to activate 'Iodata.SecurityService'.
---> System.InvalidOperationException: Unable to resolve service for type 'Iodata.GlobalsService' while attempting to activate 'Iodata.SecurityService'.
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.CreateArgumentCallSites(Type serviceType, Type implementationType, CallSiteChain callSiteChain, ParameterInfo[] parameters, Boolean throwIfCallSiteNotFound)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.CreateConstructorCallSite(ResultCache lifetime, Type serviceType, Type implementationType, CallSiteChain callSiteChain)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.TryCreateExact(ServiceDescriptor descriptor, Type serviceType, CallSiteChain callSiteChain, Int32 slot)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.GetCallSite(ServiceDescriptor serviceDescriptor, CallSiteChain callSiteChain)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngine.ValidateService(ServiceDescriptor descriptor)
--- End of inner exception stack trace ---
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngine.ValidateService(ServiceDescriptor descriptor)
at Microsoft.Extensions.DependencyInjection.ServiceProvider..ctor(IEnumerable`1 serviceDescriptors, ServiceProviderOptions options)
--- End of inner exception stack trace ---
at Microsoft.Extensions.DependencyInjection.ServiceProvider..ctor(IEnumerable`1 serviceDescriptors, ServiceProviderOptions options)
at Microsoft.Extensions.DependencyInjection.ServiceCollectionContainerBuilderExtensions.BuildServiceProvider(IServiceCollection services, ServiceProviderOptions options)
at Microsoft.Extensions.DependencyInjection.DefaultServiceProviderFactory.CreateServiceProvider(IServiceCollection containerBuilder)
at Microsoft.Extensions.Hosting.Internal.ServiceFactoryAdapter`1.CreateServiceProvider(Object containerBuilder)
at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider()
at Microsoft.Extensions.Hosting.HostBuilder.Build()
at Iodata.Program.Main(String[] args) in /Users/doutdex/Documents/oneDrive/OneDrive - telconet.cl/dev/dotnet/iodata/server/Program.cs:line 18
dotnet:
dotnet: watch : Exited with error code 134