Question

What is the meaning of "Provider" in ASP.NET Provider? For example when we are speaking about AuthorizationRuleProvider, connectionStrings.providerName, ...?

Was it helpful?

Solution

It's a design pattern: The Provider model. There is some good information in this SO Q&A as well: Designing loosely coupled components in .NET - Provider Pattern

OTHER TIPS

It's just a concrete implementation of an abstract interface. You can select an appropriate provider to fulfill the requirements of the interface at runtime.

And if you want to implement the Provider pattern in your application, take a look at this .NET Provider Model Template for Visual Studio (shameless plug).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top