Practical Microservices with Dapr and .NET: A developer's guide to build cloud native applications using the Dapr event-driven runtime
暫譯: 使用 Dapr 和 .NET 的實用微服務:開發者指南,構建基於 Dapr 事件驅動運行時的雲原生應用程序

Bedin, Davide

買這商品的人也買了...

商品描述

Use the new, enticing and highly portable event-driven runtime to simplify building resilient and scalable microservices for cloud and edge applications.


Key Features:

  • Build resilient, stateless, and stateful microservice applications that run on the cloud and edge
  • Solve common distributed systems such as low latency and scaling using any language and framework
  • Use real-time and proactive monitoring tools to support a reliable and highly available system


Book Description:

Over the last decade, there has been a huge shift from heavily coded monolithic applications to finer, self-contained microservices. Dapr is a new, open source project by Microsoft that provides proven techniques and best practices for developing modern applications. It offers platform-agnostic features for running your applications on public cloud, on-premises, and even on edge devices.


This book will help you get to grips with microservice architectures and how to manage application complexities with Dapr in no time. You'll understand how Dapr offers ease of implementation while allowing you to work with multiple languages and platforms. You'll also understand how Dapr's runtime, services, building blocks, and software development kits (SDKs) help you to simplify the creation of resilient and portable microservices. Dapr provides an event-driven runtime that supports the essential features you need to build microservices, including service invocation, state management, and publish/subscribe messaging. You'll explore all of those in addition to various other advanced features with this practical guide to learning Dapr.


By the end of this book, you'll be able to write microservices easily using your choice of language or framework by implementing industry best practices to solve problems related to distributed systems.


What You Will Learn:

  • Use Dapr to create services, invoking them directly and via pub/sub
  • Discover best practices for working with microservice architectures
  • Leverage the actor model to orchestrate data and behavior
  • Use Azure Kubernetes Service to deploy a sample application
  • Monitor Dapr applications using Zipkin, Prometheus, and Grafana
  • Scale and load test Dapr applications on Kubernetes


Who This Book Is For:

This book is for developers looking to explore microservices architectures and implement them in Dapr applications using examples on Microsoft .NET Core. Whether you are new to microservices or have knowledge of this architectural approach and want to get hands-on experience in using Dapr, you'll find this book useful. Familiarity with .NET Core will help you to understand the C# samples and code snippets used in the book.

商品描述(中文翻譯)

使用全新、引人入勝且高度可攜帶的事件驅動運行時,簡化為雲端和邊緣應用程式構建彈性和可擴展的微服務。

主要特點:
- 構建在雲端和邊緣運行的彈性、無狀態和有狀態的微服務應用程式
- 使用任何語言和框架解決常見的分散式系統問題,如低延遲和擴展性
- 使用實時和主動監控工具來支持可靠且高可用的系統

書籍描述:
在過去十年中,從重度編碼的單體應用程式轉向更精細、自包含的微服務發生了巨大的變化。Dapr 是微軟推出的一個新開源專案,提供開發現代應用程式的成熟技術和最佳實踐。它提供平台無關的功能,讓您的應用程式可以在公共雲、內部部署甚至邊緣設備上運行。

本書將幫助您迅速掌握微服務架構以及如何使用 Dapr 管理應用程式的複雜性。您將了解 Dapr 如何提供實施的便利,同時允許您使用多種語言和平台。您還將了解 Dapr 的運行時、服務、構建模塊和軟體開發工具包(SDK)如何幫助您簡化彈性和可攜帶微服務的創建。Dapr 提供一個事件驅動的運行時,支持構建微服務所需的基本功能,包括服務調用、狀態管理和發布/訂閱消息。您將通過這本實用指南探索所有這些以及其他各種先進功能,學習 Dapr。

在本書結束時,您將能夠輕鬆使用您選擇的語言或框架編寫微服務,並實施行業最佳實踐來解決與分散式系統相關的問題。

您將學到的內容:
- 使用 Dapr 創建服務,直接調用它們或通過發布/訂閱
- 發現微服務架構的最佳實踐
- 利用 Actor 模型來協調數據和行為
- 使用 Azure Kubernetes Service 部署示範應用程式
- 使用 Zipkin、Prometheus 和 Grafana 監控 Dapr 應用程式
- 在 Kubernetes 上擴展和負載測試 Dapr 應用程式

本書適合對象:
本書適合希望探索微服務架構並在 Dapr 應用程式中實施的開發人員,使用 Microsoft .NET Core 的範例。無論您是微服務的新手,還是對這種架構方法有一定了解並希望獲得使用 Dapr 的實踐經驗,您都會發現本書非常有用。熟悉 .NET Core 將幫助您理解書中使用的 C# 範例和代碼片段。