Learn how design patterns in C# can help you build better code quickly and resolve or prevent common design issues in code. Reynald Adolphe demonstrates how to implement patterns, including six Gang of Four patterns and two commonly used patterns in .Net., and he evaluates code relevant in real-world applications.
- It's often the case that a lot of programming problems can be solved many ways. A developer might find one solution for a problem while another may have a different fix to solve the same problem. This creates a need for consistent approaches to fix issues. Consistent patterns that avoid issues. And that's what this course is all about. Hi, I'm Reynald Adolphe and welcome to C# design patterns. Software design patterns define solutions to problems programmers often find in real-world applications.
In this course, I'll cover the origins of some well-known patterns created by a group of computer scientist called the Gang of Four. As well as the three categories their patterns fall into: Creational, Structural, and Behavioral. Then I'll jump right into describing and demonstrating a few patterns in C#. While I won't cover all 23 Gang of Four patterns, I will discuss Factory Method, Abstract Factory, Decorator, Observer, Singleton, and Iterator.
Finally, I'll cover a couple of non-Gang of Four patterns that are often used in dot net, like Repository and Unit of Work. Implementing design patterns in C# keeps code clean, concise, easy to maintain, and it adheres to the solid principles of object-oriented programming. So let's go ahead and get it started.
In this course, developer and technologist Reynald Adolphe explains the purpose and effective use of eight design patterns, including six Gang of Four design patterns and two .Net patterns. Gang of Four patterns fall under three categories: structural, creational, and behavioral. Reynald helps you learn about select patterns from each category. He describes each pattern and demonstrates how programmers can leverage them in real-world applications.
- Factory Method
- Abstract Factory
- Singleton pattern
- Decorator pattern
- Iterator pattern
- Observer pattern
- Repository pattern
- Unit of Work pattern