
Microservices Design Patterns in .NET
Making sense of microservices design and architecture using .NET 10 and C# 14
Trevoir Williams(Author)
Packt Publishing
2nd Edition
Will be published approx. on 29. December 2025
Book
Paperback/Softback
538 pages
978-1-83702-741-5 (ISBN)
Description
Updated to C# 14 and .NET 10, this guide helps you design stable microservices using proven architectural patterns and modern development principles
Key Features
Design, build, and manage microservices using updated .NET 10 and C# 14
Tackle design challenges using patterns like CQRS, event sourcing, Saga, and Polyglot persistence
Apply S.O.L.I.D principles and enhance resiliency, observability, and scalability
Free with your book: PDF Copy, AI Assistant, and Next-Gen Reader
Book DescriptionIf you're a developer looking for practical, up-to-date insights into designing scalable and resilient microservices, Microservices Design Patterns in .NET, Second Edition is just the book for you, offering comprehensive exploration of modern microservices using C# 14 and .NET 10.
This updated edition builds on the strong foundation built by its predecessor, addressing new industry trends and tools while refining existing content to meet the needs of today's developers. With enhanced coverage of asynchronous messaging, database sharding, resiliency strategies, API gateways, and cloud-native patterns like serverless and sidecar architecture, this edition equips you to confidently overcome modern design challenges.
By the end of this book, you'll not only gain a deeper understanding of architectural decisions but also apply advanced concepts through real-world scenarios, code samples, and actionable guidance. Whether you're starting from scratch or evolving an existing monolith, this book guides you to build robust, maintainable microservices that are production-ready and cloud-optimized.What you will learn
Apply Domain-Driven Design principles in your microservice design
Build resilient services using retries, circuit breakers, and caching
Use modern observability tools and serverless design strategies
Secure microservices with IdentityServer and bearer token authentication
Deploy using containers and integrate cloud-native best practices
Who this book is forThis book is ideal for .NET developers, senior developers, software architects, and DevOps engineers who want to explore the pros and cons, intricacies, and the 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.
Key Features
Design, build, and manage microservices using updated .NET 10 and C# 14
Tackle design challenges using patterns like CQRS, event sourcing, Saga, and Polyglot persistence
Apply S.O.L.I.D principles and enhance resiliency, observability, and scalability
Free with your book: PDF Copy, AI Assistant, and Next-Gen Reader
Book DescriptionIf you're a developer looking for practical, up-to-date insights into designing scalable and resilient microservices, Microservices Design Patterns in .NET, Second Edition is just the book for you, offering comprehensive exploration of modern microservices using C# 14 and .NET 10.
This updated edition builds on the strong foundation built by its predecessor, addressing new industry trends and tools while refining existing content to meet the needs of today's developers. With enhanced coverage of asynchronous messaging, database sharding, resiliency strategies, API gateways, and cloud-native patterns like serverless and sidecar architecture, this edition equips you to confidently overcome modern design challenges.
By the end of this book, you'll not only gain a deeper understanding of architectural decisions but also apply advanced concepts through real-world scenarios, code samples, and actionable guidance. Whether you're starting from scratch or evolving an existing monolith, this book guides you to build robust, maintainable microservices that are production-ready and cloud-optimized.What you will learn
Apply Domain-Driven Design principles in your microservice design
Build resilient services using retries, circuit breakers, and caching
Use modern observability tools and serverless design strategies
Secure microservices with IdentityServer and bearer token authentication
Deploy using containers and integrate cloud-native best practices
Who this book is forThis book is ideal for .NET developers, senior developers, software architects, and DevOps engineers who want to explore the pros and cons, intricacies, and the 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.
More details
Edition
2nd Revised edition
Language
English
Place of publication
Birmingham
United Kingdom
Target group
Professional and scholarly
Edition type
Revised edition
Dimensions
Height: 235 mm
Width: 191 mm
Thickness: 29 mm
Weight
992 gr
ISBN-13
978-1-83702-741-5 (9781837027415)
Copyright in bibliographic data and cover images is held by Nielsen Book Services Limited or by the publishers or by their respective licensors: all rights reserved.
Schweitzer Classification
Person
Trevoir Williams, a passionate software and system engineer from Jamaica, shares his extensive knowledge with students worldwide. Holding a Master's degree in Computer Science with a focus on Software Development and multiple Microsoft Azure Certifications, his educational background is robust. His diverse experience includes software consulting, engineering, database development, cloud systems, server administration, and lecturing, reflecting his commitment to technological excellence and education. He is also a talented musician, showcasing his versatility. He has penned works like Microservices Design Patterns in .NET and Azure Integration Guide for Business. His practical approach to teaching helps students grasp both theory and real-world applications.
Content
Table of Contents
Introduction to Microservices - the Big Picture
Domain Driven Design
Synchronous Communication between Microservices
Asynchronous Communication between Microservices
Working with the Aggregator Pattern
Working with the CQRS Pattern
Applying Event Sourcing Patterns
Data Management Strategies for Microservices
Polyglot Persistence and Database Sharding
Implement 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
Microservice Container Hosting
Sidecar Pattern
Serverless Microservices Development
Observability and Monitoring with Modern Tools
Wrapping it all up
Introduction to Microservices - the Big Picture
Domain Driven Design
Synchronous Communication between Microservices
Asynchronous Communication between Microservices
Working with the Aggregator Pattern
Working with the CQRS Pattern
Applying Event Sourcing Patterns
Data Management Strategies for Microservices
Polyglot Persistence and Database Sharding
Implement 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
Microservice Container Hosting
Sidecar Pattern
Serverless Microservices Development
Observability and Monitoring with Modern Tools
Wrapping it all up