面向 .NET 开发人员的 DaprDapr for .NET Developers

封面图像

预览版PREVIEW EDITION

发布者PUBLISHED BY

Microsoft 开发人员部门、.NET 和 Azure Incubations 团队Microsoft Developer Division, .NET, and Azure Incubations teams

Microsoft Corporation 的一个部门A division of Microsoft Corporation

One Microsoft WayOne Microsoft Way

Redmond, Washington 98052-6399Redmond, Washington 98052-6399

版权所有 © 2021 Microsoft CorporationCopyright © 2021 by Microsoft Corporation

保留所有权利。All rights reserved. 未经发布者书面许可,不得以任何形式或任何方式复制或传播本书中的任何内容。No part of the contents of this book may be reproduced or transmitted in any form or by any means without the written permission of the publisher.

本书“按原样”提供,表达作者的观点和看法。This book is provided "as-is" and expresses the author's views and opinions. 本书中表达的观点、看法和信息(包括 URL 和其他 Internet 网站引用)如有更改,恕不另行通知。The views, opinions, and information expressed in this book, including URL and other Internet website references, may change without notice.

本书中提及的一些示例仅用于说明,纯属虚构。Some examples depicted herein are provided for illustration only and are fictitious. 不存在任何实际关联或联系,请勿妄加推断。No real association or connection is intended or should be inferred.

Microsoft 和 https://www.microsoft.com 上“商标”网页列出的商标是 Microsoft 集团公司的商标。Microsoft and the trademarks listed at https://www.microsoft.com on the "Trademarks" webpage are trademarks of the Microsoft group of companies.

Mac 和 macOS 是 Apple Inc. 的商标Mac and macOS are trademarks of Apple Inc.

Docker 的鲸鱼徽标是 Docker Inc. 的注册商标经许可方可使用。The Docker whale logo is a registered trademark of Docker, Inc. Used by permission.

所有其他标记和徽标均为其各自所有者的财产。All other marks and logos are property of their respective owners.

作者:Authors:

Rob Vettor,Microsoft 首席云解决方案架构师 - thinkingincloudnative.comRob Vettor, Principal Cloud Solution Architect - thinkingincloudnative.com, Microsoft

Sander Molenkamp,Info Support 首席云架构师/Microsoft MVP - sandermolenkamp.comSander Molenkamp, Principal Cloud Architect/Microsoft MVP - sandermolenkamp.com, Info Support

Edwin van Wijk,Info Support 首席解决方案架构师/Microsoft MVP - defaultconstructor.comEdwin van Wijk, Principal Solution Architect/Microsoft MVP - defaultconstructor.com, Info Support

参与者和审阅者:Participants and Reviewers:

Mark Russinovich,Microsoft Azure Office of CTO 的 Azure CTO 兼技术研究员Mark Russinovich, Azure CTO and Technical Fellow, Azure Office of CTO, Microsoft

Nish Anil,Microsoft .NET 团队高级项目经理 Nish Anil, Senior Program Manager, .NET team, Microsoft

Mark Fussell,Microsoft Azure Incubations 首席项目经理Mark Fussell, Principal Program Manager, Azure Incubations, Microsoft

Yaron Schneider,Microsoft Azure Incubations 首席软件工程师Yaron Schneider, Principal Software Engineer, Azure Incubations, Microsoft

Ori Zohar,Microsoft Azure Incubations 高级项目经理Ori Zohar, Senior Program Manager, Azure Incubations, Microsoft

编辑:Editors:

David Pine,Microsoft .NET 团队资深内容开发人员David Pine, Senior Content Developer, .NET team, Microsoft

Microsoft .NET 团队高级项目经理 Maira Wenzel Maira Wenzel, Senior Program Manager, .NET team, Microsoft

VersionVersion

本指南已编写为涵盖 Dapr 1.0 版本。This guide has been written to cover the Dapr 1.0 version. .NET Core 示例基于 .NET Core 3.1。.NET Core samples are based on .NET Core 3.1.

本指南的目标读者Who should use this guide

本指南的受众主要是对学习如何构建为云设计的应用程序感兴趣的开发人员、开发主管和架构师。The audience for this guide is mainly developers, development leads, and architects who are interested in learning how to build applications designed for the cloud.

次级受众是计划选择是否使用云本机方法构建其应用程序的技术决策者。A secondary audience is technical decision-makers who plan to choose whether to build their applications using a cloud-native approach.

如何使用本指南How you can use this guide

本指南有 PDF 格式和在线版本。This guide is available both in PDF form and online. 欢迎随时将此文档或其在线版本的链接转发给你的团队,以确保对这些主题有共同的理解。Feel free to forward this document or links to its online version to your team to help ensure common understanding of these topics. 这些主题中的大多数都得益于对基本原则和模式的一致理解,以及与这些主题相关的决策所涉及的权衡。Most of these topics benefit from a consistent understanding of the underlying principles and patterns, as well as the trade-offs involved in decisions related to these topics. 本文档的目标是为团队及其领导提供所需的信息,使其能够为应用程序的体系结构、开发和托管作出明智的决策。Our goal with this document is to equip teams and their leaders with the information they need to make well-informed decisions for their applications' architecture, development, and hosting.

提供你的反馈Send your feedback

我们正在不断完善本书和相关示例,欢迎你提供反馈!This book and related samples are constantly evolving, so your feedback is welcomed! 如果对如何改进本书有任何建议,请使用 GitHub 问题上任何页面底部的反馈部分进行反馈。If you have comments about how this book can be improved, use the feedback section at the bottom of any page built on GitHub issues.