使用VS Code中的Azure Functions扩展创建C#函数(Azure Function))

本文详细介绍了如何在Visual Studio Code中配置环境,使用Azure Functions扩展创建C#函数,包括设置Azure账户,安装必备工具,创建本地项目,本地运行函数,登录Azure并发布项目到云端,最后展示发布成功后函数在Azure中的运行状态。
摘要由CSDN通过智能技术生成

配置环境

  • 具有有效订阅的Azure账户。
  • 安装Azure Functions Core Tools 3.x
    注意:根据官方介绍,Azure Functions Core Tools当前依赖于Azure CLI来通过Azure账户进行身份验证,所以要先安装 Azure CLI;而安装Azure CLI时,可能会弹出关于python 3.8的警告,这是因为本地缺少Apple Command Line Tools,可以顺便一起安装。(本示例在Mac上创建)
Warning: Building python@3.8 from source:
  The bottle needs the Apple Command Line Tools to be installed.
  You can install them, if desired, with:
    xcode-select --install
  • 已安装VS Code.
  • VS Code的C#扩展。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值