Microservices Design Patterns in .NET: Making sense of microservices design and architecture using .NET Core (Paperback)

Williams, Trevoir

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

商品描述

Learn to be deliberate and intentional in your design, technology, and pattern choices when developing an application using a microservices architecture.

Key Features

- Tackle common design problems when developing a microservices application using .NET Core
- Explore applying S.O.L.I.D development principles in developing a stable microservice application
- Use your knowledge to solve common microservice application design challenges

Book Description

Are you a developer who needs to fully understand the different patterns and benefits that they bring to designing microservices? If yes, then this book is for you. Microservices Design Patterns in .NET will help you appreciate the various microservice design concerns and strategies that can be used to navigate them.

Making a microservice-based app is no easy feat and there are many concerns that need to be addressed. As you progress through the chapters of this guide, you'll dive headfirst into the problems that come packed with this architectural approach, and then explore the design patterns that address these problems. You'll also learn how to be deliberate and intentional in your architectural design to overcome major considerations in building microservices.

By the end of this book, you'll be able to apply critical thinking and clean coding principles when creating a microservices application using .NET Core.

What you will learn

- Use Domain-Driven Design principles in your microservice design
- Leverage patterns like event sourcing, database-per-service, and asynchronous communication
- Build resilient web services and mitigate failures and outages
- Ensure data consistency in distributed systems
- Leverage industry standard technology to design a robust distributed application
- Find out how to secure a microservices-designed application
- Use containers to handle lightweight microservice application deployment

Who this book is for

If you are a .NET developer, senior developer, software architect, or DevOps engineer who wants to explore the pros and cons, intricacies, and overall implementation of microservice architecture, then this book is for you. You'll also get plenty of useful insights if you're seeking to expand your knowledge of different design patterns and supporting technologies.

Basic experience with application and API development with .NET Core (2+) and C# will help you get the most out of this book.

商品描述(中文翻譯)

學習在使用微服務架構開發應用程式時,在設計、技術和模式選擇上要有意識和有目的性。

主要特點:

- 使用.NET Core開發微服務應用程式時,解決常見的設計問題。
- 探索在開發穩定的微服務應用程式時應用S.O.L.I.D開發原則。
- 使用你的知識解決常見的微服務應用程式設計挑戰。

書籍描述:

你是一位開發人員嗎?你需要完全了解不同的模式以及它們對設計微服務的好處嗎?如果是的話,這本書就是為你而寫的。《.NET中的微服務設計模式》將幫助你理解各種微服務設計問題和策略。

製作一個基於微服務的應用程式並不容易,有許多需要解決的問題。隨著你閱讀本指南的章節,你將深入探討這種架構方法所帶來的問題,並探索解決這些問題的設計模式。你還將學習如何在建構微服務時有意識地進行架構設計,以克服建構微服務時的主要考慮因素。

通過閱讀本書,你將能夠在使用.NET Core創建微服務應用程式時應用批判性思維和乾淨的編碼原則。

你將學到什麼:

- 在微服務設計中使用領域驅動設計原則。
- 利用事件溯源、每個服務一個資料庫和異步通信等模式。
- 構建具有彈性的網路服務,並減輕故障和停機。
- 確保分散系統中的數據一致性。
- 利用行業標準技術設計強大的分散式應用程式。
- 了解如何保護微服務設計的應用程式。
- 使用容器處理輕量級微服務應用程式部署。

這本書適合對微服務架構的優缺點、細節和整體實施感興趣的.NET開發人員、高級開發人員、軟體架構師或DevOps工程師。如果你想擴展對不同設計模式和支援技術的知識,這本書也會給你帶來很多有用的見解。

對於具有.NET Core(2+)和C#的應用程式和API開發的基本經驗,將有助於你充分利用本書。

目錄大綱

1. Introduction To Microservices: The Big Picture
2. Working with the Aggregator Pattern
3. Implementing the Chain of Responsibility Pattern (Synchronous Communication)
4. Asynchronous Communication between microservices
5. Working with the CQRS Pattern
6. Applying Event Sourcing Patterns
7. Handling Data for Each Microservice with Database Per Service Pattern
8. Implement transactions across microservices using the Saga pattern
9. Build a fault-tolerant and resilient system with the Circuit Breaker Pattern
10. Performing Health Checks of your services
11. Reviewing the implementation of API Gateway Pattern
12. API Security with Bearer Tokens
13. Microservice Container Hosting
14. Implementing Centralized Logging for Microservices
15. Wrapping it all up

目錄大綱(中文翻譯)

1. 微服務介紹:整體概觀
2. 使用聚合器模式進行工作
3. 實現責任鏈模式(同步通訊)
4. 微服務之間的非同步通訊
5. 使用CQRS模式進行工作
6. 應用事件溯源模式
7. 使用每個微服務的資料庫模式處理資料
8. 使用Saga模式在微服務之間實現交易
9. 使用斷路器模式構建容錯和彈性系統
10. 執行服務的健康檢查
11. 審查API Gateway模式的實現
12. 使用Bearer Tokens進行API安全性保護
13. 微服務容器托管
14. 為微服務實現集中式日誌記錄
15. 總結