Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
您绝对应该查看 CodeProject 上 Jon Rista 关于 .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.
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
查看 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.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
暂无简介
文章 0 评论 0
接受
发布评论
评论(2)
您绝对应该查看 CodeProject 上 Jon Rista 关于 .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.
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
查看 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.