我看不到 Azure Function App 的代理

I can't see proxies for Azure Function App

我在 VS 2017 中创建了一个 azure 函数应用程序。 我包含了一个 proxies.json 文件并发布了该应用程序。 但是我在 Azure 门户中看不到代理。

它只说: 代理(预览)(只读)

我进入了功能设置,没有启用代理的设置。我认为那是旧方法,(不是为了开发 visual studio 中的功能)

proxies.json 看起来像这样:

{
  "$schema": "http://json.schemastore.org/proxies",
  "proxies": {
    "user": {
      "matchCondition": {
        "methods": [ "GET" ],
        "route": "/user/{user}"
      },
      "backendUri": "https://<mycontainer>.blob.core.windows.net/html/test.html/{user}"
    }

  }
}

好的,我明白了.... proxies.json 文件应该在 VS 的属性面板中以“copy always”的形式复制到输出目录。