作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我使用 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/
我是一名优秀的程序员,十分优秀!