App.config / web.config 编辑器 简单的配置编辑器

发布于 2024-08-25 04:30:33 字数 270 浏览 2 评论 0原文

我有一个场景,我要求顾问部署 2 个应用程序。控制台应用程序和 IIS Web 服务应用程序。这两个应用程序都是解决方案的一部分。

我还没有创建一个易于使用的安装程序,但想知道是否有一个开源配置编辑器可以与我的应用程序一起提供,它可以读取“仅某些”值并允许顾问更改这些值。

这比要求顾问打开 web.config 或 app.config 麻烦得多 - 因为配置对于非技术人员来说相当复杂,而且他们对所有的 XML 不知所措。

我想作为一个编程问题,这将是一个与部署相关的问题。

I have a scenario where I am asking consultants to deploy 2 applications. A console application and an IIS web service application. Both apps form part of the solution.

I haven't created an easy to use installer, but was wondering if there is an open source config editor that I can ship with my app that can read in "only certain" values and allow the consultant to change these values.

This would be much less hassle than asking the consultant to open up web.config or app.config - because the configuration is pretty complex for a non technical person, and they're overwhelmed by all the XML.

I guess as a programming question, this would be a question relating to deployment.

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

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

发布评论

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

评论(1

我恋#小黄人 2024-09-01 04:30:33

您希望开发人员阅读哪些部分?我建议您参考这个问题 可以从外部 xml 文件读取 web.config?。您可以将部分 web/app.configs 保留在外部并从中读取。

更多参考:http ://blog.andreloker.de/post/2008/06/Keep-your-config-clean-with-external-config-files.aspx

What exactly are the sections which you want the developers to read ? I would refer you to this question Can a web.config read from an external xml file?. You can keep part of your web/app.configs externally and read from them.

more reference:http://blog.andreloker.de/post/2008/06/Keep-your-config-clean-with-external-config-files.aspx

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