每个程序集的配置文件

发布于 2024-07-18 23:49:36 字数 1436 浏览 3 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

青春有你 2024-07-25 23:49:36

您绝对应该查看 CodeProject 上 Jon Rista 关于 .NET 2.0 配置的三部分系列。

  • 揭开 .NET 2.0 配置的奥秘
  • 解码 .NET 2.0 配置的奥秘
  • 破解 .NET 2.0 配置之谜

强烈推荐,写得很好,非常有帮助! 他展示了如何创建和使用自定义配置部分,并继续解释如何使用您自己的 custom.config 来代替标准 .NET 配置文件或作为标准 .NET 配置文件的补充。

马克

You should definitely check out Jon Rista's three-part series on .NET 2.0 configuration up on CodeProject.

  • Unraveling the mysteries of .NET 2.0 configuration
  • Decoding the mysteries of .NET 2.0 configuration
  • Cracking the mysteries of .NET 2.0 configuration

Highly recommended, well written and extremely helpful! He shows how to create and use custom configuration sections, and goes on to explain how to use your own custom.config instead of or in addition to standard .NET config files.

Marc

羁绊已千年 2024-07-25 23:49:36

查看 ConfigurationManager.OpenMappedExeConfiguration()。 它允许您提供要打开的配置文件的名称。 那里的例子应该能让你走上正路。

Look at ConfigurationManager.OpenMappedExeConfiguration(). It allows you to supply the name of the configuration file you want to open. The example there should set you on your way.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文