DependencyInjection.Analyzer
Display all the Dependency Injection services in Mvc or Api project, developers can view all of the services through the browser, include Lifetime(Singleton, Transient, Scoped), ServiceType(IHttpContextFactory, ILoggerFactory...) and ImplementationType(HttpContextFactory, LoggerFactory...) and other User-defined services
Install / Use
/learn @188867052/DependencyInjection.AnalyzerREADME
| Package | NuGet Stable | Downloads |
| ------- | ------------ | --------- |
| DependencyInjection.Analyzer | |
|
Install NuGet package
PM> Install-Package DependencyInjection.Analyzer
Edit Startup.cs
Insert code services.AddDependencyInjectionAnalyzer(); and required using directive into Startup.cs as follows.
using DependencyInjection.Analyzer; // Add
....
public void ConfigureServices(IServiceCollection services)
{
services.AddMvc();
services.AddDependencyInjectionAnalyzer(); // Add
}
....
View Services via Browser
Eg. input https://localhost:44336/services

