System.AggregateException
HResult=0x80131500
Message=Some services are not able to be constructed (Error while validating the service descriptor 'ServiceType: EstiloPlusWeb.Helpers.IConverterHelper Lifetime: Scoped ImplementationType: EstiloPlusWeb.Helpers.ConverterHelper': Unable to resolve service for type 'EstiloPlusWeb.Helpers.CombosHelper' while attempting to activate 'EstiloPlusWeb.Helpers.ConverterHelper'.)
Source=Microsoft.Extensions.DependencyInjection
StackTrace:
at Microsoft.Extensions.DependencyInjection.ServiceProvider..ctor(IEnumerable1 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 EstiloPlusWeb.Program.Main(String[] args) in E:\Proyectos\EstiloPlus\EstiloPlus\EstiloPlusWeb\Program.cs:line 16
System.AggregateException HResult=0x80131500 Message=Some services are not able to be constructed (Error while validating the service descriptor 'ServiceType: EstiloPlusWeb.Helpers.IConverterHelper Lifetime: Scoped ImplementationType: EstiloPlusWeb.Helpers.ConverterHelper': Unable to resolve service for type 'EstiloPlusWeb.Helpers.CombosHelper' while attempting to activate 'EstiloPlusWeb.Helpers.ConverterHelper'.) Source=Microsoft.Extensions.DependencyInjection StackTrace: 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 EstiloPlusWeb.Program.Main(String[] args) in E:\Proyectos\EstiloPlus\EstiloPlus\EstiloPlusWeb\Program.cs:line 16
This exception was originally thrown at this call stack: [External Code]
This exception was originally thrown at this call stack: [External Code]
Inner Exception 1: InvalidOperationException: Error while validating the service descriptor 'ServiceType: EstiloPlusWeb.Helpers.IConverterHelper Lifetime: Scoped ImplementationType: EstiloPlusWeb.Helpers.ConverterHelper': Unable to resolve service for type 'EstiloPlusWeb.Helpers.CombosHelper' while attempting to activate 'EstiloPlusWeb.Helpers.ConverterHelper'.
Inner Exception 1: InvalidOperationException: Error while validating the service descriptor 'ServiceType: EstiloPlusWeb.Helpers.IConverterHelper Lifetime: Scoped ImplementationType: EstiloPlusWeb.Helpers.ConverterHelper': Unable to resolve service for type 'EstiloPlusWeb.Helpers.CombosHelper' while attempting to activate 'EstiloPlusWeb.Helpers.ConverterHelper'.
Inner Exception 2: InvalidOperationException: Unable to resolve service for type 'EstiloPlusWeb.Helpers.CombosHelper' while attempting to activate 'EstiloPlusWeb.Helpers.ConverterHelper'.
Inner Exception 2: InvalidOperationException: Unable to resolve service for type 'EstiloPlusWeb.Helpers.CombosHelper' while attempting to activate 'EstiloPlusWeb.Helpers.ConverterHelper'.
****startup ****startup
namespace EstiloPlusWeb.Helpers { public interface ICombosHelper { IEnumerable GetComboCategorias(); } }
namespace EstiloPlusWeb.Helpers
{
public interface ICombosHelper
{
IEnumerable<SelectListItem> GetComboCategorias();
}
}