Learn how design patterns in C# can help you build better code. Discover how to implement Gang of Four patterns and two commonly used patterns in .NET.
Overview
Syllabus
Introduction
- Welcome
- What you should know
- Using the exercise files
- Design patterns explained
- The need for design patterns
- Design pattern categories
- Factory pattern overview
- Code the Factory pattern
- Abstract Factory overview
- Write Abstract Factory code for Citi
- Write Abstract Factory code for National
- Abstract Factory provider and client
- Singleton pattern overview
- Code with the Singleton pattern
- Thread safety
- Decorator pattern overview
- Concrete Component code
- Concrete Decorator code
- Iterator pattern overview
- Aggregate setup
- Iterator setup and execution
- Observer pattern overview
- Subject, Observer / Concrete Observer
- Concrete Subject code
- Repository pattern overview
- MVC Project setup
- Convert to a Repository pattern
- Create a Generic Repository
- Unit of Work pattern overview
- Convert to Unit of Work
- Next Steps
Taught by
Reynald Adolphe