如何使用 RIA Services App.config 文件(无需将设置复制到 web.config)

发布于 2024-09-26 03:44:28 字数 143 浏览 0 评论 0原文

即使我将我的 Web 应用程序与 RIA Services.web 库链接,但 App.config 设置文件从未使用过,并且我始终需要将模块设置手动复制到我的 web.config。

我做错了什么吗? App.config 文件是否应该被识别并自动加载?

Even though I link my web-app with my RIA Services.web library, the App.config setting files are never used and I always need to copy the module settings manually to my web.config.

Am I doing something wrong? Should the App.config file be recognised and automatically loaded?

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

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

发布评论

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

评论(1

离线来电— 2024-10-03 03:44:28

你没有做错任何事。作为已加载程序集一部分的 app.config 文件中的配置设置将不会由 Web 应用程序加载。

You're not doing anything wrong. Configuration settings in app.config files that are part of loaded assemblies will not be loaded by your web application.

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