In today’s video, I am going to walk through how to implement an Abstract Factory design pattern.
Abstract Factory is a creational design pattern. The main intent of the pattern is to allow abstraction over other factory classes.
- 00:08 - Explaining what is Abstract Factory Design Pattern
- 00:45 - Recap of the solution used last week for Factory method design pattern
- 01:10 - Recap of the problem that we used last week, which we will expand for the Abstract Factory design pattern.
- 03:06 - Start of the implementation for the Abstract Factory design pattern.
- 06:05 - New interface/class combination for the Abstract Factory design pattern.
- 08:10 - Update the Web API controller to use the Abstract Factory class.
- 09:45 - Update dependency injection container to add the interface and class for the Abstract Factory design pattern.
- 10:17 - Run and show the demo of the implementation
- 11:00 - Implement the Abstract Factory design pattern using delegate functions.
#design-pattern #csharp #dotnet