Closed
Description
Turns out people were capturing the IServiceProvider here to store in statics. Initially this change was made to make running EF migrations easier but then that pattern was moved into Program.Main. We've had several reports about this breaking things so we should consider reverting it.
Here's the initial change:
aspnet/Hosting#1106
We can consider this for a later patch as well.