Book description
Implement modern design patterns that leverage domain-driven data, to achieve resiliency and scalability for data-dependent applications
Key Features
- Learn the tenets of event-driven architecture, coupled with reliable design patterns to enhance your knowledge of distributed systems and build a foundation for professional growth
- Understand how to translate business goals and drivers into a domain model that can be used to develop an app that enables those goals and drivers
- Identify areas to enhance development and ensure operational support through the architectural design process
Book Description
This book will guide you through various hands-on practical examples for implementing event-driven microservices architecture using C# 11 and .NET 7. It has been divided into three distinct sections, each focusing on different aspects of this implementation.
The first section will cover the new features of .NET 7 that will make developing applications using EDA patterns easier, the sample application that will be used throughout the book, and how the core tenets of domain-driven design (DDD) are implemented in .NET 7.
The second section will review the various components of a local environment setup, the containerization of code, testing, deployment, and the observability of microservices using an EDA approach.
The third section will guide you through the need for scalability and service resilience within the application, along with implementation details related to elastic and autoscale components. You’ll also cover how proper telemetry helps to automatically drive scaling events. In addition, the topic of observability is revisited using examples of service discovery and microservice inventories.
By the end of this book, you’ll be able to identify and catalog domains, events, and bounded contexts to be used for the design and development of a resilient microservices architecture.
What you will learn
- Explore .NET 7 and how it enables the development of applications using EDA
- Understand messaging protocols and producer/consumer patterns and how to implement them in .NET 7
- Test and deploy applications written in .NET 7 and designed using EDA principles
- Account for scaling and resiliency in microservices
- Collect and learn from telemetry at the platform and application level
- Get to grips with the testing and deployment of microservices
Who this book is for
This book will help .NET developers and architects looking to leverage or pivot to microservices while using a domain-driven event model.
Table of contents
- Implementing Event-Driven Microservices Architecture in .NET 7
- Foreword
- Contributors
- About the authors
- About the reviewers
- Preface
- Part 1:Event-Driven Architecture and .NET 7
- Chapter 1: The Sample Application
- Chapter 2: The Producer-Consumer Pattern
- Chapter 3: Message Brokers
- Chapter 4: Domain Model and Asynchronous Events
- Part 2:Testing and Deploying Microservices
- Chapter 5: Containerization and Local Environment Setup
- Chapter 6: Localized Testing and Debugging of Microservices
- Chapter 7: Microservice Observability
- Chapter 8: CI/CD Pipelines and Integrated Testing
- Chapter 9: Fault Injection and Chaos Testing
- Part 3:Testing and Deploying Microservices
- Chapter 10: Modern Design Patterns for Scalability
- Chapter 11: Minimizing Data Loss
- Chapter 12: Service and Application Resiliency
- Chapter 13: Telemetry Capture and Integration
- Chapter 14: Observability Revisited
-
Assessments
- Chapter 1, The Sample Application
- Chapter 2, The Producer-Consumer Pattern
- Chapter 3, Message Brokers
- Chapter 4, Domain Model and Asynchronous Events
- Chapter 5, Containerization and Local Environment Setup
- Chapter 6, Localized Testing and Debugging of Microservices
- Chapter 7, Microservice Observability
- Chapter 8, CI/CD Pipelines and Integrated Testing
- Chapter 9, Fault Injection and Chaos Testing
- Chapter 10, Modern Design Patterns for Scalability
- Chapter 11, Minimizing Data Loss
- Chapter 12, Service and Application Resiliency
- Chapter 13, Telemetry Capture and Integration
- Chapter 14, Observability Revisited
- Index
- Other Books You May Enjoy
Product information
- Title: Implementing Event-Driven Microservices Architecture in .NET 7
- Author(s):
- Release date: March 2023
- Publisher(s): Packt Publishing
- ISBN: 9781803232782
You might also like
book
Microservices Communication in .NET Using gRPC
Learn how to implement gRPC on the .NET platform step by step and cover how to …
book
Software Architecture by Example: Using C# and .NET
Design system solutions using modern architectural patterns and practices. This book discusses methods to keep a …
book
Microservices Design Patterns in .NET
Learn to be deliberate and intentional in your design, technology, and pattern choices when developing an …
book
Software Architecture with C# 9 and .NET 5 - Second Edition
Design scalable and high-performance enterprise applications using the latest features of C# 9 and .NET 5 …