Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Microservices Design Patterns in .NET
  • Table Of Contents Toc
Microservices Design Patterns in .NET

Microservices Design Patterns in .NET - Second Edition

By : Trevoir Williams
close
close
Microservices Design Patterns in .NET

Microservices Design Patterns in .NET

By: Trevoir Williams

Overview of this book

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.
Table of Contents (24 chapters)
close
close
Lock Free Chapter
1
Understanding Microservices and Design Patterns
9
Database and Storage Design Patterns
12
Resiliency, Security, and Infrastructure Patterns
17
Cloud Development Strategies
22
Index
23
Other Books You May Enjoy

Working with the CQRS Pattern

We now know that microservices require some foresight during the planning phase and that we must employ the best patterns and technology to support our decisions. In this chapter, we will explore another pattern that has gained much acclaim for helping us write clean and maintainable code: the Command Query Responsibility Segregation (CQRS) pattern, which is an extension of the CQS pattern.

The CQRS pattern is a fundamental architectural principle that plays a pivotal role in the design and implementation of modern microservices. At its core, CQRS divides the responsibilities of reading and writing data into two distinct paths, enabling developers to optimize each independently. This segregation allows for better scalability, maintainability, and performance in applications where complex business logic and high-throughput requirements are paramount.

In a traditional monolithic or layered architecture, the same data model is often used for retrieving...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Microservices Design Patterns in .NET
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon