azure - 从 Azure 使用位于本地的 RESTful 服务

标签 azure

我的公司有多个位于防火墙后面的 RESTful 服务。我希望能够使用客户端应用程序从 Azure 云访问这些服务,就像该服务位于 Azure 中一样。

例如,如果我有一个本地 URL,例如:

https://onpremiseservice/Customers/1

我希望能够像 Azure 一样访问它

https://mycompany.azurewebsite.net/Customers/1

这可能吗?我可以进行某种 URL 转发吗?

最佳答案

更新于 2022 年 9 月 26 日

您有很多选项,这里按照配置的难易程度与性能的顺序排列(ExpressRoute 最难配置,但性能最佳)。

  1. 使用Azure API Management它是专为这个用例而设计的。

  2. 配置本地防火墙,以便您的 Azure Web 应用出站 IP 可以连接到本地 API。然后在 Azure Web 应用中创建一个 Web API,使用 HttpClient 将调用代理到永久 API。

  3. 使用Hybrid Connection

  4. 使用Point-to-Site VPN

  5. 使用Site-to-Site VPN

  6. 使用ExpressRoute

More information on your options in depth

关于azure - 从 Azure 使用位于本地的 RESTful 服务,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42288703/

相关文章:

c# - 读取 JSON 文件中的百万个字符时出现异常 [OutOfMemoryException]

azure - azure 函数和 azure 静态 Web 应用程序之间的区别?怎么运行的?

c# - 使用 AspNet 从 Azure Blob 存储下载并重命名文件

python-2.7 - 无法在 Azure LAMP shell 服务器上使用 pip 安装 Python 包

css - 我的 ASP.Net Core 1.1 元素的 CSS 设置在发布到 Azure 后不会出现。

azure - 为什么需要在 Azure 管理门户中而不是在 Web 作业的 App.config 中配置 Web 作业的连接字符串?

Azure 云角色包含存储 = 额外费用?

c# - 希望触发器的参数中有 Azure.Messaging.ServiceBus ServiceBusReceiver

Azure功能-Cron触发器-每秒都可以,但不是每分钟

visual-studio-2010 - Visual Studio 2010 可以将调试或发布转换应用于 Web.config,但 Azure 设置又如何呢?