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. Free with your book: DRM-free PDF version + access to Packt's next-gen Reader*
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

Performance optimization and best practices

The aggregator service is introduced to optimize how the UI interacts with the application's microservices. We must never forget that the system is only as good as its weakest link. Since this new service is the link between the UI and the rest of the services, it needs to be well-built and able to handle various scenarios. As such, it is essential to implement best practices as much as possible and practical and ensure that all service interactions are handled efficiently. One quick win is asynchronous programming, which comes out of the box in .NET. We will review why this helps us next.

Asynchronous processing

Asynchronous programming allows a program to perform non-blocking operations, enabling multiple tasks to run concurrently. This paradigm is beneficial when dealing with waiting operations, such as network requests to APIs. In a synchronous program, tasks are executed sequentially. For a task such as an API call, the program halts...

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