首页 新闻 会员 周边 捐助

难题请教:membership节点是何时被什么程序载入和实例

0
[已关闭问题]
<P>难题请教:membership节点是何时被什么程序载入和实例化的? <BR><BR>Web.config <BR><BR>&nbsp; &nbsp; &nbsp; &lt;!-- 成员管理:成员数据访问接口定义(继承SqlMembershipProvider : MembershipProvider类) --&gt; <BR>&nbsp; &nbsp; &nbsp; &lt;membership userIsOnlineTimeWindow="15" defaultProvider="AplooSqlProvider" &gt; <BR>&nbsp; &nbsp; &nbsp; &nbsp; &lt;providers&gt; <BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;clear /&gt; <BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;add <BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; name="AplooSqlProvider" <BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; type="Aploo.MemberRoles.AMembershipProvider, Aploo.MemberRoles" <BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; connectionStringName="SiteSqlServer" <BR>/&gt; <BR>&nbsp; &nbsp; &nbsp; &nbsp; &lt;/providers&gt; <BR>&nbsp; &nbsp; &nbsp; &lt;/membership&gt; <BR><BR>疑问:Web.config配置中的membership节点,是何时被什么程序载入和实例化的呢? <BR></P> <P>&nbsp;只知道使用,不知道背后的故事,非常痛心。。。。一直想搞明白。。。 </P> <P>哪位高手指教一下。。。。谢谢!!!</P> <P>machine.config 中也有成员角色的节点定义: </P> <P>&nbsp; &lt;system.web&gt;&nbsp; <BR>&nbsp;&nbsp;&nbsp; &lt;!- 默认成员管理实现类 --&gt; <BR>&nbsp;&nbsp;&nbsp; &lt;membership&gt; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;providers&gt; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="LocalSqlServer" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="true" applicationName="/" requiresUniqueEmail="false" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="7" minRequiredNonalphanumericCharacters="1" passwordAttemptWindow="10" passwordStrengthRegularExpression="" /&gt; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/providers&gt; <BR>&nbsp;&nbsp;&nbsp; &lt;/membership&gt; <BR>... </P> <P>一直就没想明白machine.config是系统哪个程序载入,同时实例化配置节中程序集实例的?&nbsp; </P> <P>是w3wp.exe载入machine.config并初始化程序集的吗?</P> <P>&nbsp;</P>
aploo.com的主页 aploo.com | 初学一级 | 园豆:141
提问于:2008-07-12 23:25
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册