Similar to Chapter 3, Implementing Design Patterns – Basics Part 1, this chapter continued the description of building an inventory management console application for FlixOne, in order to show practical examples of using Object-Oriented Programming (OOP) design patterns. In this chapter, the GoF's singleton and factory patterns were the focus. These two patterns have a particularly important role to play in .NET Core applications and will be used often in the following chapters. An introduction to using the built-in framework to provide an IoC container was also covered in this chapter.
This chapter finished with a working inventory management console application based on the requirements determined in Chapter 3, Implementing Design Patterns – Basics Part 1. These requirements were the basis of the unit tests created in both chapters and were used to...