gpt4 book ai didi

azure - 是否可以在本地 IIS 中部署 Azure Functions?

转载 作者:行者123 更新时间:2023-12-02 23:19:25 24 4
gpt4 key购买 nike

我使用 Visual Studio 2017 创建了一个 HttpTrigger。我可以使用下面提到的 URL 进行调试并从 Web 浏览器调用 azure 函数。

localhost:7071/api/Demofunction?name=amit

我已将项目发布到系统中的本地文件夹中。是否可以将生成的 dll 部署在本地 IIS 中并从浏览器调用 API?如果是,那么该怎么做?

最佳答案

如果您主要关心的是如何在本地使用 Azure Functions 而不是使用 azure,您可以使用 Azure Functions Runtime在本地部署和运行 azure 函数:

The Azure Functions Runtime provides a new way for you to take advantage of the simplicity and flexibility of the Azure Functions programming model on-premises. Built on the same open source roots as Azure Functions, Azure Functions Runtime is deployed on-premises to provide a nearly identical development experience as the cloud service.

关于azure - 是否可以在本地 IIS 中部署 Azure Functions?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47325106/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com