C# 8 Design Patterns: Chain of Responsibility
In this course, you'll discover how to work with the chain of responsibility pattern. You will understand why this pattern exists and how to implement this in a C# application.
What you'll learn
Software developers need real-world implementation examples of the chain of responsibility pattern to better understand how they can be used in user validation, payment processing, and if/else situations. In this course, C# 8 Design Patterns: Chain of Responsibility, you will gain foundational knowledge of the chain of responsibility pattern. First, you will learn how to identify situations where this pattern is applicable. Next, you will discover how easily this can be refactored into an object oriented approach, which not only is easier to maintain, but also more testable. Finally, you will explore how to identify existing implementations of this pattern. When you’re finished with this course, you will have the skills and knowledge of the chain of responsibility pattern needed to apply this in your solutions.
Table of contents
- Version Check 0m
- Introduction 3m
- Chain of Responsibility: First Look 8m
- Chain of Responsibility: A Chain of Handlers 5m
- Example: Payment Processing 10m
- Example: Improving the Payment Processor 6m
- Existing Implementations: ILogger 2m
- Existing Implementations: ASP.NET Core Processing Chain 2m
- Summary and Final Words 3m