System.AggregateException: ‘Some services are not able to be constructed (Error while validating the service descriptor ‘ServiceType: Microsoft.AspNetCore.Identity.ISecurityStampValidator Lifetime: Scoped ImplementationType: Microsoft.AspNetCore.Identity.SecurityStampValidator`1[Microsoft.AspNetCore.Identity.IdentityUser]’: Unable to resolve service for type ‘AMS.Repository.AMSContext’ while attempting to activate.
Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserStore`9[Microsoft.AspNetCore.Identity.IdentityUser,Microsoft.AspNetCore.Identity.IdentityRole, AMS.Repository.AMSContext, System.String,Microsoft.AspNetCore.Identity.IdentityUserClaim`1[System. String],Microsoft.AspNetCore.Identity.IdentityUserRole`1[System. String],Microsoft.AspNetCore.Identity.IdentityUserLogin`1[System. String],Microsoft.AspNetCore.Identity.IdentityUserToken`1[System. String],Microsoft.AspNetCore.Identity.IdentityRoleClaim`1[System.String]]’.) (Error while validating the service descriptor ‘ServiceType:
Answer
Option 1.
You should add
AddEntityFrameworkStores<TContext>():
services.AddIdentity<IdentityUser, IdentityRole>()
.AddEntityFrameworkStores<WorldContext>();
FWIW, ASP.NET Core 3.1 is not «a little outdated». Documentation referencing that version is so outdated as to be virtually useless. So much changed in 2. X, and even more in 3.X. You should find a different article/tutorial.
Option 2.
public Startup(IHostingEnvironment env)
{
var builder = new ConfigurationBuilder()
.SetBasePath(env.ContentRootPath)
.AddJsonFile("samplewebsettings.json");
Configuration = builder.Build();
}
public IConfigurationRoot Configuration { get; set; }
// This method gets called by the runtime. Use this method to add services to the container.
// For more information on how to configure your application, visit http://go.microsoft.com/fwlink/?LinkID=398940
public void ConfigureServices(IServiceCollection services)
{
// Required to use the Options<T> pattern
services.AddOptions();
// Add settings from the configuration
services.Configure<SampleWebSettings>(Configuration);
// Uncomment to add settings from the code
//services.Configure<SampleWebSettings>(settings =>
//{
// settings.Updates = 17;
//});
services.AddMvc();
// Add application services.
services.AddTransient<IDateTime, SystemDateTime>();
}
Option 3.
If some services are not able to be constructed or you are experiencing issues with configuring ASP.NET Core Identity, there are a few things you can check:
- Check that all the required NuGet packages are installed and up to date. You should have the following packages installed:
1. Microsoft.AspNetCore.Identity
2. Microsoft.AspNetCore.Identity.EntityFrameworkCore (if using EF Core)
- Check that the services are properly configured in the Startup.cs file. Make sure that the AddIdentity and AddIdentityCore methods are being called in the ConfigureServices method, and that the correct options are being passed to them.
- Verify that you have properly configured the database context in the Startup.cs file. If you’re using EF Core, make sure that the UseSqlServer MSSQ or any other Database provider method is being called in the ConfigureServices method and that the correct connection string is being passed to it.
- Verify that the tables for the identity data have been created in the database. You can use the dotnet ef command to create the tables.
- Make sure that the app.UseAuthentication() and app.UseAuthorization() middleware is being called in the Configure method of the Startup.cs file.
- Check if you have any conflicting services that are being added
Related information
Sundar Neupane
I like working on projects with a team that cares about creating beautiful and usable interfaces.
If findandsolve.com felt valuable to you, feel free to share it.
- Remove From My Forums
-
Question
-
User-1355965324 posted
System.AggregateException: ‘Some services are not able to be constructed (Error while validating the service descriptor ‘ServiceType in program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; namespace MyWeather { public class Program { public static void Main(string[] args) { CreateHostBuilder(args).Build().Run(); } public static IHostBuilder CreateHostBuilder(string[] args) => Host.CreateDefaultBuilder(args) .ConfigureWebHostDefaults(webBuilder => { webBuilder.UseStartup<Startup>(); }); } }
My code is given below
Interface using MyWeather.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace MyWeather.Repository.IRepository { public interface IWeatherRepository { Task<IEnumerable<Weather>> GetWeatherAsync(); } } Repo using MyWeather.Models; using MyWeather.Repository.IRepository; using MyWeather.Utility; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Threading.Tasks; namespace MyWeather.Repository { public class WeatherRepository : IWeatherRepository { private readonly IHttpClientFactory _clientFactory; public WeatherRepository(IHttpClientFactory clientFactory) { _clientFactory = clientFactory; } public async Task<IEnumerable<Weather>> GetWeatherAsync() { var url = SD.APILocationUrl; var request = new HttpRequestMessage(HttpMethod.Get, url); var client = _clientFactory.CreateClient(); HttpResponseMessage response = await client.SendAsync(request); IEnumerable<Weather> weather = new List<Weather>(); if (response.StatusCode == System.Net.HttpStatusCode.OK) { var jsonString = await response.Content.ReadAsStringAsync(); return JsonConvert.DeserializeObject<IEnumerable<Weather>>(jsonString); } return null; } } } startup.cs public void ConfigureServices(IServiceCollection services) { services.AddDbContext<ApplicationDbContext>(options => options.UseSqlServer( Configuration.GetConnectionString("DefaultConnection"))); services.AddDefaultIdentity<IdentityUser>(options => options.SignIn.RequireConfirmedAccount = true) .AddEntityFrameworkStores<ApplicationDbContext>(); services.AddScoped<IUnitOfWork,UnitOfWork>(); services.AddScoped<IWeatherRepository, WeatherRepository>(); services.AddControllersWithViews().AddRazorRuntimeCompilation(); services.AddRazorPages(); } Controller using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using MyWeather.Models; using MyWeather.Repository.IRepository; using Microsoft.AspNetCore.Mvc; namespace MyWeather.Areas.Customer.Controllers { [Area("Customer")] public class ForcastController : Controller { private readonly IWeatherRepository _weatherRepository; public Weather Weather { get; set; } public ForcastController(IWeatherRepository weatherRepository) { _weatherRepository = weatherRepository; } public async Task<IActionResult> Index() { var Weather = new List<Weather>(); var weatherList = await _weatherRepository.GetWeatherAsync(); return View(); } } }
Weather.Repository.IRepository.IWeatherRepository Lifetime: Scoped ImplementationType:
My code
Answers
-
User-1355965324 posted
sorry I forgot to add the line in startup
services.AddHttpClient();
-
Marked as answer by
Thursday, October 7, 2021 12:00 AM
-
Marked as answer by
Running latest .NET Core 3.0
Unhandled exception. System.AggregateException: Some services are not able to be constructed (Error while validating the service descriptor ‘ServiceType: Microsoft.Extensions.Hosting.IHostApplicationLifetime Lifetime: Singleton ImplementationType: Microsoft.Extensions.Hosting.Internal.ApplicationLifetime’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.Extensions.Hosting.IHostApplicationLifetime(Microsoft.Extensions.Hosting.Internal.ApplicationLifetime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.Extensions.Hosting.Internal.ApplicationLifetime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.Extensions.Hosting.Internal.ApplicationLifetime>) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.Extensions.Hosting.IHostLifetime Lifetime: Singleton ImplementationType: Microsoft.Extensions.Hosting.Internal.ConsoleLifetime’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.Extensions.Hosting.IHostLifetime(Microsoft.Extensions.Hosting.Internal.ConsoleLifetime) -> Microsoft.Extensions.Hosting.IHostApplicationLifetime(Microsoft.Extensions.Hosting.Internal.ApplicationLifetime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.Extensions.Hosting.Internal.ApplicationLifetime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.Extensions.Hosting.Internal.ApplicationLifetime>) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.Extensions.Hosting.IHost Lifetime: Singleton ImplementationType: Microsoft.Extensions.Hosting.Internal.Host’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.Extensions.Hosting.IHost(Microsoft.Extensions.Hosting.Internal.Host) -> Microsoft.Extensions.Hosting.IHostApplicationLifetime(Microsoft.Extensions.Hosting.Internal.ApplicationLifetime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.Extensions.Hosting.Internal.ApplicationLifetime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.Extensions.Hosting.Internal.ApplicationLifetime>) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.Extensions.Logging.ILoggerFactory Lifetime: Singleton ImplementationType: Microsoft.Extensions.Logging.LoggerFactory’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.AspNetCore.Hosting.IApplicationLifetime Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Hosting.GenericWebHostApplicationLifetime’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.AspNetCore.Hosting.IApplicationLifetime(Microsoft.AspNetCore.Hosting.GenericWebHostApplicationLifetime) -> Microsoft.Extensions.Hosting.IHostApplicationLifetime(Microsoft.Extensions.Hosting.Internal.ApplicationLifetime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.Extensions.Hosting.Internal.ApplicationLifetime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.Extensions.Hosting.Internal.ApplicationLifetime>) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.AspNetCore.Connections.IConnectionListenerFactory Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportFactory’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.AspNetCore.Connections.IConnectionListenerFactory(Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportFactory) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.AspNetCore.Hosting.Server.IServer Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServer’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.AspNetCore.Hosting.Server.IServer(Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServer) -> Microsoft.AspNetCore.Connections.IConnectionListenerFactory(Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportFactory) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.AspNetCore.Routing.Matching.DfaMatcherBuilder Lifetime: Transient ImplementationType: Microsoft.AspNetCore.Routing.Matching.DfaMatcherBuilder’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.AspNetCore.Routing.Matching.DfaMatcherBuilder -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.AspNetCore.Routing.LinkGenerator Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Routing.DefaultLinkGenerator’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.AspNetCore.Routing.LinkGenerator(Microsoft.AspNetCore.Routing.DefaultLinkGenerator) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Routing.DefaultLinkGenerator>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Routing.DefaultLinkGenerator>) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.AspNetCore.Routing.LinkParser Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Routing.DefaultLinkParser’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.AspNetCore.Routing.LinkParser(Microsoft.AspNetCore.Routing.DefaultLinkParser) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Routing.DefaultLinkParser>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Routing.DefaultLinkParser>) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.Extensions.Options.IConfigureOptions1[Microsoft.AspNetCore.Mvc.MvcOptions] Lifetime: Transient ImplementationType: Microsoft.AspNetCore.Mvc.MvcCoreMvcOptionsSetup': A circular dependency was detected for the service of type 'Microsoft.JSInterop.IJSRuntime'. Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.AspNetCore.Mvc.MvcCoreMvcOptionsSetup) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor 'ServiceType: Microsoft.Extensions.Options.IPostConfigureOptions
1[Microsoft.AspNetCore.Mvc.MvcOptions] Lifetime: Transient ImplementationType: Microsoft.AspNetCore.Mvc.Infrastructure.MvcOptionsConfigureCompatibilityOptions’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.Extensions.Options.IPostConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.AspNetCore.Mvc.Infrastructure.MvcOptionsConfigureCompatibilityOptions) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.Extensions.Options.IPostConfigureOptions1[Microsoft.AspNetCore.Mvc.MvcOptions] Lifetime: Transient ImplementationType: Microsoft.AspNetCore.Mvc.MvcCoreMvcOptionsSetup': A circular dependency was detected for the service of type 'Microsoft.JSInterop.IJSRuntime'. Microsoft.Extensions.Options.IPostConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.AspNetCore.Mvc.MvcCoreMvcOptionsSetup) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor 'ServiceType: Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModelFactory Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModelFactory': A circular dependency was detected for the service of type 'Microsoft.JSInterop.IJSRuntime'. Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModelFactory -> System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelProvider> -> Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelProvider(Microsoft.AspNetCore.Mvc.ApplicationModels.DefaultApplicationModelProvider) -> Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsManager<Microsoft.AspNetCore.Mvc.MvcOptions>) -> Microsoft.Extensions.Options.IOptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>> -> Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.AspNetCore.Mvc.MvcCoreMvcOptionsSetup) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor 'ServiceType: Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelProvider Lifetime: Transient ImplementationType: Microsoft.AspNetCore.Mvc.ApplicationModels.DefaultApplicationModelProvider': A circular dependency was detected for the service of type 'Microsoft.JSInterop.IJSRuntime'. Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelProvider(Microsoft.AspNetCore.Mvc.ApplicationModels.DefaultApplicationModelProvider) -> Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsManager<Microsoft.AspNetCore.Mvc.MvcOptions>) -> Microsoft.Extensions.Options.IOptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>> -> Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.AspNetCore.Mvc.MvcCoreMvcOptionsSetup) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor 'ServiceType: Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelProvider Lifetime: Transient ImplementationType: Microsoft.AspNetCore.Mvc.ApplicationModels.ApiBehaviorApplicationModelProvider': A circular dependency was detected for the service of type 'Microsoft.JSInterop.IJSRuntime'. Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelProvider(Microsoft.AspNetCore.Mvc.ApplicationModels.ApiBehaviorApplicationModelProvider) -> Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider(Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelMetadataProvider) -> Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsManager<Microsoft.AspNetCore.Mvc.MvcOptions>) -> Microsoft.Extensions.Options.IOptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>> -> Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.AspNetCore.Mvc.MvcCoreMvcOptionsSetup) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor 'ServiceType: Microsoft.AspNetCore.Mvc.Abstractions.IActionDescriptorProvider Lifetime: Transient ImplementationType: Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerActionDescriptorProvider': A circular dependency was detected for the service of type 'Microsoft.JSInterop.IJSRuntime'. Microsoft.AspNetCore.Mvc.Abstractions.IActionDescriptorProvider(Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerActionDescriptorProvider) -> Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModelFactory -> System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelProvider> -> Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelProvider(Microsoft.AspNetCore.Mvc.ApplicationModels.DefaultApplicationModelProvider) -> Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsManager<Microsoft.AspNetCore.Mvc.MvcOptions>) -> Microsoft.Extensions.Options.IOptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>> -> Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.AspNetCore.Mvc.MvcCoreMvcOptionsSetup) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor 'ServiceType: Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorCollectionProvider Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Mvc.Infrastructure.DefaultActionDescriptorCollectionProvider': A circular dependency was detected for the service of type 'Microsoft.JSInterop.IJSRuntime'. Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorCollectionProvider(Microsoft.AspNetCore.Mvc.Infrastructure.DefaultActionDescriptorCollectionProvider) -> System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.Abstractions.IActionDescriptorProvider> -> Microsoft.AspNetCore.Mvc.Abstractions.IActionDescriptorProvider(Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerActionDescriptorProvider) -> Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModelFactory -> System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelProvider> -> Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelProvider(Microsoft.AspNetCore.Mvc.ApplicationModels.DefaultApplicationModelProvider) -> Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsManager<Microsoft.AspNetCore.Mvc.MvcOptions>) -> Microsoft.Extensions.Options.IOptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>> -> Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.AspNetCore.Mvc.MvcCoreMvcOptionsSetup) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor 'ServiceType: Microsoft.AspNetCore.Mvc.Infrastructure.IActionSelector Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Mvc.Infrastructure.ActionSelector': A circular dependency was detected for the service of type 'Microsoft.JSInterop.IJSRuntime'. Microsoft.AspNetCore.Mvc.Infrastructure.IActionSelector(Microsoft.AspNetCore.Mvc.Infrastructure.ActionSelector) -> Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorCollectionProvider(Microsoft.AspNetCore.Mvc.Infrastructure.DefaultActionDescriptorCollectionProvider) -> System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.Abstractions.IActionDescriptorProvider> -> Microsoft.AspNetCore.Mvc.Abstractions.IActionDescriptorProvider(Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerActionDescriptorProvider) -> Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModelFactory -> System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelProvider> -> Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelProvider(Microsoft.AspNetCore.Mvc.ApplicationModels.DefaultApplicationModelProvider) -> Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsManager<Microsoft.AspNetCore.Mvc.MvcOptions>) -> Microsoft.Extensions.Options.IOptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>> -> Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.AspNetCore.Mvc.MvcCoreMvcOptionsSetup) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor 'ServiceType: Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintCache Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintCache': A circular dependency was detected for the service of type 'Microsoft.JSInterop.IJSRuntime'. Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintCache -> Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorCollectionProvider(Microsoft.AspNetCore.Mvc.Infrastructure.DefaultActionDescriptorCollectionProvider) -> System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.Abstractions.IActionDescriptorProvider> -> Microsoft.AspNetCore.Mvc.Abstractions.IActionDescriptorProvider(Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerActionDescriptorProvider) -> Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModelFactory -> System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelProvider> -> Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelProvider(Microsoft.AspNetCore.Mvc.ApplicationModels.DefaultApplicationModelProvider) -> Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsManager<Microsoft.AspNetCore.Mvc.MvcOptions>) -> Microsoft.Extensions.Options.IOptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>> -> Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.AspNetCore.Mvc.MvcCoreMvcOptionsSetup) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor 'ServiceType: Microsoft.AspNetCore.Routing.MatcherPolicy Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Mvc.Routing.ActionConstraintMatcherPolicy': A circular dependency was detected for the service of type 'Microsoft.JSInterop.IJSRuntime'. Microsoft.AspNetCore.Routing.MatcherPolicy(Microsoft.AspNetCore.Mvc.Routing.ActionConstraintMatcherPolicy) -> Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintCache -> Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorCollectionProvider(Microsoft.AspNetCore.Mvc.Infrastructure.DefaultActionDescriptorCollectionProvider) -> System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.Abstractions.IActionDescriptorProvider> -> Microsoft.AspNetCore.Mvc.Abstractions.IActionDescriptorProvider(Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerActionDescriptorProvider) -> Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModelFactory -> System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelProvider> -> Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelProvider(Microsoft.AspNetCore.Mvc.ApplicationModels.DefaultApplicationModelProvider) -> Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsManager<Microsoft.AspNetCore.Mvc.MvcOptions>) -> Microsoft.Extensions.Options.IOptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>> -> Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.AspNetCore.Mvc.MvcCoreMvcOptionsSetup) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor 'ServiceType: Microsoft.AspNetCore.Mvc.Controllers.IControllerFactory Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Mvc.Controllers.DefaultControllerFactory': A circular dependency was detected for the service of type 'Microsoft.JSInterop.IJSRuntime'. Microsoft.AspNetCore.Mvc.Controllers.IControllerFactory(Microsoft.AspNetCore.Mvc.Controllers.DefaultControllerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.Controllers.IControllerPropertyActivator> -> Microsoft.AspNetCore.Mvc.Controllers.IControllerPropertyActivator(Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionaryControllerPropertyActivator) -> Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider(Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelMetadataProvider) -> Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsManager<Microsoft.AspNetCore.Mvc.MvcOptions>) -> Microsoft.Extensions.Options.IOptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>> -> Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.AspNetCore.Mvc.MvcCoreMvcOptionsSetup) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor 'ServiceType: Microsoft.AspNetCore.Mvc.Controllers.IControllerFactoryProvider Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Mvc.Controllers.ControllerFactoryProvider': A circular dependency was detected for the service of type 'Microsoft.JSInterop.IJSRuntime'. Microsoft.AspNetCore.Mvc.Controllers.IControllerFactoryProvider(Microsoft.AspNetCore.Mvc.Controllers.ControllerFactoryProvider) -> Microsoft.AspNetCore.Mvc.Controllers.IControllerFactory(Microsoft.AspNetCore.Mvc.Controllers.DefaultControllerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.Controllers.IControllerPropertyActivator> -> Microsoft.AspNetCore.Mvc.Controllers.IControllerPropertyActivator(Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionaryControllerPropertyActivator) -> Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider(Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelMetadataProvider) -> Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsManager<Microsoft.AspNetCore.Mvc.MvcOptions>) -> Microsoft.Extensions.Options.IOptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>> -> Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.AspNetCore.Mvc.MvcCoreMvcOptionsSetup) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor 'ServiceType: Microsoft.AspNetCore.Mvc.Infrastructure.IActionInvokerFactory Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Mvc.Infrastructure.ActionInvokerFactory': A circular dependency was detected for the service of type 'Microsoft.JSInterop.IJSRuntime'. Microsoft.AspNetCore.Mvc.Infrastructure.IActionInvokerFactory(Microsoft.AspNetCore.Mvc.Infrastructure.ActionInvokerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.Abstractions.IActionInvokerProvider> -> Microsoft.AspNetCore.Mvc.Abstractions.IActionInvokerProvider(Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvokerProvider) -> Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvokerCache -> Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorCollectionProvider(Microsoft.AspNetCore.Mvc.Infrastructure.DefaultActionDescriptorCollectionProvider) -> System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.Abstractions.IActionDescriptorProvider> -> Microsoft.AspNetCore.Mvc.Abstractions.IActionDescriptorProvider(Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerActionDescriptorProvider) -> Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModelFactory -> System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelProvider> -> Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelProvider(Microsoft.AspNetCore.Mvc.ApplicationModels.DefaultApplicationModelProvider) -> Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsManager<Microsoft.AspNetCore.Mvc.MvcOptions>) -> Microsoft.Extensions.Options.IOptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>> -> Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.AspNetCore.Mvc.MvcCoreMvcOptionsSetup) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor 'ServiceType: Microsoft.AspNetCore.Mvc.Abstractions.IActionInvokerProvider Lifetime: Transient ImplementationType: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvokerProvider': A circular dependency was detected for the service of type 'Microsoft.JSInterop.IJSRuntime'. Microsoft.AspNetCore.Mvc.Abstractions.IActionInvokerProvider(Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvokerProvider) -> Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvokerCache -> Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorCollectionProvider(Microsoft.AspNetCore.Mvc.Infrastructure.DefaultActionDescriptorCollectionProvider) -> System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.Abstractions.IActionDescriptorProvider> -> Microsoft.AspNetCore.Mvc.Abstractions.IActionDescriptorProvider(Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerActionDescriptorProvider) -> Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModelFactory -> System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelProvider> -> Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelProvider(Microsoft.AspNetCore.Mvc.ApplicationModels.DefaultApplicationModelProvider) -> Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsManager<Microsoft.AspNetCore.Mvc.MvcOptions>) -> Microsoft.Extensions.Options.IOptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>> -> Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.AspNetCore.Mvc.MvcCoreMvcOptionsSetup) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor 'ServiceType: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvokerCache Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvokerCache': A circular dependency was detected for the service of type 'Microsoft.JSInterop.IJSRuntime'. Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvokerCache -> Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorCollectionProvider(Microsoft.AspNetCore.Mvc.Infrastructure.DefaultActionDescriptorCollectionProvider) -> System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.Abstractions.IActionDescriptorProvider> -> Microsoft.AspNetCore.Mvc.Abstractions.IActionDescriptorProvider(Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerActionDescriptorProvider) -> Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModelFactory -> System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelProvider> -> Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelProvider(Microsoft.AspNetCore.Mvc.ApplicationModels.DefaultApplicationModelProvider) -> Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsManager<Microsoft.AspNetCore.Mvc.MvcOptions>) -> Microsoft.Extensions.Options.IOptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>> -> Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.AspNetCore.Mvc.MvcCoreMvcOptionsSetup) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor 'ServiceType: Microsoft.AspNetCore.Mvc.Filters.RequestSizeLimitFilter Lifetime: Transient ImplementationType: Microsoft.AspNetCore.Mvc.Filters.RequestSizeLimitFilter': A circular dependency was detected for the service of type 'Microsoft.JSInterop.IJSRuntime'. Microsoft.AspNetCore.Mvc.Filters.RequestSizeLimitFilter -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor 'ServiceType: Microsoft.AspNetCore.Mvc.Filters.DisableRequestSizeLimitFilter Lifetime: Transient ImplementationType: Microsoft.AspNetCore.Mvc.Filters.DisableRequestSizeLimitFilter': A circular dependency was detected for the service of type 'Microsoft.JSInterop.IJSRuntime'. Microsoft.AspNetCore.Mvc.Filters.DisableRequestSizeLimitFilter -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor 'ServiceType: Microsoft.AspNetCore.Mvc.Filters.RequestFormLimitsFilter Lifetime: Transient ImplementationType: Microsoft.AspNetCore.Mvc.Filters.RequestFormLimitsFilter': A circular dependency was detected for the service of type 'Microsoft.JSInterop.IJSRuntime'. Microsoft.AspNetCore.Mvc.Filters.RequestFormLimitsFilter -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor 'ServiceType: Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelMetadataProvider': A circular dependency was detected for the service of type 'Microsoft.JSInterop.IJSRuntime'. Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider(Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelMetadataProvider) -> Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsManager<Microsoft.AspNetCore.Mvc.MvcOptions>) -> Microsoft.Extensions.Options.IOptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>> -> Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.AspNetCore.Mvc.MvcCoreMvcOptionsSetup) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor 'ServiceType: Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderFactory Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderFactory': A circular dependency was detected for the service of type 'Microsoft.JSInterop.IJSRuntime'. Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderFactory(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderFactory) -> Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider(Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelMetadataProvider) -> Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsManager<Microsoft.AspNetCore.Mvc.MvcOptions>) -> Microsoft.Extensions.Options.IOptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>> -> Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.AspNetCore.Mvc.MvcCoreMvcOptionsSetup) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor 'ServiceType: Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder': A circular dependency was detected for the service of type 'Microsoft.JSInterop.IJSRuntime'. Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder -> Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider(Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelMetadataProvider) -> Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsManager<Microsoft.AspNetCore.Mvc.MvcOptions>) -> Microsoft.Extensions.Options.IOptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>> -> Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.AspNetCore.Mvc.MvcCoreMvcOptionsSetup) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor 'ServiceType: Microsoft.AspNetCore.Mvc.Infrastructure.OutputFormatterSelector Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Mvc.Infrastructure.DefaultOutputFormatterSelector': A circular dependency was detected for the service of type 'Microsoft.JSInterop.IJSRuntime'. Microsoft.AspNetCore.Mvc.Infrastructure.OutputFormatterSelector(Microsoft.AspNetCore.Mvc.Infrastructure.DefaultOutputFormatterSelector) -> Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsManager<Microsoft.AspNetCore.Mvc.MvcOptions>) -> Microsoft.Extensions.Options.IOptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>> -> Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.AspNetCore.Mvc.MvcCoreMvcOptionsSetup) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor 'ServiceType: Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor
1[Microsoft.AspNetCore.Mvc.ObjectResult] Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor<Microsoft.AspNetCore.Mvc.ObjectResult>(Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor) -> Microsoft.AspNetCore.Mvc.Infrastructure.OutputFormatterSelector(Microsoft.AspNetCore.Mvc.Infrastructure.DefaultOutputFormatterSelector) -> Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsManager<Microsoft.AspNetCore.Mvc.MvcOptions>) -> Microsoft.Extensions.Options.IOptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>> -> Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.AspNetCore.Mvc.MvcCoreMvcOptionsSetup) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor1[Microsoft.AspNetCore.Mvc.PhysicalFileResult] Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Mvc.Infrastructure.PhysicalFileResultExecutor': A circular dependency was detected for the service of type 'Microsoft.JSInterop.IJSRuntime'. Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor<Microsoft.AspNetCore.Mvc.PhysicalFileResult>(Microsoft.AspNetCore.Mvc.Infrastructure.PhysicalFileResultExecutor) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor 'ServiceType: Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor
1[Microsoft.AspNetCore.Mvc.VirtualFileResult] Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Mvc.Infrastructure.VirtualFileResultExecutor’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor<Microsoft.AspNetCore.Mvc.VirtualFileResult>(Microsoft.AspNetCore.Mvc.Infrastructure.VirtualFileResultExecutor) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor1[Microsoft.AspNetCore.Mvc.FileStreamResult] Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Mvc.Infrastructure.FileStreamResultExecutor': A circular dependency was detected for the service of type 'Microsoft.JSInterop.IJSRuntime'. Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor<Microsoft.AspNetCore.Mvc.FileStreamResult>(Microsoft.AspNetCore.Mvc.Infrastructure.FileStreamResultExecutor) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor 'ServiceType: Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor
1[Microsoft.AspNetCore.Mvc.FileContentResult] Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Mvc.Infrastructure.FileContentResultExecutor’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor<Microsoft.AspNetCore.Mvc.FileContentResult>(Microsoft.AspNetCore.Mvc.Infrastructure.FileContentResultExecutor) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor1[Microsoft.AspNetCore.Mvc.RedirectResult] Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Mvc.Infrastructure.RedirectResultExecutor': A circular dependency was detected for the service of type 'Microsoft.JSInterop.IJSRuntime'. Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor<Microsoft.AspNetCore.Mvc.RedirectResult>(Microsoft.AspNetCore.Mvc.Infrastructure.RedirectResultExecutor) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor 'ServiceType: Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor
1[Microsoft.AspNetCore.Mvc.LocalRedirectResult] Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Mvc.Infrastructure.LocalRedirectResultExecutor’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor<Microsoft.AspNetCore.Mvc.LocalRedirectResult>(Microsoft.AspNetCore.Mvc.Infrastructure.LocalRedirectResultExecutor) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor1[Microsoft.AspNetCore.Mvc.RedirectToActionResult] Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Mvc.Infrastructure.RedirectToActionResultExecutor': A circular dependency was detected for the service of type 'Microsoft.JSInterop.IJSRuntime'. Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor<Microsoft.AspNetCore.Mvc.RedirectToActionResult>(Microsoft.AspNetCore.Mvc.Infrastructure.RedirectToActionResultExecutor) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor 'ServiceType: Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor
1[Microsoft.AspNetCore.Mvc.RedirectToRouteResult] Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Mvc.Infrastructure.RedirectToRouteResultExecutor’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor<Microsoft.AspNetCore.Mvc.RedirectToRouteResult>(Microsoft.AspNetCore.Mvc.Infrastructure.RedirectToRouteResultExecutor) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor1[Microsoft.AspNetCore.Mvc.RedirectToPageResult] Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Mvc.Infrastructure.RedirectToPageResultExecutor': A circular dependency was detected for the service of type 'Microsoft.JSInterop.IJSRuntime'. Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor<Microsoft.AspNetCore.Mvc.RedirectToPageResult>(Microsoft.AspNetCore.Mvc.Infrastructure.RedirectToPageResultExecutor) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor 'ServiceType: Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor
1[Microsoft.AspNetCore.Mvc.ContentResult] Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Mvc.Infrastructure.ContentResultExecutor’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor<Microsoft.AspNetCore.Mvc.ContentResult>(Microsoft.AspNetCore.Mvc.Infrastructure.ContentResultExecutor) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Mvc.Infrastructure.ContentResultExecutor>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Mvc.Infrastructure.ContentResultExecutor>) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor1[Microsoft.AspNetCore.Mvc.JsonResult] Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Mvc.Infrastructure.SystemTextJsonResultExecutor': A circular dependency was detected for the service of type 'Microsoft.JSInterop.IJSRuntime'. Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor<Microsoft.AspNetCore.Mvc.JsonResult>(Microsoft.AspNetCore.Mvc.Infrastructure.SystemTextJsonResultExecutor) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Mvc.Infrastructure.SystemTextJsonResultExecutor>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Mvc.Infrastructure.SystemTextJsonResultExecutor>) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor 'ServiceType: Microsoft.AspNetCore.Mvc.Routing.MvcRouteHandler Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Mvc.Routing.MvcRouteHandler': A circular dependency was detected for the service of type 'Microsoft.JSInterop.IJSRuntime'. Microsoft.AspNetCore.Mvc.Routing.MvcRouteHandler -> Microsoft.AspNetCore.Mvc.Infrastructure.IActionInvokerFactory(Microsoft.AspNetCore.Mvc.Infrastructure.ActionInvokerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.Abstractions.IActionInvokerProvider> -> Microsoft.AspNetCore.Mvc.Abstractions.IActionInvokerProvider(Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvokerProvider) -> Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvokerCache -> Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorCollectionProvider(Microsoft.AspNetCore.Mvc.Infrastructure.DefaultActionDescriptorCollectionProvider) -> System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.Abstractions.IActionDescriptorProvider> -> Microsoft.AspNetCore.Mvc.Abstractions.IActionDescriptorProvider(Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerActionDescriptorProvider) -> Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModelFactory -> System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelProvider> -> Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelProvider(Microsoft.AspNetCore.Mvc.ApplicationModels.DefaultApplicationModelProvider) -> Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsManager<Microsoft.AspNetCore.Mvc.MvcOptions>) -> Microsoft.Extensions.Options.IOptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>> -> Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.AspNetCore.Mvc.MvcCoreMvcOptionsSetup) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor 'ServiceType: Microsoft.AspNetCore.Mvc.Routing.MvcAttributeRouteHandler Lifetime: Transient ImplementationType: Microsoft.AspNetCore.Mvc.Routing.MvcAttributeRouteHandler': A circular dependency was detected for the service of type 'Microsoft.JSInterop.IJSRuntime'. Microsoft.AspNetCore.Mvc.Routing.MvcAttributeRouteHandler -> Microsoft.AspNetCore.Mvc.Infrastructure.IActionInvokerFactory(Microsoft.AspNetCore.Mvc.Infrastructure.ActionInvokerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.Abstractions.IActionInvokerProvider> -> Microsoft.AspNetCore.Mvc.Abstractions.IActionInvokerProvider(Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvokerProvider) -> Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvokerCache -> Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorCollectionProvider(Microsoft.AspNetCore.Mvc.Infrastructure.DefaultActionDescriptorCollectionProvider) -> System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.Abstractions.IActionDescriptorProvider> -> Microsoft.AspNetCore.Mvc.Abstractions.IActionDescriptorProvider(Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerActionDescriptorProvider) -> Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModelFactory -> System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelProvider> -> Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelProvider(Microsoft.AspNetCore.Mvc.ApplicationModels.DefaultApplicationModelProvider) -> Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsManager<Microsoft.AspNetCore.Mvc.MvcOptions>) -> Microsoft.Extensions.Options.IOptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>> -> Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.AspNetCore.Mvc.MvcCoreMvcOptionsSetup) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor 'ServiceType: Microsoft.AspNetCore.Mvc.Routing.ControllerActionEndpointDataSource Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Mvc.Routing.ControllerActionEndpointDataSource': A circular dependency was detected for the service of type 'Microsoft.JSInterop.IJSRuntime'. Microsoft.AspNetCore.Mvc.Routing.ControllerActionEndpointDataSource -> Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorCollectionProvider(Microsoft.AspNetCore.Mvc.Infrastructure.DefaultActionDescriptorCollectionProvider) -> System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.Abstractions.IActionDescriptorProvider> -> Microsoft.AspNetCore.Mvc.Abstractions.IActionDescriptorProvider(Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerActionDescriptorProvider) -> Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModelFactory -> System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelProvider> -> Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelProvider(Microsoft.AspNetCore.Mvc.ApplicationModels.DefaultApplicationModelProvider) -> Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsManager<Microsoft.AspNetCore.Mvc.MvcOptions>) -> Microsoft.Extensions.Options.IOptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>> -> Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.AspNetCore.Mvc.MvcCoreMvcOptionsSetup) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor 'ServiceType: Microsoft.AspNetCore.Mvc.Routing.DynamicControllerEndpointSelector Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Mvc.Routing.DynamicControllerEndpointSelector': A circular dependency was detected for the service of type 'Microsoft.JSInterop.IJSRuntime'. Microsoft.AspNetCore.Mvc.Routing.DynamicControllerEndpointSelector -> Microsoft.AspNetCore.Mvc.Routing.ControllerActionEndpointDataSource -> Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorCollectionProvider(Microsoft.AspNetCore.Mvc.Infrastructure.DefaultActionDescriptorCollectionProvider) -> System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.Abstractions.IActionDescriptorProvider> -> Microsoft.AspNetCore.Mvc.Abstractions.IActionDescriptorProvider(Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerActionDescriptorProvider) -> Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModelFactory -> System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelProvider> -> Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelProvider(Microsoft.AspNetCore.Mvc.ApplicationModels.DefaultApplicationModelProvider) -> Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsManager<Microsoft.AspNetCore.Mvc.MvcOptions>) -> Microsoft.Extensions.Options.IOptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>> -> Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.AspNetCore.Mvc.MvcCoreMvcOptionsSetup) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor 'ServiceType: Microsoft.AspNetCore.Routing.MatcherPolicy Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Mvc.Routing.DynamicControllerEndpointMatcherPolicy': A circular dependency was detected for the service of type 'Microsoft.JSInterop.IJSRuntime'. Microsoft.AspNetCore.Routing.MatcherPolicy(Microsoft.AspNetCore.Mvc.Routing.DynamicControllerEndpointMatcherPolicy) -> Microsoft.AspNetCore.Mvc.Routing.DynamicControllerEndpointSelector -> Microsoft.AspNetCore.Mvc.Routing.ControllerActionEndpointDataSource -> Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorCollectionProvider(Microsoft.AspNetCore.Mvc.Infrastructure.DefaultActionDescriptorCollectionProvider) -> System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.Abstractions.IActionDescriptorProvider> -> Microsoft.AspNetCore.Mvc.Abstractions.IActionDescriptorProvider(Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerActionDescriptorProvider) -> Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModelFactory -> System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelProvider> -> Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelProvider(Microsoft.AspNetCore.Mvc.ApplicationModels.DefaultApplicationModelProvider) -> Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsManager<Microsoft.AspNetCore.Mvc.MvcOptions>) -> Microsoft.Extensions.Options.IOptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>> -> Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.AspNetCore.Mvc.MvcCoreMvcOptionsSetup) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor 'ServiceType: Microsoft.AspNetCore.Authorization.IAuthorizationService Lifetime: Transient ImplementationType: Microsoft.AspNetCore.Authorization.DefaultAuthorizationService': A circular dependency was detected for the service of type 'Microsoft.JSInterop.IJSRuntime'. Microsoft.AspNetCore.Authorization.IAuthorizationService(Microsoft.AspNetCore.Authorization.DefaultAuthorizationService) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Authorization.DefaultAuthorizationService>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Authorization.DefaultAuthorizationService>) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor 'ServiceType: Microsoft.AspNetCore.Authorization.Policy.IPolicyEvaluator Lifetime: Transient ImplementationType: Microsoft.AspNetCore.Authorization.Policy.PolicyEvaluator': A circular dependency was detected for the service of type 'Microsoft.JSInterop.IJSRuntime'. Microsoft.AspNetCore.Authorization.Policy.IPolicyEvaluator(Microsoft.AspNetCore.Authorization.Policy.PolicyEvaluator) -> Microsoft.AspNetCore.Authorization.IAuthorizationService(Microsoft.AspNetCore.Authorization.DefaultAuthorizationService) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Authorization.DefaultAuthorizationService>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Authorization.DefaultAuthorizationService>) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor 'ServiceType: Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelProvider Lifetime: Transient ImplementationType: Microsoft.AspNetCore.Mvc.ApplicationModels.AuthorizationApplicationModelProvider': A circular dependency was detected for the service of type 'Microsoft.JSInterop.IJSRuntime'. Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelProvider(Microsoft.AspNetCore.Mvc.ApplicationModels.AuthorizationApplicationModelProvider) -> Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsManager<Microsoft.AspNetCore.Mvc.MvcOptions>) -> Microsoft.Extensions.Options.IOptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>> -> Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.AspNetCore.Mvc.MvcCoreMvcOptionsSetup) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor 'ServiceType: Microsoft.AspNetCore.DataProtection.Internal.IActivator Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.DataProtection.TypeForwardingActivator': A circular dependency was detected for the service of type 'Microsoft.JSInterop.IJSRuntime'. Microsoft.AspNetCore.DataProtection.Internal.IActivator(Microsoft.AspNetCore.DataProtection.TypeForwardingActivator) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor 'ServiceType: Microsoft.Extensions.Options.IConfigureOptions
1[Microsoft.AspNetCore.DataProtection.KeyManagement.KeyManagementOptions] Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.DataProtection.Internal.KeyManagementOptionsSetup’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.DataProtection.KeyManagement.KeyManagementOptions>(Microsoft.AspNetCore.DataProtection.Internal.KeyManagementOptionsSetup) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.AspNetCore.DataProtection.KeyManagement.IKeyManager Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.AspNetCore.DataProtection.KeyManagement.IKeyManager(Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager) -> Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.DataProtection.KeyManagement.KeyManagementOptions>(Microsoft.Extensions.Options.OptionsManager<Microsoft.AspNetCore.DataProtection.KeyManagement.KeyManagementOptions>) -> Microsoft.Extensions.Options.IOptionsFactory<Microsoft.AspNetCore.DataProtection.KeyManagement.KeyManagementOptions>(Microsoft.Extensions.Options.OptionsFactory<Microsoft.AspNetCore.DataProtection.KeyManagement.KeyManagementOptions>) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.DataProtection.KeyManagement.KeyManagementOptions>> -> Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.DataProtection.KeyManagement.KeyManagementOptions>(Microsoft.AspNetCore.DataProtection.Internal.KeyManagementOptionsSetup) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.Extensions.Hosting.IHostedService Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.DataProtection.Internal.DataProtectionHostedService’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.Extensions.Hosting.IHostedService(Microsoft.AspNetCore.DataProtection.Internal.DataProtectionHostedService) -> Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.IKeyRingProvider(Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider) -> Microsoft.AspNetCore.DataProtection.KeyManagement.IKeyManager(Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager) -> Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.DataProtection.KeyManagement.KeyManagementOptions>(Microsoft.Extensions.Options.OptionsManager<Microsoft.AspNetCore.DataProtection.KeyManagement.KeyManagementOptions>) -> Microsoft.Extensions.Options.IOptionsFactory<Microsoft.AspNetCore.DataProtection.KeyManagement.KeyManagementOptions>(Microsoft.Extensions.Options.OptionsFactory<Microsoft.AspNetCore.DataProtection.KeyManagement.KeyManagementOptions>) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.DataProtection.KeyManagement.KeyManagementOptions>> -> Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.DataProtection.KeyManagement.KeyManagementOptions>(Microsoft.AspNetCore.DataProtection.Internal.KeyManagementOptionsSetup) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.IDefaultKeyResolver Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.DataProtection.KeyManagement.DefaultKeyResolver’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.IDefaultKeyResolver(Microsoft.AspNetCore.DataProtection.KeyManagement.DefaultKeyResolver) -> Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.DataProtection.KeyManagement.KeyManagementOptions>(Microsoft.Extensions.Options.OptionsManager<Microsoft.AspNetCore.DataProtection.KeyManagement.KeyManagementOptions>) -> Microsoft.Extensions.Options.IOptionsFactory<Microsoft.AspNetCore.DataProtection.KeyManagement.KeyManagementOptions>(Microsoft.Extensions.Options.OptionsFactory<Microsoft.AspNetCore.DataProtection.KeyManagement.KeyManagementOptions>) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.DataProtection.KeyManagement.KeyManagementOptions>> -> Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.DataProtection.KeyManagement.KeyManagementOptions>(Microsoft.AspNetCore.DataProtection.Internal.KeyManagementOptionsSetup) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.IKeyRingProvider Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.IKeyRingProvider(Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider) -> Microsoft.AspNetCore.DataProtection.KeyManagement.IKeyManager(Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager) -> Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.DataProtection.KeyManagement.KeyManagementOptions>(Microsoft.Extensions.Options.OptionsManager<Microsoft.AspNetCore.DataProtection.KeyManagement.KeyManagementOptions>) -> Microsoft.Extensions.Options.IOptionsFactory<Microsoft.AspNetCore.DataProtection.KeyManagement.KeyManagementOptions>(Microsoft.Extensions.Options.OptionsFactory<Microsoft.AspNetCore.DataProtection.KeyManagement.KeyManagementOptions>) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.DataProtection.KeyManagement.KeyManagementOptions>> -> Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.DataProtection.KeyManagement.KeyManagementOptions>(Microsoft.AspNetCore.DataProtection.Internal.KeyManagementOptionsSetup) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.AspNetCore.Antiforgery.IAntiforgery Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Antiforgery.DefaultAntiforgery’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.AspNetCore.Antiforgery.IAntiforgery(Microsoft.AspNetCore.Antiforgery.DefaultAntiforgery) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Mvc.ViewEngines.CompositeViewEngine’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine(Microsoft.AspNetCore.Mvc.ViewEngines.CompositeViewEngine) -> Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcViewOptions>(Microsoft.Extensions.Options.OptionsManager<Microsoft.AspNetCore.Mvc.MvcViewOptions>) -> Microsoft.Extensions.Options.IOptionsFactory<Microsoft.AspNetCore.Mvc.MvcViewOptions>(Microsoft.Extensions.Options.OptionsFactory<Microsoft.AspNetCore.Mvc.MvcViewOptions>) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcViewOptions>> -> Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcViewOptions>(Microsoft.Extensions.DependencyInjection.MvcRazorMvcViewOptionsSetup) -> Microsoft.AspNetCore.Mvc.Razor.IRazorViewEngine(Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine) -> Microsoft.AspNetCore.Mvc.Razor.IRazorPageFactoryProvider(Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultRazorPageFactoryProvider) -> Microsoft.AspNetCore.Mvc.Razor.Compilation.IViewCompilerProvider(Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompilerProvider) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor1[Microsoft.AspNetCore.Mvc.ViewResult] Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Mvc.ViewFeatures.ViewResultExecutor': A circular dependency was detected for the service of type 'Microsoft.JSInterop.IJSRuntime'. Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor<Microsoft.AspNetCore.Mvc.ViewResult>(Microsoft.AspNetCore.Mvc.ViewFeatures.ViewResultExecutor) -> Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcViewOptions>(Microsoft.Extensions.Options.OptionsManager<Microsoft.AspNetCore.Mvc.MvcViewOptions>) -> Microsoft.Extensions.Options.IOptionsFactory<Microsoft.AspNetCore.Mvc.MvcViewOptions>(Microsoft.Extensions.Options.OptionsFactory<Microsoft.AspNetCore.Mvc.MvcViewOptions>) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcViewOptions>> -> Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcViewOptions>(Microsoft.Extensions.DependencyInjection.MvcRazorMvcViewOptionsSetup) -> Microsoft.AspNetCore.Mvc.Razor.IRazorViewEngine(Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine) -> Microsoft.AspNetCore.Mvc.Razor.IRazorPageFactoryProvider(Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultRazorPageFactoryProvider) -> Microsoft.AspNetCore.Mvc.Razor.Compilation.IViewCompilerProvider(Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompilerProvider) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor 'ServiceType: Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor
1[Microsoft.AspNetCore.Mvc.PartialViewResult] Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Mvc.ViewFeatures.PartialViewResultExecutor’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor<Microsoft.AspNetCore.Mvc.PartialViewResult>(Microsoft.AspNetCore.Mvc.ViewFeatures.PartialViewResultExecutor) -> Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcViewOptions>(Microsoft.Extensions.Options.OptionsManager<Microsoft.AspNetCore.Mvc.MvcViewOptions>) -> Microsoft.Extensions.Options.IOptionsFactory<Microsoft.AspNetCore.Mvc.MvcViewOptions>(Microsoft.Extensions.Options.OptionsFactory<Microsoft.AspNetCore.Mvc.MvcViewOptions>) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcViewOptions>> -> Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcViewOptions>(Microsoft.Extensions.DependencyInjection.MvcRazorMvcViewOptionsSetup) -> Microsoft.AspNetCore.Mvc.Razor.IRazorViewEngine(Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine) -> Microsoft.AspNetCore.Mvc.Razor.IRazorPageFactoryProvider(Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultRazorPageFactoryProvider) -> Microsoft.AspNetCore.Mvc.Razor.Compilation.IViewCompilerProvider(Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompilerProvider) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.AspNetCore.Mvc.Controllers.IControllerPropertyActivator Lifetime: Transient ImplementationType: Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionaryControllerPropertyActivator’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.AspNetCore.Mvc.Controllers.IControllerPropertyActivator(Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionaryControllerPropertyActivator) -> Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider(Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelMetadataProvider) -> Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsManager<Microsoft.AspNetCore.Mvc.MvcOptions>) -> Microsoft.Extensions.Options.IOptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>> -> Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.AspNetCore.Mvc.MvcCoreMvcOptionsSetup) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper Lifetime: Transient ImplementationType: Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper(Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper) -> Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator(Microsoft.AspNetCore.Mvc.ViewFeatures.DefaultHtmlGenerator) -> Microsoft.AspNetCore.Antiforgery.IAntiforgery(Microsoft.AspNetCore.Antiforgery.DefaultAntiforgery) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Mvc.ViewFeatures.DefaultHtmlGenerator’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator(Microsoft.AspNetCore.Mvc.ViewFeatures.DefaultHtmlGenerator) -> Microsoft.AspNetCore.Antiforgery.IAntiforgery(Microsoft.AspNetCore.Antiforgery.DefaultAntiforgery) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExpressionProvider Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExpressionProvider’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExpressionProvider -> Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider(Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelMetadataProvider) -> Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsManager<Microsoft.AspNetCore.Mvc.MvcOptions>) -> Microsoft.Extensions.Options.IOptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>> -> Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.AspNetCore.Mvc.MvcCoreMvcOptionsSetup) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.AspNetCore.Mvc.ViewFeatures.ValidationHtmlAttributeProvider Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Mvc.ViewFeatures.DefaultValidationHtmlAttributeProvider’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.AspNetCore.Mvc.ViewFeatures.ValidationHtmlAttributeProvider(Microsoft.AspNetCore.Mvc.ViewFeatures.DefaultValidationHtmlAttributeProvider) -> Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcViewOptions>(Microsoft.Extensions.Options.OptionsManager<Microsoft.AspNetCore.Mvc.MvcViewOptions>) -> Microsoft.Extensions.Options.IOptionsFactory<Microsoft.AspNetCore.Mvc.MvcViewOptions>(Microsoft.Extensions.Options.OptionsFactory<Microsoft.AspNetCore.Mvc.MvcViewOptions>) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcViewOptions>> -> Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcViewOptions>(Microsoft.Extensions.DependencyInjection.MvcRazorMvcViewOptionsSetup) -> Microsoft.AspNetCore.Mvc.Razor.IRazorViewEngine(Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine) -> Microsoft.AspNetCore.Mvc.Razor.IRazorPageFactoryProvider(Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultRazorPageFactoryProvider) -> Microsoft.AspNetCore.Mvc.Razor.Compilation.IViewCompilerProvider(Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompilerProvider) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor1[Microsoft.AspNetCore.Mvc.ViewComponentResult] Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Mvc.ViewFeatures.ViewComponentResultExecutor': A circular dependency was detected for the service of type 'Microsoft.JSInterop.IJSRuntime'. Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor<Microsoft.AspNetCore.Mvc.ViewComponentResult>(Microsoft.AspNetCore.Mvc.ViewFeatures.ViewComponentResultExecutor) -> Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcViewOptions>(Microsoft.Extensions.Options.OptionsManager<Microsoft.AspNetCore.Mvc.MvcViewOptions>) -> Microsoft.Extensions.Options.IOptionsFactory<Microsoft.AspNetCore.Mvc.MvcViewOptions>(Microsoft.Extensions.Options.OptionsFactory<Microsoft.AspNetCore.Mvc.MvcViewOptions>) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcViewOptions>> -> Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcViewOptions>(Microsoft.Extensions.DependencyInjection.MvcRazorMvcViewOptionsSetup) -> Microsoft.AspNetCore.Mvc.Razor.IRazorViewEngine(Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine) -> Microsoft.AspNetCore.Mvc.Razor.IRazorPageFactoryProvider(Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultRazorPageFactoryProvider) -> Microsoft.AspNetCore.Mvc.Razor.Compilation.IViewCompilerProvider(Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompilerProvider) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor 'ServiceType: Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentInvokerFactory Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentInvokerFactory': A circular dependency was detected for the service of type 'Microsoft.JSInterop.IJSRuntime'. Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentInvokerFactory(Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentInvokerFactory) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor 'ServiceType: Microsoft.AspNetCore.Mvc.IViewComponentHelper Lifetime: Transient ImplementationType: Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentHelper': A circular dependency was detected for the service of type 'Microsoft.JSInterop.IJSRuntime'. Microsoft.AspNetCore.Mvc.IViewComponentHelper(Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentHelper) -> Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentInvokerFactory(Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentInvokerFactory) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor 'ServiceType: Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter': A circular dependency was detected for the service of type 'Microsoft.JSInterop.IJSRuntime'. Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter -> Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory(Microsoft.AspNetCore.Mvc.ViewFeatures.TempDataDictionaryFactory) -> Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataProvider(Microsoft.AspNetCore.Mvc.ViewFeatures.CookieTempDataProvider) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor 'ServiceType: Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.ControllerSaveTempDataPropertyFilter Lifetime: Transient ImplementationType: Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.ControllerSaveTempDataPropertyFilter': A circular dependency was detected for the service of type 'Microsoft.JSInterop.IJSRuntime'. Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.ControllerSaveTempDataPropertyFilter -> Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory(Microsoft.AspNetCore.Mvc.ViewFeatures.TempDataDictionaryFactory) -> Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataProvider(Microsoft.AspNetCore.Mvc.ViewFeatures.CookieTempDataProvider) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor 'ServiceType: Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataProvider Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Mvc.ViewFeatures.CookieTempDataProvider': A circular dependency was detected for the service of type 'Microsoft.JSInterop.IJSRuntime'. Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataProvider(Microsoft.AspNetCore.Mvc.ViewFeatures.CookieTempDataProvider) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor 'ServiceType: Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.ValidateAntiforgeryTokenAuthorizationFilter Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.ValidateAntiforgeryTokenAuthorizationFilter': A circular dependency was detected for the service of type 'Microsoft.JSInterop.IJSRuntime'. Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.ValidateAntiforgeryTokenAuthorizationFilter -> Microsoft.AspNetCore.Antiforgery.IAntiforgery(Microsoft.AspNetCore.Antiforgery.DefaultAntiforgery) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor 'ServiceType: Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.AutoValidateAntiforgeryTokenAuthorizationFilter Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.AutoValidateAntiforgeryTokenAuthorizationFilter': A circular dependency was detected for the service of type 'Microsoft.JSInterop.IJSRuntime'. Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.AutoValidateAntiforgeryTokenAuthorizationFilter -> Microsoft.AspNetCore.Antiforgery.IAntiforgery(Microsoft.AspNetCore.Antiforgery.DefaultAntiforgery) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor 'ServiceType: Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Mvc.ViewFeatures.TempDataDictionaryFactory': A circular dependency was detected for the service of type 'Microsoft.JSInterop.IJSRuntime'. Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory(Microsoft.AspNetCore.Mvc.ViewFeatures.TempDataDictionaryFactory) -> Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataProvider(Microsoft.AspNetCore.Mvc.ViewFeatures.CookieTempDataProvider) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor 'ServiceType: Microsoft.Extensions.Options.IConfigureOptions
1[Microsoft.AspNetCore.Mvc.MvcViewOptions] Lifetime: Transient ImplementationType: Microsoft.Extensions.DependencyInjection.MvcRazorMvcViewOptionsSetup’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcViewOptions>(Microsoft.Extensions.DependencyInjection.MvcRazorMvcViewOptionsSetup) -> Microsoft.AspNetCore.Mvc.Razor.IRazorViewEngine(Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine) -> Microsoft.AspNetCore.Mvc.Razor.IRazorPageFactoryProvider(Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultRazorPageFactoryProvider) -> Microsoft.AspNetCore.Mvc.Razor.Compilation.IViewCompilerProvider(Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompilerProvider) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.AspNetCore.Mvc.Razor.IRazorViewEngine Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.AspNetCore.Mvc.Razor.IRazorViewEngine(Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine) -> Microsoft.AspNetCore.Mvc.Razor.IRazorPageFactoryProvider(Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultRazorPageFactoryProvider) -> Microsoft.AspNetCore.Mvc.Razor.Compilation.IViewCompilerProvider(Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompilerProvider) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.AspNetCore.Mvc.Razor.Compilation.IViewCompilerProvider Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompilerProvider’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.AspNetCore.Mvc.Razor.Compilation.IViewCompilerProvider(Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompilerProvider) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.AspNetCore.Mvc.Razor.IRazorPageFactoryProvider Lifetime: Transient ImplementationType: Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultRazorPageFactoryProvider’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.AspNetCore.Mvc.Razor.IRazorPageFactoryProvider(Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultRazorPageFactoryProvider) -> Microsoft.AspNetCore.Mvc.Razor.Compilation.IViewCompilerProvider(Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompilerProvider) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.AspNetCore.Mvc.Razor.IRazorPageActivator Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Mvc.Razor.RazorPageActivator’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.AspNetCore.Mvc.Razor.IRazorPageActivator(Microsoft.AspNetCore.Mvc.Razor.RazorPageActivator) -> Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider(Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelMetadataProvider) -> Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsManager<Microsoft.AspNetCore.Mvc.MvcOptions>) -> Microsoft.Extensions.Options.IOptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>> -> Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.AspNetCore.Mvc.MvcCoreMvcOptionsSetup) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.Extensions.Caching.Memory.IMemoryCache Lifetime: Singleton ImplementationType: Microsoft.Extensions.Caching.Memory.MemoryCache’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.Extensions.Caching.Memory.IMemoryCache(Microsoft.Extensions.Caching.Memory.MemoryCache) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.AspNetCore.Routing.MatcherPolicy Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageLoaderMatcherPolicy’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.AspNetCore.Routing.MatcherPolicy(Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageLoaderMatcherPolicy) -> Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageLoader(Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.DefaultPageLoader) -> Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorCollectionProvider(Microsoft.AspNetCore.Mvc.Infrastructure.DefaultActionDescriptorCollectionProvider) -> System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.Abstractions.IActionDescriptorProvider> -> Microsoft.AspNetCore.Mvc.Abstractions.IActionDescriptorProvider(Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerActionDescriptorProvider) -> Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModelFactory -> System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelProvider> -> Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelProvider(Microsoft.AspNetCore.Mvc.ApplicationModels.DefaultApplicationModelProvider) -> Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsManager<Microsoft.AspNetCore.Mvc.MvcOptions>) -> Microsoft.Extensions.Options.IOptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>> -> Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.AspNetCore.Mvc.MvcCoreMvcOptionsSetup) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.AspNetCore.Routing.MatcherPolicy Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.DynamicPageEndpointMatcherPolicy’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.AspNetCore.Routing.MatcherPolicy(Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.DynamicPageEndpointMatcherPolicy) -> Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.DynamicPageEndpointSelector -> Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionEndpointDataSource -> Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorCollectionProvider(Microsoft.AspNetCore.Mvc.Infrastructure.DefaultActionDescriptorCollectionProvider) -> System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.Abstractions.IActionDescriptorProvider> -> Microsoft.AspNetCore.Mvc.Abstractions.IActionDescriptorProvider(Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerActionDescriptorProvider) -> Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModelFactory -> System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelProvider> -> Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelProvider(Microsoft.AspNetCore.Mvc.ApplicationModels.DefaultApplicationModelProvider) -> Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsManager<Microsoft.AspNetCore.Mvc.MvcOptions>) -> Microsoft.Extensions.Options.IOptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>> -> Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.AspNetCore.Mvc.MvcCoreMvcOptionsSetup) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.DynamicPageEndpointSelector Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.DynamicPageEndpointSelector’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.DynamicPageEndpointSelector -> Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionEndpointDataSource -> Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorCollectionProvider(Microsoft.AspNetCore.Mvc.Infrastructure.DefaultActionDescriptorCollectionProvider) -> System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.Abstractions.IActionDescriptorProvider> -> Microsoft.AspNetCore.Mvc.Abstractions.IActionDescriptorProvider(Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerActionDescriptorProvider) -> Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModelFactory -> System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelProvider> -> Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelProvider(Microsoft.AspNetCore.Mvc.ApplicationModels.DefaultApplicationModelProvider) -> Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsManager<Microsoft.AspNetCore.Mvc.MvcOptions>) -> Microsoft.Extensions.Options.IOptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>> -> Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.AspNetCore.Mvc.MvcCoreMvcOptionsSetup) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.AspNetCore.Mvc.Abstractions.IActionDescriptorProvider Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionDescriptorProvider’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.AspNetCore.Mvc.Abstractions.IActionDescriptorProvider(Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionDescriptorProvider) -> System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.ApplicationModels.IPageRouteModelProvider> -> Microsoft.AspNetCore.Mvc.ApplicationModels.IPageRouteModelProvider(Microsoft.AspNetCore.Mvc.ApplicationModels.CompiledPageRouteModelProvider) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Mvc.ApplicationModels.CompiledPageRouteModelProvider>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Mvc.ApplicationModels.CompiledPageRouteModelProvider>) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.AspNetCore.Mvc.ApplicationModels.IPageRouteModelProvider Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Mvc.ApplicationModels.CompiledPageRouteModelProvider’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.AspNetCore.Mvc.ApplicationModels.IPageRouteModelProvider(Microsoft.AspNetCore.Mvc.ApplicationModels.CompiledPageRouteModelProvider) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Mvc.ApplicationModels.CompiledPageRouteModelProvider>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Mvc.ApplicationModels.CompiledPageRouteModelProvider>) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionEndpointDataSource Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionEndpointDataSource’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionEndpointDataSource -> Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorCollectionProvider(Microsoft.AspNetCore.Mvc.Infrastructure.DefaultActionDescriptorCollectionProvider) -> System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.Abstractions.IActionDescriptorProvider> -> Microsoft.AspNetCore.Mvc.Abstractions.IActionDescriptorProvider(Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerActionDescriptorProvider) -> Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModelFactory -> System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelProvider> -> Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelProvider(Microsoft.AspNetCore.Mvc.ApplicationModels.DefaultApplicationModelProvider) -> Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsManager<Microsoft.AspNetCore.Mvc.MvcOptions>) -> Microsoft.Extensions.Options.IOptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>> -> Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.AspNetCore.Mvc.MvcCoreMvcOptionsSetup) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.AspNetCore.Mvc.ApplicationModels.IPageApplicationModelProvider Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Mvc.ApplicationModels.DefaultPageApplicationModelProvider’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.AspNetCore.Mvc.ApplicationModels.IPageApplicationModelProvider(Microsoft.AspNetCore.Mvc.ApplicationModels.DefaultPageApplicationModelProvider) -> Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider(Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelMetadataProvider) -> Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsManager<Microsoft.AspNetCore.Mvc.MvcOptions>) -> Microsoft.Extensions.Options.IOptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>> -> Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.AspNetCore.Mvc.MvcCoreMvcOptionsSetup) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.AspNetCore.Mvc.ApplicationModels.IPageApplicationModelProvider Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Mvc.ApplicationModels.AuthorizationPageApplicationModelProvider’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.AspNetCore.Mvc.ApplicationModels.IPageApplicationModelProvider(Microsoft.AspNetCore.Mvc.ApplicationModels.AuthorizationPageApplicationModelProvider) -> Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsManager<Microsoft.AspNetCore.Mvc.MvcOptions>) -> Microsoft.Extensions.Options.IOptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>> -> Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.AspNetCore.Mvc.MvcCoreMvcOptionsSetup) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.AspNetCore.Mvc.ApplicationModels.IPageApplicationModelProvider Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Mvc.ApplicationModels.ResponseCacheFilterApplicationModelProvider’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.AspNetCore.Mvc.ApplicationModels.IPageApplicationModelProvider(Microsoft.AspNetCore.Mvc.ApplicationModels.ResponseCacheFilterApplicationModelProvider) -> Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsManager<Microsoft.AspNetCore.Mvc.MvcOptions>) -> Microsoft.Extensions.Options.IOptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>> -> Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.AspNetCore.Mvc.MvcCoreMvcOptionsSetup) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.AspNetCore.Mvc.ApplicationModels.IPageApplicationModelPartsProvider Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Mvc.ApplicationModels.DefaultPageApplicationModelPartsProvider’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.AspNetCore.Mvc.ApplicationModels.IPageApplicationModelPartsProvider(Microsoft.AspNetCore.Mvc.ApplicationModels.DefaultPageApplicationModelPartsProvider) -> Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider(Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelMetadataProvider) -> Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsManager<Microsoft.AspNetCore.Mvc.MvcOptions>) -> Microsoft.Extensions.Options.IOptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>> -> Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.AspNetCore.Mvc.MvcCoreMvcOptionsSetup) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.AspNetCore.Mvc.Abstractions.IActionInvokerProvider Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvokerProvider’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.AspNetCore.Mvc.Abstractions.IActionInvokerProvider(Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvokerProvider) -> Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageLoader(Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.DefaultPageLoader) -> Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorCollectionProvider(Microsoft.AspNetCore.Mvc.Infrastructure.DefaultActionDescriptorCollectionProvider) -> System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.Abstractions.IActionDescriptorProvider> -> Microsoft.AspNetCore.Mvc.Abstractions.IActionDescriptorProvider(Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerActionDescriptorProvider) -> Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModelFactory -> System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelProvider> -> Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelProvider(Microsoft.AspNetCore.Mvc.ApplicationModels.DefaultApplicationModelProvider) -> Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsManager<Microsoft.AspNetCore.Mvc.MvcOptions>) -> Microsoft.Extensions.Options.IOptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>> -> Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.AspNetCore.Mvc.MvcCoreMvcOptionsSetup) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.AspNetCore.Mvc.RazorPages.IPageFactoryProvider Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.DefaultPageFactoryProvider’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.AspNetCore.Mvc.RazorPages.IPageFactoryProvider(Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.DefaultPageFactoryProvider) -> Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider(Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelMetadataProvider) -> Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsManager<Microsoft.AspNetCore.Mvc.MvcOptions>) -> Microsoft.Extensions.Options.IOptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>> -> Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.AspNetCore.Mvc.MvcCoreMvcOptionsSetup) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageLoader Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.DefaultPageLoader’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageLoader(Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.DefaultPageLoader) -> Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorCollectionProvider(Microsoft.AspNetCore.Mvc.Infrastructure.DefaultActionDescriptorCollectionProvider) -> System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.Abstractions.IActionDescriptorProvider> -> Microsoft.AspNetCore.Mvc.Abstractions.IActionDescriptorProvider(Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerActionDescriptorProvider) -> Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModelFactory -> System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelProvider> -> Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelProvider(Microsoft.AspNetCore.Mvc.ApplicationModels.DefaultApplicationModelProvider) -> Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsManager<Microsoft.AspNetCore.Mvc.MvcOptions>) -> Microsoft.Extensions.Options.IOptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.Extensions.Options.OptionsFactory<Microsoft.AspNetCore.Mvc.MvcOptions>) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>> -> Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>(Microsoft.AspNetCore.Mvc.MvcCoreMvcOptionsSetup) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageResultExecutor Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageResultExecutor’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageResultExecutor -> Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine(Microsoft.AspNetCore.Mvc.ViewEngines.CompositeViewEngine) -> Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcViewOptions>(Microsoft.Extensions.Options.OptionsManager<Microsoft.AspNetCore.Mvc.MvcViewOptions>) -> Microsoft.Extensions.Options.IOptionsFactory<Microsoft.AspNetCore.Mvc.MvcViewOptions>(Microsoft.Extensions.Options.OptionsFactory<Microsoft.AspNetCore.Mvc.MvcViewOptions>) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcViewOptions>> -> Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcViewOptions>(Microsoft.Extensions.DependencyInjection.MvcRazorMvcViewOptionsSetup) -> Microsoft.AspNetCore.Mvc.Razor.IRazorViewEngine(Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine) -> Microsoft.AspNetCore.Mvc.Razor.IRazorPageFactoryProvider(Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultRazorPageFactoryProvider) -> Microsoft.AspNetCore.Mvc.Razor.Compilation.IViewCompilerProvider(Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompilerProvider) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.AspNetCore.Mvc.Filters.PageSaveTempDataPropertyFilter Lifetime: Transient ImplementationType: Microsoft.AspNetCore.Mvc.Filters.PageSaveTempDataPropertyFilter’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.AspNetCore.Mvc.Filters.PageSaveTempDataPropertyFilter -> Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory(Microsoft.AspNetCore.Mvc.ViewFeatures.TempDataDictionaryFactory) -> Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataProvider(Microsoft.AspNetCore.Mvc.ViewFeatures.CookieTempDataProvider) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.AspNetCore.Mvc.TagHelpers.Cache.IDistributedCacheTagHelperStorage Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Mvc.TagHelpers.Cache.DistributedCacheTagHelperStorage’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.AspNetCore.Mvc.TagHelpers.Cache.IDistributedCacheTagHelperStorage(Microsoft.AspNetCore.Mvc.TagHelpers.Cache.DistributedCacheTagHelperStorage) -> Microsoft.Extensions.Caching.Distributed.IDistributedCache(Microsoft.Extensions.Caching.Distributed.MemoryDistributedCache) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.AspNetCore.Mvc.TagHelpers.Cache.IDistributedCacheTagHelperService Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Mvc.TagHelpers.Cache.DistributedCacheTagHelperService’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.AspNetCore.Mvc.TagHelpers.Cache.IDistributedCacheTagHelperService(Microsoft.AspNetCore.Mvc.TagHelpers.Cache.DistributedCacheTagHelperService) -> Microsoft.AspNetCore.Mvc.TagHelpers.Cache.IDistributedCacheTagHelperStorage(Microsoft.AspNetCore.Mvc.TagHelpers.Cache.DistributedCacheTagHelperStorage) -> Microsoft.Extensions.Caching.Distributed.IDistributedCache(Microsoft.Extensions.Caching.Distributed.MemoryDistributedCache) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.Extensions.Caching.Distributed.IDistributedCache Lifetime: Singleton ImplementationType: Microsoft.Extensions.Caching.Distributed.MemoryDistributedCache’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.Extensions.Caching.Distributed.IDistributedCache(Microsoft.Extensions.Caching.Distributed.MemoryDistributedCache) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.AspNetCore.Http.Connections.Internal.HttpConnectionDispatcher Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Http.Connections.Internal.HttpConnectionDispatcher’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.AspNetCore.Http.Connections.Internal.HttpConnectionDispatcher -> Microsoft.AspNetCore.Http.Connections.Internal.HttpConnectionManager -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.AspNetCore.Http.Connections.Internal.HttpConnectionManager Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Http.Connections.Internal.HttpConnectionManager’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.AspNetCore.Http.Connections.Internal.HttpConnectionManager -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.AspNetCore.SignalR.IHubProtocolResolver Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.SignalR.Internal.DefaultHubProtocolResolver’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.AspNetCore.SignalR.IHubProtocolResolver(Microsoft.AspNetCore.SignalR.Internal.DefaultHubProtocolResolver) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.SignalR.Internal.DefaultHubProtocolResolver>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.SignalR.Internal.DefaultHubProtocolResolver>) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.AspNetCore.Components.Server.Circuits.CircuitFactory Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Components.Server.Circuits.CircuitFactory’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.AspNetCore.Components.Server.Circuits.CircuitFactory -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.AspNetCore.Components.Server.ServerComponentDeserializer Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Components.Server.ServerComponentDeserializer’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.AspNetCore.Components.Server.ServerComponentDeserializer -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.ServerComponentDeserializer>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.ServerComponentDeserializer>) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.AspNetCore.Components.Server.Circuits.CircuitRegistry Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Components.Server.Circuits.CircuitRegistry’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.AspNetCore.Components.Server.Circuits.CircuitRegistry -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.CircuitRegistry>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.CircuitRegistry>) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.AspNetCore.Components.NavigationManager Lifetime: Scoped ImplementationType: Microsoft.AspNetCore.Components.Server.Circuits.RemoteNavigationManager’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.AspNetCore.Components.NavigationManager(Microsoft.AspNetCore.Components.Server.Circuits.RemoteNavigationManager) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteNavigationManager>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteNavigationManager>) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.JSInterop.IJSRuntime Lifetime: Scoped ImplementationType: Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.Extensions.Logging.ILoggerProvider Lifetime: Singleton ImplementationType: Blazor.Extensions.Logging.BrowserConsoleLoggerProvider’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime) (Error while validating the service descriptor ‘ServiceType: Microsoft.Extensions.Hosting.IHostedService Lifetime: Singleton ImplementationType: Microsoft.AspNetCore.Hosting.GenericWebHostService’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.Extensions.Hosting.IHostedService(Microsoft.AspNetCore.Hosting.GenericWebHostService) -> Microsoft.AspNetCore.Hosting.Server.IServer(Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServer) -> Microsoft.AspNetCore.Connections.IConnectionListenerFactory(Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportFactory) -> Microsoft.Extensions.Logging.ILoggerFactory(Microsoft.Extensions.Logging.LoggerFactory) -> System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.ILoggerProvider(Blazor.Extensions.Logging.BrowserConsoleLoggerProvider) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime)
—> System.InvalidOperationException: Error while validating the service descriptor ‘ServiceType: Microsoft.Extensions.Hosting.IHostApplicationLifetime Lifetime: Singleton ImplementationType: Microsoft.Extensions.Hosting.Internal.ApplicationLifetime’: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.Extensions.Hosting.IHostApplicationLifetime(Microsoft.Extensions.Hosting.Internal.ApplicationLifetime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.Extensions.Hosting.Internal.ApplicationLifetime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.Extensions.Hosting.Internal.ApplicationLifetime>) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime
—> System.InvalidOperationException: A circular dependency was detected for the service of type ‘Microsoft.JSInterop.IJSRuntime’.
Microsoft.Extensions.Hosting.IHostApplicationLifetime(Microsoft.Extensions.Hosting.Internal.ApplicationLifetime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.Extensions.Hosting.Internal.ApplicationLifetime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.Extensions.Hosting.Internal.ApplicationLifetime>) -> Microsoft.JSInterop.IJSRuntime(Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime) -> Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>(Blazor.Extensions.Logging.BrowserConsoleLogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime>) -> Microsoft.JSInterop.IJSRuntime
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteChain.CheckCircularDependency(Type serviceType)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.CreateCallSite(Type serviceType, CallSiteChain callSiteChain)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.<>c__DisplayClass7_0.b__0(Type type)
at System.Collections.Concurrent.ConcurrentDictionary2.GetOrAdd(TKey key, Func
2 valueFactory)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.GetCallSite(Type serviceType, CallSiteChain callSiteChain)
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.TryCreateOpenGeneric(ServiceDescriptor descriptor, Type serviceType, CallSiteChain callSiteChain, Int32 slot)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.TryCreateOpenGeneric(Type serviceType, CallSiteChain callSiteChain)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.CreateCallSite(Type serviceType, CallSiteChain callSiteChain)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.<>c__DisplayClass7_0.b__0(Type type)
at System.Collections.Concurrent.ConcurrentDictionary2.GetOrAdd(TKey key, Func
2 valueFactory)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.GetCallSite(Type serviceType, CallSiteChain callSiteChain)
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.TryCreateExact(Type serviceType, CallSiteChain callSiteChain)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.CreateCallSite(Type serviceType, CallSiteChain callSiteChain)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.<>c__DisplayClass7_0.b__0(Type type)
at System.Collections.Concurrent.ConcurrentDictionary2.GetOrAdd(TKey key, Func
2 valueFactory)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.GetCallSite(Type serviceType, CallSiteChain callSiteChain)
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.TryCreateOpenGeneric(ServiceDescriptor descriptor, Type serviceType, CallSiteChain callSiteChain, Int32 slot)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.TryCreateOpenGeneric(Type serviceType, CallSiteChain callSiteChain)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.CreateCallSite(Type serviceType, CallSiteChain callSiteChain)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.<>c__DisplayClass7_0.b__0(Type type)
at System.Collections.Concurrent.ConcurrentDictionary2.GetOrAdd(TKey key, Func
2 valueFactory)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.GetCallSite(Type serviceType, CallSiteChain callSiteChain)
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(IEnumerable1 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()
In this post I describe the new «validate on build» feature that has been added to ASP.NET Core 3.0. This can be used to detect when your DI service provider is misconfigured. Specifically, the feature detects where you have a dependency on a service that you haven’t registered in the DI container.
I’ll start by showing how the feature works, and then show some situations where you can have a misconfigured DI container that the feature won’t identify as faulty.
It’s worth pointing out that validating your DI configuration is not a new idea — this was a feature of StructureMap I used regularly, and it’s spiritual successor, Lamar, has a similar feature.
The sample app
For this post, I’m going to use an app based on the default dotnet new webapi
template. This consists of a single controller, the WeatherForecastService
, that returns a randomly generated forecast based on some static data.
To exercise the DI container a little, I’m going to extract a couple of services. First, the controller is refactored to:
[ApiController]
[Route("[controller]")]
public class WeatherForecastController : ControllerBase
{
private readonly WeatherForecastService _service;
public WeatherForecastController(WeatherForecastService service)
{
_service = service;
}
[HttpGet]
public IEnumerable<WeatherForecast> Get()
{
return _service.GetForecasts();
}
}
So the controller depends on the WeatherForecastService
. This is shown below (I’ve elided the actual implementation as it’s not important for this post):
public class WeatherForecastService
{
private readonly DataService _dataService;
public WeatherForecastService(DataService dataService)
{
_dataService = dataService;
}
public IEnumerable<WeatherForecast> GetForecasts()
{
var data = _dataService.GetData();
// use data to create forcasts
return new List<WeatherForecast>();
}
}
This service depends on another, the DataService
, shown below:
public class DataService
{
public string[] GetData() => new[]
{
"Freezing", "Bracing", "Chilly", "Cool", "Mild", "Warm", "Balmy", "Hot", "Sweltering", "Scorching"
};
}
That’s all of the services we need, so all that remains is to register them in the DI container in Startup.ConfigureServices
:
public void ConfigureServices(IServiceCollection services)
{
services.AddControllers();
services.AddSingleton<WeatherForecastService>();
services.AddSingleton<DataService>();
}
I’ve registered them as singletons for this example, but that’s not important for this feature. With everything set up correctly, sending a request to /WeatherForecast
returns a forecast:
[{
"date":"2019-09-07T22:29:31.5545422+00:00",
"temperatureC":31,
"temperatureF":87,
"summary":"Sweltering"
}]
Everything looks good here, so let’s see what happens if we mess up the DI registration.
Detecting unregistered dependencies on startup
Let’s mess things up a bit, and «forget» to register the DataService
dependency in the DI container:
public void ConfigureServices(IServiceCollection services)
{
services.AddControllers();
services.AddSingleton<WeatherForecastService>();
// services.AddSingleton<DataService>();
}
If we run the app again with dotnet run
, we get an exception, a giant stack trace, and the app fails to start. I’ve truncated and formatted the result below:
Unhandled exception. System.AggregateException: Some services are not able to be constructed
(Error while validating the service descriptor
'ServiceType: TestApp.WeatherForecastService Lifetime: Scoped ImplementationType:
TestApp.WeatherForecastService': Unable to resolve service for type
'TestApp.DataService' while attempting to activate 'TestApp.WeatherForecastService'.)
This error makes it clear what the problem is — «Unable to resolve service for type ‘TestApp.DataService’ while attempting to activate ‘TestApp.WeatherForecastService'». This is the DI validation feature doing it’s job! It should help reduce the number of DI errors you discover during normal operation of your app, by throwing as soon as possible on app startup. It’s not as useful as an error at compile-time, but that’s the price of the flexibility a DI container provides.
What if we forget to register the WeatherForecastService
instead:
public void ConfigureServices(IServiceCollection services)
{
services.AddControllers();
// services.AddSingleton<WeatherForecastService>();
services.AddSingleton<DataService>();
}
In this case the app starts up fine, and we don’t get any error until we hit the API, at which point it blows up!
Oh dear, time for the gotchas…
1. Controller constructor dependencies aren’t checked
The reason the validation feature doesn’t catch this problem is that controllers aren’t created using the DI container. As I described in a previous post, the DefaultControllerActivator
sources a controller’s dependencies from the DI container, but not the controller itself. Consequently, the DI container doesn’t know anything about the controllers, and so can’t check their dependencies are registered.
Luckily, there’s a way around this. You can change the controller activator so that controllers are added to the DI container by using the AddControllersAsServices()
method on IMvcBuilder
:
public void ConfigureServices(IServiceCollection services)
{
services.AddControllers()
.AddControllersAsServices(); // Add the controllers to DI
// services.AddSingleton<WeatherForecastService>();
services.AddSingleton<DataService>();
}
This enables the ServiceBasedControllerActivator
(see my previous post for a detailed explanation) and registers the controllers in the DI container as services. If we run the app now, the validation detects the missing controller dependency on app startup, and throws an exception:
Unhandled exception. System.AggregateException: Some services are not able to be constructed
(Error while validating the service descriptor
'ServiceType: TestApp.Controllers.WeatherForecastController Lifetime: Transient
ImplementationType: TestApp.Controllers.WeatherForecastController': Unable to
resolve service for type 'TestApp.WeatherForecastService' while attempting to
activate'TestApp.Controllers.WeatherForecastController'.)
This seems like a handy solution, but I’m not entirely sure what the trade offs are, but it should be fine (it’s a supported scenario after all).
We’re not out of the woods yet though, as constructor injection isn’t the only way to inject dependencies into controllers…
2. [FromServices] injected dependencies aren’t checked
Model binding is used in MVC actions to control how an action method’s parameters are created, based on the incoming request, using attributes such as [FromBody]
and [FromQuery]
.
In a similar vein, the [FromServices]
attribute can be applied to action method parameters, and those parameters will be created by sourcing them from the DI container. This can be useful if you have a dependency which is only required by a single action method. Instead of injecting the service into the constructor (and therefore creating it for every action on that controller) you can inject it into the specific action instead.
For example, we could rewrite the WeatherForecastController
to use [FromServices]
injection as follows:
[ApiController]
[Route("[controller]")]
public class WeatherForecastController : ControllerBase
{
[HttpGet]
public IEnumerable<WeatherForecast> Get(
[FromServices] WeatherForecastService service) // injected using DI
{
return service.GetForecasts();
}
}
There’s obviously no reason to do that here, but it makes the point. Unfortunately, the DI validation won’t be able to detect this use of an unregistered service. The app will start just fun, but will throw an Exception when you attempt to call the action.
The obvious solution to this one is to avoid the [FromServices]
attribute where possible, which shouldn’t be difficult to achieve, as you can always inject into the constructor if needs be.
There’s one more way to source services from the DI container — using service location.
3. Services sourced directly from IServiceProvider aren’t checked
Let’s rewrite the WeatherForecastController
one more time. Instead of directly injecting the WeatherForecastService
, we’ll inject an IServiceProvider
, and use the service location anti-pattern to retrieve the dependency.
[ApiController]
[Route("[controller]")]
public class WeatherForecastController : ControllerBase
{
private readonly WeatherForecastService _service;
public WeatherForecastController(IServiceProvider provider)
{
_service = provider.GetRequiredService<WeatherForecastService>();
}
[HttpGet]
public IEnumerable<WeatherForecast> Get()
{
return _service.GetForecasts();
}
}
Code like this, where you’re injecting the IServiceProvider
, is generally a bad idea. Instead of being explicit about it’s dependencies, this controller has an implicit dependency on WeatherForecastController
. As well as being harder for developers to reason about, it also means the DI validator doesn’t know about the dependency. Consequently, this app will start up fine, and throw on first use.
Unfortunately, you can’t always avoid leveraging IServiceProvider
. One case is where you have a singleton object that needs scoped dependencies as I described here. Another is where you have a singleton object that can’t have constructor dependencies, like validation attributes (as I described here). Unfortunately there’s no way around those situations, and you just have to be aware that the guard rails are off.
A similar gotcha that’s not immediately obvious is when you’re using a factory function to create your dependencies.
4. Services registered using factory functions aren’t checked
Let’s go back to our original controller, injecting WeatherForecastService
into the constructor, and registering the controllers with the DI container using AddControllersAsServices()
. But we’ll make two changes:
- Forget to register the
DataService
. - Use a factory function to create
WeatherForecastService
.
When I say a factory function, I mean a lambda that’s provided at service registration time, that describes how to create the service. For example:
public void ConfigureServices(IServiceCollection services)
{
services.AddControllers()
.AddControllersAsServices();
services.AddSingleton<WeatherForecastService>(provider =>
{
var dataService = new DataService();
return new WeatherForecastService(dataService);
});
// services.AddSingleton<DataService>(); // not required
}
In the above example, we provided a lambda for the WeatherForecastService
that describes how to create the service. Inside the lambda we manually construct the DataService
and WeatherForecastService
.
This won’t cause any problems in our app, as we are able to resolve the WeatherForecastService
from the DI container using the above factory method. We never have to resolve the DataService
directly from the DI container. We only need it in the WeatherForecastService
, and we’re manually constructing it, so there’s no problems.
The difficulties arise if we use the injected IServiceProvider provider
in the factory function:
public void ConfigureServices(IServiceCollection services)
{
services.AddControllers()
.AddControllersAsServices();
services.AddSingleton<WeatherForecastService>(provider =>
{
var dataService = provider.GetRequiredService<DataService>();
return new WeatherForecastService(dataService);
});
// services.AddSingleton<DataService>(); // Required!
}
As far as the DI validation is concerned, this factory function is exactly the same as the previous one, but actually there’s a problem. We’re using the IServiceProvider
to resolve the DataService
at runtime using the service locator pattern; so we have an implicit dependency. This is essentially the same as gotcha 3 — the service provider validator can’t detect cases where services are obtained directly from the service provider.
As with the previous gotcha, code like this is sometimes necessary, and there’s no easy way to work around it. If that’s the case, just be extra careful that the dependencies you request are definitely registered correctly.
An idea I toyed with is registering a «dummy» class in dev only, that takes all of these «hidden» classes as constructor dependencies. That may help catch registration issues using the service provider validator, but is probably more effort and error prone than it’s worth.
5. Open generic types aren’t checked
The final gotcha is called out in the ASP.NET Core source code itself: ValidateOnBuild
does not validate open generic types.
As an example, imagine we have a generic ForcastService<T>
, that can generate multiple types of forecast, T
.
public class ForecastService<T> where T: new();
{
private readonly DataService _dataService;
public ForecastService(DataService dataService)
{
_dataService = dataService;
}
public IEnumerable<T> GetForecasts()
{
var data = _dataService.GetData();
// use data to create forcasts
return new List<T>();
}
}
In Startup.cs we register the open generic, but again forget to register the DataService
:
public void ConfigureServices(IServiceCollection services)
{
services.AddControllers()
AddControllersAsServices();
// register the open generic
services.AddSingleton(typeof(ForecastService<>));
// services.AddSingleton<DataService>(); // should cause an error
}
The service provider validation completely skips over the open generic registration, so it never detects the missing DataService
dependency. The app starts up without errors, and will throw a runtime exception if you try to request a ForecastService<T>
.
However, if you take a closed version of this dependency in your app anywhere (which is probably quite likely), the validation will detect the problem. For example, we can update the WeatherForecastController
to use the generic service, by closing the generic with T
as WeatherForecast
:
[ApiController]
[Route("[controller]")]
public class WeatherForecastController : ControllerBase
{
private readonly ForecastService<WeatherForecast> _service;
public WeatherForecastController(ForecastService<WeatherForecast> service)
{
_service = service;
}
[HttpGet]
public IEnumerable<WeatherForecast> Get()
{
return _service.GetForecasts();
}
}
The service provider validation does detect this! So in reality, the lack of open generic testing is probably not going to be as big a deal as the service locator and factory function gotchas. You always need to close a generic to inject it into a service (unless that service itself is an open generic), so hopefully you should pick up many cases. The exception to this is if you’re sourcing open generics using the service locator IServiceProvider
, but then you’re really back to gotchas 3 and 4 anyway!
Enabling service validation in other environments
That’s the last of the gotchas I’m aware of, but as a final note, it’s worth remembering that service provider validation is only enabled in the Development environment by default. That’s because there’s a startup cost to it, the same as for scope validation.
However, if you have any sort of «conditional service registration», where a different service is registered in Development than in other environments, you may want to enable validation in other environments too. You can do this by adding an additional UseDefaultServiceProvider
call to your default host builder, in Program.cs. In the example below I’ve enabled ValidateOnBuild
in all environments, but kept scope validation in Development only:
public class Program
{
public static void Main(string[] args)
{
CreateHostBuilder(args).Build().Run();
}
public static IHostBuilder CreateHostBuilder(string[] args) =>
Host.CreateDefaultBuilder(args)
.ConfigureWebHostDefaults(webBuilder =>
{
webBuilder.UseStartup<Startup>();
})
// Add a new service provider configuration
.UseDefaultServiceProvider((context, options) =>
{
options.ValidateScopes = context.HostingEnvironment.IsDevelopment();
options.ValidateOnBuild = true;
});
Summary
In this post I described the ValidateOnBuild
feature which is new in .NET Core 3.0. This allows the Microsoft.Extensions DI container to check for errors in your service configuration when a service provider is first built. This can be used to detect issues on application startup, instead of at runtime when the misconfigured service is requested.
While useful, there are a number of cases that the validation won’t catch, such as injection into MVC controllers, using the IServiceProvider
service locator, and open generics. You can work around some of these, but even if you can’t, it’s worth keeping them in mind, and not relying on your app to catch 100% of your DI problems!