Microservices Design Patterns in .NET - Second Edition: Making sense of microservices design and architecture using .NET 10 and C# 14
暫譯: .NET 微服務設計模式(第二版):使用 .NET 10 和 C# 14 理解微服務設計與架構

Williams, Trevoir

  • 出版商: Packt Publishing
  • 出版日期: 2025-12-22
  • 售價: $1,840
  • 貴賓價: 9.5$1,748
  • 語言: 英文
  • 頁數: 538
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1837027412
  • ISBN-13: 9781837027415
  • 相關分類: Microservices 微服務
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Design, build, and scale cloud-native microservices by using proven patterns such as CQRS, Saga, and event sourcing to enhance reliability, observability, and modern deployment

Key Features:

- Design scalable and maintainable microservices with domain modeling, S.O.L.I.D principles, and clean architecture

- Simplify cloud development and deployment using containers, Kubernetes, serverless, and Aspire

- Improve reliability and security through observability, automation, and zero-trust practices

- Purchase of the print or Kindle book includes a free PDF eBook

Book Description:

Are you a developer seeking practical, up-to-date insights into designing scalable and resilient microservices? Microservices Design Patterns in .NET, Second Edition provides a comprehensive exploration of modern microservices using C# 14 and .NET 10.

This edition expands on core patterns such as CQRS, event sourcing, and Saga, while introducing advanced concepts such as observability with OpenTelemetry, zero-trust security, and container-based workflows.

You'll explore both synchronous and asynchronous communication, apply domain-driven design to define service boundaries, and manage data consistency using proven persistence strategies. The book also guides you through container hosting, serverless functions, and production-ready deployment pipelines.

By the end of this book, you'll know how to design and deploy secure, maintainable, and resilient microservices that fit perfectly in modern cloud ecosystems.

What You Will Learn:

- Design microservices with domain-driven design and bounded contexts

- Build resilience with retries, circuit breakers, and caching

- Apply CQRS, event sourcing, and Saga for reliable workflows

- Use OpenTelemetry and .NET Aspire for monitoring and tracing

- Secure APIs with IdentityServer, bearer tokens, and zero-trust principles

- Deploy and scale using containers, Kubernetes, and serverless platforms

Who this book is for:

This book is ideal for .NET developers, senior developers, software architects, and DevOps engineers who want to explore the pros and cons, intricacies, and overall implementation of microservice architecture. You'll also get plenty of valuable insights if you're seeking to expand your knowledge of different design patterns and supporting technologies.

Table of Contents

- Introducing Microservices - the Big Picture

- Applying Domain-Driven Design Principles

- Synchronous Communication between Microservices

- Asynchronous Communication between Microservices

- Working with the Aggregator Pattern

- Working with the CQRS Pattern

- Applying Event-Sourcing Patterns

- Database Design Strategies for Microservices

- Implementing Transactions across Microservices Using the Saga Pattern

- Building Resilient Microservices

- Implementing the API and BFF Gateway Patterns

- Micro Frontends - Extending Microservices to the Frontend

- Securing Microservices

- Container Hosting and Development Patterns

- Serverless Microservices Development

- Observability and Monitoring with Modern Tools

- Wrapping It All Up

商品描述(中文翻譯)

設計、建構及擴展雲原生微服務,使用經驗證的模式如 CQRS、Saga 和事件來源,以增強可靠性、可觀察性及現代部署

主要特點:
- 使用領域建模、S.O.L.I.D 原則和乾淨架構設計可擴展且可維護的微服務
- 使用容器、Kubernetes、無伺服器和 Aspire 簡化雲端開發和部署
- 透過可觀察性、自動化和零信任實踐提高可靠性和安全性
- 購買印刷版或 Kindle 書籍可獲得免費 PDF 電子書

書籍描述:
您是一位尋求實用且最新見解的開發者,想要設計可擴展且具韌性的微服務嗎?《Microservices Design Patterns in .NET, Second Edition》提供了使用 C# 14 和 .NET 10 的現代微服務的全面探索。

本版擴展了核心模式如 CQRS、事件來源和 Saga,同時引入了先進概念,如使用 OpenTelemetry 的可觀察性、零信任安全和基於容器的工作流程。

您將探索同步和非同步通信,應用領域驅動設計來定義服務邊界,並使用經驗證的持久性策略來管理數據一致性。本書還將指導您進行容器託管、無伺服器函數和生產就緒的部署管道。

在本書結束時,您將知道如何設計和部署安全、可維護且具韌性的微服務,完美融入現代雲生態系統。

您將學到的內容:
- 使用領域驅動設計和有界上下文設計微服務
- 透過重試、斷路器和快取建立韌性
- 應用 CQRS、事件來源和 Saga 以實現可靠的工作流程
- 使用 OpenTelemetry 和 .NET Aspire 進行監控和追蹤
- 使用 IdentityServer、承載令牌和零信任原則保護 API
- 使用容器、Kubernetes 和無伺服器平台進行部署和擴展

本書適合對象:
本書非常適合 .NET 開發者、高級開發者、軟體架構師和 DevOps 工程師,想要探索微服務架構的優缺點、複雜性及整體實施。如果您希望擴展對不同設計模式和支援技術的知識,您也將獲得許多有價值的見解。

目錄:
- 介紹微服務 - 大局觀
- 應用領域驅動設計原則
- 微服務之間的同步通信
- 微服務之間的非同步通信
- 使用聚合器模式
- 使用 CQRS 模式
- 應用事件來源模式
- 微服務的資料庫設計策略
- 使用 Saga 模式在微服務之間實現交易
- 建立韌性的微服務
- 實現 API 和 BFF 閘道模式
- 微前端 - 將微服務擴展到前端
- 保護微服務
- 容器託管和開發模式
- 無伺服器微服務開發
- 使用現代工具進行可觀察性和監控
- 總結所有內容