是否可以在本地IIS中部署Azure功能? [英] Is it possible to deploy the Azure Functions in Local IIS?

查看:111
本文介绍了是否可以在本地IIS中部署Azure功能?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I have created a HttpTrigger using Visual Studio 2017. I can able to debug and able to call the azure function from web browser using below mentioned URL.

localhost:7071/api/Demofunction?name = amit

localhost:7071/api/Demofunction?name=amit

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

I have published the Project in a Local Folder in my system. Is it possible to deploy the generated dlls in the Local IIS and call the API from browser? If Yes, then how to do this?

推荐答案

如果主要关注的是如何在内部使用Azure Functions而不是使用Azure,则可以使用

If your primary concern is how to use Azure Functions on premises instead of using azure you can use the Azure Functions Runtime to deploy and run azure functions on premises:

Azure Functions运行时为您提供了一种新的方式,可以利用内部的Azure Functions编程模型的简单性和灵活性.构建在与Azure Functions相同的开源根基础上,Azure Functions Runtime部署在本地,以提供与云服务几乎相同的开发体验.

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.

这篇关于是否可以在本地IIS中部署Azure功能?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆