Where is ProviderBase in .NET 5?
1 answer
I suspect ProviderBase is something we will never see in ASP.NET 5 and up. The configuration is easier at 5 and dependency injection is common. You can now create a class that implements its own interface rather than forcing it to inherit from ProviderBase. You can register a class or an instance of a class with a container and it will appear throughout the application. It might look a little bigger at first, but I also suspect that enabling DI will result in less code and simpler code.
+3
source to share