문제

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

도움이 되었습니까?

해결책

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

다른 팁

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).

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top