-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Labels
area-Extensions-DependencyInjectionenhancementProduct code improvement that does NOT require public API changes/additionsProduct code improvement that does NOT require public API changes/additions
Milestone
Description
Microsoft.Extensions.DependencyInjection debug experience could be improved.
I think there are two primary APIs to focus on: ServiceCollection and IServiceProvider implementations.
ServiceCollection is already pretty good. It could be improved with a debugger display that shows the count and whether it's read-only.
IServiceProvider is difficult to debug. Useful information to make available:
- Its service descriptors (the information that
ServiceCollectiondisplays) - Is it a scoped or root service provider
- Is it disposed
- Realized services
- Registered disposable services
- More that I haven't thought of?
omariom, ericstj, rogihee, kwaazaar and WeihanLi
Metadata
Metadata
Assignees
Labels
area-Extensions-DependencyInjectionenhancementProduct code improvement that does NOT require public API changes/additionsProduct code improvement that does NOT require public API changes/additions

