简体   繁体   English

在 Kudu 中找不到 Azure webjob 的 App.config

[英]Can't find Azure webjob's App.config in Kudu

I have an Azure webjob running which is a .NET 4.6.1 console application.我有一个 Azure webjob 正在运行,它是一个 .NET 4.6.1 控制台应用程序。

My project has an App.config file, however I can't find it in Kudu.我的项目有一个 App.config 文件,但我在 Kudu 中找不到它。

I'd like to see what settings are being used.我想看看正在使用什么设置。

Where can I find it in Kudu?我在 Kudu 哪里可以找到它?

在此处输入图像描述

  • app.config file will not be deployed to Azure. app.config文件不会部署到 Azure。
  • We cannot access the app settings from Azure WebJobs directly , we can access the AppSettings in the Azure portal.我们无法直接从 Azure WebJobs 访问应用程序设置,我们可以访问 Azure 门户中的AppSettings
  • WebJobs are console app , it uses the environment variables stored in the system, which is different from the AppSettings in the Azure portal. WebJobs 是console app ,它使用系统中存储的环境变量,这与Azure 门户中的AppSettings不同。
  • Azure WebJobs uses environment variables instead of configuration files . Azure WebJobs 使用environment variables而不是configuration files

在此处输入图像描述

Please refer Configuring Azure Web Jobs and SO Thread for more information.请参阅配置 Azure Web 作业SO 线程以获取更多信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何将 app.config 转换添加到 VS 2022 中的 4.8 Azure WebJob (.NET Framework)? - How to add app.config transform to a 4.8 Azure WebJob (.NET Framework) in VS 2022? .Net App in Docker - Startup Can't Find Azure App Configuration - .Net App in Docker - Startup Can't Find Azure App Configuration 怎么修改azure应用服务中kudu的hostingstart.html呢? - How can we modify the hostingstart.html of kudu in the azure app service? 当Azure App Service停止时,Azure Webjob是否停止 - Does Azure Webjob stop when Azure App Service is stopped Azure 应用服务 - Kudu 部署失败“缺少作曲家可执行文件” - Azure App Service - Kudu deployment fails "Missing composer executable" Docker 找不到 kubernetes 配置文件 - Docker Can't find kubernetes Config File Azure - 找不到服务器场 - Azure - can't find serverfarm Azure - 以编程方式安排 Webjob - Azure - Schedule Webjob programmatically azure databricks 仪表板 - 找不到“订阅者”按钮 - azure databricks dashboard - can't find 'Subscriber' button Azure 具有 Lighthouse 委派权限的用户的 Kudu 访问权限 - Azure Kudu access for users with Lighthouse delegated permissions
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM