设计在.NET松散耦合的组件 - 供应商模式 [英] Designing loosely coupled components in .NET - Provider Pattern
问题描述
我已经被告知,提供商模式是一个的方式来设计松散耦合的组件。我正在设计一个API。能否请你指向的链接,其中提供的模式进行说明。我发现一个 rel="nofollow">,有没有更多的描述使用.NET的框架提供商模式
I have been told that the Provider pattern is a way to design loosely coupled components. I am working on designing an API. Could you please point to links where Provider pattern is explained. I found one here, are there any more that describe provider pattern using .net as the framework
推荐答案
在Juval洛伊的WCF的书,他呼吁模式的 Bridge模式。 dofactory 有一些好东西就可以了。
In Juval Lowy's WCF book he calls the pattern the Bridge pattern. dofactory has some good stuff on it too.
我最近一直在收集有关供应商模式的一些链接的MS考试,我攻读(70-568)。这里的列表 - 超过你永远需要了解的供应商模式:
I've recently been collecting some links on the provider pattern for an MS exam I was studying for (70-568). Here's the list- more than you'll ever need to know about the Provider Model:
- 提供者模型设计模式与规范第1部分(旧的,但详细)。
- <一个href="http://download.microsoft.com/download/2/a/e/2aeabd28-3171-4b95-9363-22150625a6a5/ASP.NET%20Provider%20Model.pdf"相对=nofollow>在ASP.NET 2.0提供者模型。 136 pages-的提供者模型信息的坟墓。
- 的ProviderBase - 基类所有的供应商实现。
- <一个href="http://weblogs.asp.net/scottgu/archive/2006/11/20/common-gotcha-don-t-forget-to-clear-when-adding-providers.aspx"相对=nofollow>不要忘了添加
&LT;清/&GT;
添加供应商时 - 配置提供商。
- 在Windows中使用ASP.NET提供的功能基础应用。
- 实现成员资格提供。
- 实现角色提供。
- 创建自定义站点地图提供。
- 实现配置文件提供。
- <一个href="http://www.theserverside.net/tt/articles/content/CreatingProfileProvider/CreatingProfileProvider.html"相对=nofollow>创建自定义数据库配置文件提供。
- 会话状态提供。
- 实现一个会话状态存储提供商。
- Provider Model Design Pattern and Specification, Part 1 (old but detailed).
- The ASP.NET 2.0 Provider Model. 136 pages- a tomb of Provider Model information.
- ProviderBase- the base class for all provider implementations.
- Don’t forget to add
<clear/>
when adding providers. - Configuring Providers.
- Using the ASP.NET provider functionality in Windows based apps.
- Implementing a Membership Provider.
- Implementing a Role Provider.
- Creating a custom site map provider.
- Implementing a Profile Provider.
- Creating a custom DB profile provider.
- Session State Providers.
- Implementing a Session-State Store Provider.
这篇关于设计在.NET松散耦合的组件 - 供应商模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!