You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ObjectPoolProvider removed from the default set of dependencies added in the WebHostBuilder
As part of making ASP.NET Core more pay for play, the ObjectPoolProvider was removed from the main set of dependencies. Specific components relying on ObjectPoolProvider now add it themselves.
If your component requires ObjectPoolProvider, it will be need to be added to your dependencies via the IServiceCollection.
ObjectPoolProvider removed from the default set of dependencies added in the WebHostBuilder
As part of making ASP.NET Core more pay for play, the ObjectPoolProvider was removed from the main set of dependencies. Specific components relying on ObjectPoolProvider now add it themselves.
If your component requires ObjectPoolProvider, it will be need to be added to your dependencies via the IServiceCollection.
For discussion, please use dotnet/aspnetcore#5944
Version introduced
3.0
Old behavior
WebHostBuilder provides ObjectPoolProvider by default in the DI container.
New behavior
WebHostBuilder no longer provides ObjectPoolProvider by default in the DI container.
Reason for change
This change was made to make ASP.NET Core more pay for play.
Recommended action
For anyone relying on ObjectPoolProvider, you should add them to your dependencies via the IServiceCollection.
Category
Affected APIs
"Not detectable via API analysis"
Issue metadata
The text was updated successfully, but these errors were encountered: