[Serverless] Azure Functions 使用介绍

关于产品

Azure Serverless (无服务器)
https://azure.microsoft.com/zh-cn/solutions/serverless/

Azure Functions (函数应用)
https://azure.microsoft.com/zh-cn/products/functions/

操作步骤 

1. 在 Azure平台 创建 New Function App 项目

关于 Azure Functions 托管选项(Flex消耗计划、高级计划、专用计划、容器应用、消耗计划)
https://learn.microsoft.com/zh-cn/azure/azure-functions/functions-scale

2. 在 Visual Studio Code / 扩展 中,安装 Azure Functions 插件

3. 下载并安装 Azure Functions Core Tools v4 (for VS Code Debugging)

The Azure Functions Core Tools provide a local development experience for creating, developing, testing, running, and debugging Azure Functions.
https://github.com/Azure/azure-functions-core-tools

4. 在 Azure / WORKSPACE 中,创建 Local Function Project

5. 在 SOLUTION EXPLORER 中编译 Local Function Project

6. 在 Azure / WORKSPACE 中 Run Build Task

7. 在 Azure / WORKSPACE 中执行 Deploy To Azure

8. 在 Azure平台 验证发布的应用

参考资料

Azure Functions 概述
https://learn.microsoft.com/zh-cn/azure/azure-functions/functions-overview
Bilibili 世达IT-薇儿的梦 Functions 合集
https://space.bilibili.com/521257119/channel/seriesdetail?sid=3848157&ctype=0

posted @ 2024-12-11 13:22  jinzesudawei  阅读(63)  评论(0)    收藏  举报