Unable to resolve service for type ‘Swashbuckle.AspNetCore.Swagger.ISwaggerProvider’ only while Using Unity Dependency Injection
I am working on an ASP.NET Core
application and integrating Swagger with
Swashbuckle.AspNetCore
. My project uses Unity
as the dependency injection (DI) container instead of the default ASP.NET Core DI. However, I am encountering the following error when trying to load the Swagger UI or make any API calls:
Unable to resolve service for type ‘Swashbuckle.AspNetCore.Swagger.ISwaggerProvider’ only while Using Unity Dependency Injection
I am working on an ASP.NET Core
application and integrating Swagger with
Swashbuckle.AspNetCore
. My project uses Unity
as the dependency injection (DI) container instead of the default ASP.NET Core DI. However, I am encountering the following error when trying to load the Swagger UI or make any API calls:
Unable to resolve service for type ‘Swashbuckle.AspNetCore.Swagger.ISwaggerProvider’ only while Using Unity Dependency Injection
I am working on an ASP.NET Core
application and integrating Swagger with
Swashbuckle.AspNetCore
. My project uses Unity
as the dependency injection (DI) container instead of the default ASP.NET Core DI. However, I am encountering the following error when trying to load the Swagger UI or make any API calls:
Unable to resolve service for type ‘Swashbuckle.AspNetCore.Swagger.ISwaggerProvider’ only while Using Unity Dependency Injection
I am working on an ASP.NET Core
application and integrating Swagger with
Swashbuckle.AspNetCore
. My project uses Unity
as the dependency injection (DI) container instead of the default ASP.NET Core DI. However, I am encountering the following error when trying to load the Swagger UI or make any API calls: