Simple play icon Course

C# 8 Design Patterns: Factory and Abstract Factory

by Filip Ekberg

Are you finding that creating instances of your complex objects clutter your code? In this course, you will learn how to leverage the Factory and Abstract Factory patterns to reduce the noise and make your code easier to maintain and navigate.

What you'll learn

If you are finding that creating instances of your complex objects over and over again is cluttering up the code, this is the perfect course for you. In this course, C# 8 Design Patterns: Factory and Abstract Factory, you will gain foundational knowledge of the patterns. First, you will learn how to identify situations where the factory patterns are applicable. Next, you will look at a difficult to navigate codebase, and see how you can easily refactor this by leveraging the patterns to make it easier to reuse code, maintain, and navigate the codebase. Finally, you will discover how to introduce the abstract factory for more complex situations. When you are finished with this course, you will have the skills and knowledge of the factory and abstract factory patterns needed to apply this in new or existing solutions.

About the author

Filip is an enthusiastic developer that strives to learn something new every day. With almost two decades of experience in .NET, Filip actively spreads his knowledge and ideas around the globe, be it speaking at conferences or online. Filip has worked in a range of different technologies such as WPF, Win Forms, ASP.NET, ASP.NET Core, Xamarin and .NET MAUI. In 2012, Filip published the book C# Smorgasbord, covering a vast variety of different technologies and patterns using C#, and right after Fi... more

Ready to upskill? Get started