C-Sharp Design Patterns Rules Engine Pattern
Design patterns are like individual tools that you can add to your toolbox as a software developer. They don't take much time to discover, but can require a lot of practice to master.
Sign in to read this course
A free account unlocks all 514 courses. 20 are readable without one.
What's inside
18 sections- 1 Table of Contents
- 2 Course Overview
- 3 Introduction to the main module
- 4 What is the Rules Engine Pattern?
- 5 Usage examples
- 6 What problem does the Rules Engine solve?
- 7 Define Rules
- 8 Demonstration: The initial rebate calculator
- 9 Demo: Adding new features
- 10 Structure of the Rules Engine Pattern
- 11 How to apply the Rules Engine to existing code
- 12 Demonstration: Application of the Rules Engine Pattern to discounts
- 13 Alternative structures and advanced considerations
- 14 Similar and Related Patterns
- 15 Key Takeaways
- 16 Full code demo files
- 17 Appendix: UML Class Diagram (textual)
- 18 Appendix: Discount Summary and Test Cases
More Testing, Patterns & Architecture courses
View all 29ASP.NET Core Clean Architecture
Implement Clean Architecture with the GloboTicket app — core, infrastructure, API, Blazor UI and testing.
Automation Testing Strategies with ASP.NET Core
Unit, integration, UI, E2E (Playwright) and performance (NBomber) testing in a CI/CD pipeline.
Unit Testing an ASP.NET Core MVC Web Application
Unit test MVC controllers with xUnit, Moq and FluentAssertions — isolation, mocking and CI/CD.
Debugging and Error Handling in ASP.NET Core
Debugging tools, error-handling middleware, Problem Details, custom exceptions and remote debugging.
Logging and Monitoring in ASP.NET Core
ILogger, structured logging, providers, scopes, source generators, health checks and OpenTelemetry.
C-Sharp 8 Design Patterns Composite
This course covers the Composite design pattern in C#. The Composite pattern provides a way to work with tree structures in a consistent manner, regardless of whether you are manipulating...
Interested in this course?
Contact us to book it or get a custom training plan for your team.