如何检查 Azure 函数应用的 wwwroot 文件夹的内容

huangapple go评论54阅读模式
英文:

How to check the content of the wwwroot folder of the Azure Function App

问题

我有一个部署在Azure上的Azure函数应用程序。
我正在调试应用程序的某个问题,所以我需要检查wwwroot文件夹的内容以了解问题的根本原因。我一直在阅读所有的文档,但我找不到它。
在应用程序运行时,我如何检查wwwroot文件夹的内容。任何帮助都将不胜感激。

英文:

I have an Azure Function app that is deployed on Azure.
I am debugging some issue with the app,so I need to check the content of the wwwroot folder to understand the root cause of problem. I have been reading all the documents,but I couldn't find it.
How I can check the content of the wwwroot folder while app is running. Any help is appreciated.

答案1

得分: 1

以下是已翻译的内容:

有相关的问题和答案。
简单的方法是使用Azure门户中的高级工具(Kudu服务)。

  1. 登录到portal.azure.com
  2. 选择您的Azure函数应用
  3. 在侧边栏中选择高级工具,然后选择'Go'。
  4. 这将显示Kudu服务。
  5. 选择Debug控制台 | CMD
  6. 选择site | wwwroot文件夹以检查文件夹的内容。
英文:

There are related questions and answers.
Simple way is by using Advanced Tool (Kudu Services) from the azure portal.

  1. Sign-in to portal.azure.com
  2. Select your Azure Function App
  3. Select Advanced Tools in the side bar and select 'Go'.
  4. This will dislplay the Kudu Services.
  5. Select Debug console | CMD
  6. Select site | wwwroot folder to check the content of the folder.

答案2

得分: 0

除了 @Snekithan 的回答之外:

要进入 Kudu,无论是对于 App Service 还是 Function App,都可以使用 [app-name].scm.azurewebsites.net 这个快捷方式。

如果您想使用类似在线 VS Code 编辑器的工具,可以在任何托管在 Windows 上的 App Service 或 Function App 上访问 [app-name].scm.azurewebsites.net/dev

如何检查 Azure 函数应用的 wwwroot 文件夹的内容

英文:

In addition to @Snekithan's answer:

The shortcut to get to Kudu for both an App Service and a Function App is [app-name].scm.azurewebsites.net.

If you would like to use something that looks a lot like an online VS Code editor, go to [app-name].scm.azurewebsites.net/dev on any Windows hosted App Service or Function App.

如何检查 Azure 函数应用的 wwwroot 文件夹的内容

huangapple
  • 本文由 发表于 2023年6月30日 01:14:57
  • 转载请务必保留本文链接:https://go.coder-hub.com/76583260.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定