Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is an ASP.NET Provider?

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

like image 285
Afshar Mohebi Avatar asked Feb 18 '10 09:02

Afshar Mohebi


2 Answers

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

like image 117
Fredrik Mörk Avatar answered Oct 17 '22 08:10

Fredrik Mörk


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.

like image 36
Trevor Tippins Avatar answered Oct 17 '22 08:10

Trevor Tippins