duwamish中加载web.config的问题

rickey 2004-02-09 03:15:31
duwamish中DuwamishConfiguration 类继承 IConfigurationSectionHandler接口重载了create方法用于读取并加载web.config。
我没有看到duwamish中在那里调用了此方法。
duwamish给得Create方法的注释是这样的:
/// <summary>
/// Called by ASP+ before the application starts to initialize
/// settings from the Config.Web file(s).
/// <remarks>
/// The app domain will restart if these settings change, so
/// there is no reason to read these values more than once. This
/// function uses the NameValueSectionHandler base class to generate
/// a hashtable from the XML, which is then used to store the current
/// settings. Because all settings are read here, we do not actually
/// store the generated hashtable object for later retrieval by
/// Context.GetConfig. The application should use the accessor
/// functions directly.
/// </remarks>
请问有研究过duwamish的朋友Create方法是在那里调用的,还是不需要调用。解决即给分
...全文
49 8 打赏 收藏 转发到动态 举报
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复

62,047

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术交流专区
javascript云原生 企业社区
社区管理员
  • ASP.NET
  • .Net开发者社区
  • R小R
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

.NET 社区是一个围绕开源 .NET 的开放、热情、创新、包容的技术社区。社区致力于为广大 .NET 爱好者提供一个良好的知识共享、协同互助的 .NET 技术交流环境。我们尊重不同意见,支持健康理性的辩论和互动,反对歧视和攻击。

希望和大家一起共同营造一个活跃、友好的社区氛围。

试试用AI创作助手写篇文章吧