C# Design Patterns: Factory and Abstract Factory

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.
Course info
Rating
(18)
Level
Intermediate
Updated
Jun 23, 2020
Duration
52m
Table of contents
Description
Course info
Rating
(18)
Level
Intermediate
Updated
Jun 23, 2020
Duration
52m
Description

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# 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
About the author

Filip is an enthusiastic developer that strives to learn something new every day. With over a decade of experience in .NET, Filip actively spreads his knowledge and ideas around the globe.

More from the author
C# Design Patterns: Data Access Patterns
Intermediate
1h 23m
Apr 29, 2020
More courses by Filip Ekberg
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hi everyone. My name is Filip Ekberg, and welcome to my C# Design Patterns course covering the Factory and Abstract Factory. I am a principal consultant and CEO at a consultant agency operating out of Gothenburg in Sweden. I started this company a few years ago and focus on building fast, powerful, and easy‑to‑maintain solutions. This course is for those of you that want to learn how the factory patterns work and how to implement that in your C# applications. We will cover everything you need to know to master the different variations of the factory patterns. This includes learning about simple factory, factory method pattern, as well as abstract factory pattern, how to identify the characteristics of these flavors, understanding the benefits and tradeoffs when using these patterns, as well as how to implement them in new and existing solutions. By the end of this course, you will feel comfortable with implementing the simple factory, factory method pattern, and the abstract factory pattern in your applications. This will allow you to build extensible, more maintainable, and testable applications. Before beginning the course, you should be familiar with the C# syntax and how to build and run .NET applications. No other prior knowledge is necessary. I hope you'll join me on this journey to learn all about working with this very powerful C# design pattern with the Factory and Abstract Factory course, here at Pluralsight.