Pop resolution context in finally block. Resolve can call potentially slow constructor. In case of ASP.NET this will cause ThreadAbortException in Resolve, after which abort will be reset and thread will be reused with old resolution context.
Pop resolution context in finally block.
Resolve can call potentially slow constructor.
In case of ASP.NET this will cause ThreadAbortException in Resolve, after
which abort will be reset and thread will be reused with old resolution context.

undeadcat/simple-container