【问题标题】:What's the difference between InputEndpoints -> inputEndpoint and Endpoints -> inputEndpoint (azure web role)?InputEndpoints -> inputEndpoint 和 Endpoints -> inputEndpoint (azure web role) 有什么区别?
【发布时间】:2015-12-05 21:48:54
【问题描述】:

这几乎是在 Visual Studio 中创建云项目时的默认设置。我添加了<InputEndpoints> 元素。我知道

<Endpoints>
<InputEndpoint> 

是关于外部用户将如何访问我的应用程序,但是

<InputEndpoints>
<InputEndpoint> 

为了?

<WebRole name="WebRole1" vmsize="Small">
<Sites>
  <Site name="Web">
    <Bindings>
      <Binding name="Endpoint1" endpointName="Endpoint1" />
    </Bindings>
  </Site>
</Sites>
<ConfigurationSettings>
  <Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString" />
</ConfigurationSettings>
<InputEndpoints>
  <InputEndpoint name="Endpoint1" protocol="http" port="80" />
</InputEndpoints>
<Endpoints>
  <InputEndpoint name="Endpoint1" protocol="http" port="80" />
  <InternalEndpoint name="Endpoint2" protocol="http" port="80" />
</Endpoints>

谢谢

编辑: 这是my source

【问题讨论】:

    标签: azure azure-web-app-service azure-web-roles


    【解决方案1】:

    &lt;InputEndpoints&gt; 不是WebRole schema 的一部分。您的所有端点(输入/内部)都属于 &lt;Endpoints&gt; 元素。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-06-12
      • 2022-06-24
      • 2021-04-29
      • 2017-04-05
      • 2017-04-11
      • 2016-04-08
      相关资源
      最近更新 更多