The documentation you are viewing is for Dapr v1.7 which is an older version of Dapr. For up-to-date documentation, see the latest version.

使用 GitHub Codespaces 开发

如何在 GitHub Codespace 中启动和运行 Dapr

GitHub Codespaces 是启动和运行 Dapr 环境最简单的方式。 只需点击一下,您就可以在浏览器中准备好环境、包、代码、示例和文档。

特性

  • 单击并运行: 获得一个专用和沙盒化的环境,并且所有所需的框架和包件已准备就绪。
  • 基于使用情况的计费: 只为您在 Codespace 上花费的开发时间支付费用。 环境在不使用时自动关闭。
  • 便携: 在您的浏览器或 Visual Studio Code 中运行

在 Codespace 中打开 Dapr

要在 Codespace 中打开一个Dapr 仓库,只需从repo 主页中选择"Code"和"Open with Codespaces":

创建 Dapr Codespace 的截图

支持的 Repo

相关链接