List All Services Available to ASP.NET Core App

added by DotNetKicks
7/25/2016 9:49:11 PM

2 Kicks, 397 Views

In a recent article, I showed how to configure logging for your Startup class in ASP.NET Core. With this configured, it's easy to log all of the services that have been configured in ASP.NET Core services container. This can be very useful when diagnosing issues with ASP.NET Core's support for dependency injection.