Beware of transient IDisposables in the #dotnet DI container! https://github.com/dotnet/runtime/issues/36461 Let's just say that the next version of #PowerShell Universal won't be so leaky....
transient service is better not be captured by root serviceScope · Issue #36461 · dotnet/runtime

I am reading the soure code of DI projects, and i found some code in the class CallSiteRuntimeResolver may leading memory issue, below is the method in this class. If we register a service implemen...

GitHub
@adamdriscoll Man I am definitely looking forward to not seeing this in our Azure App Service anymore. :)