Tactical Design Patterns in .NET: Creating Objects

This course sheds light on issues that arise when implementing creational design patterns and then provides practical solutions that will make our code easier to write and more stable when running.
Course info
Rating
(330)
Level
Intermediate
Updated
Jul 1, 2016
Duration
7h 10m
Table of contents
Course Overview
Understanding Constructors and Their Roles
Advancing from Constructor to Abstract Factory
Avoiding Excess Factory Abstractness
Understanding Dependencies, Covariance, and Contravariance
Applying the Substitution and Liskov Substitution Principles
Returning to Concrete Classes with the Builder Pattern
Embedding Calling Protocols into the Builder
Breathing Life Back into Factory Methods with Lambdas
Building Complex Objects with the Specification Pattern
Building Object Graphs with the Specification Pattern
Description
Course info
Rating
(330)
Level
Intermediate
Updated
Jul 1, 2016
Duration
7h 10m
Description

Many of the symptoms of deep design problems manifest when creating objects and object graphs. In this course, Tactical Design Patterns in .NET: Creating Objects, you'll see what it takes to create code that's easier and more stable. You'll start with a small console application which demonstrates basic Abstract Factory implementation. Next, you'll built a different console application which demonstrates basic implementation of the Builder pattern and exposes issues with it. Finally, you'll see the console application get much more complex while remaining completely stable and safe on the consuming end. When you're finished with this course, you'll be have a firm understanding of how to best create stable objects easily in .NET.

About the author
About the author

Zoran Horvat is Principal consultant at Coding Helmet Consultancy, speaker and author of 100+ articles, and independent trainer on .NET technology stack.

More from the author
Mastering Object-oriented Programming in Java
Intermediate
3h 21m
Nov 6, 2019
Making Your Java Code More Object-oriented
Intermediate
2h 13m
Aug 26, 2019
Writing Purely Functional Code in C#
Advanced
4h 15m
May 23, 2018
More courses by Zoran Horvat
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hi everyone, my name is Zoran Horvat and welcome to my course titled Tactical Design Patterns in. NET Creating Objects. I've been writing code for the last 16 years. I was a developer, team elite and architect, CTO in a software company, and since recently, I'm running a consultancy business. All that time, over and over again, I've been seeing that programmers tend to minimize the investment in object construction and focus their efforts on using the objects. But when the time comes to consume an object, the damage has already been done. This course is telling the story of what it means to have a reference to an object which can be used right away, without fear of breaking anything. We will cover techniques to construct objects that are fail-safe. We will deliver objects in consistent and complete state. We will adapt to the complexity of the problem. Those are the techniques you will learn during the course. By the end of this course you will have deep understanding of creation of patterns with all their ups and downs. And you will be able to choose the right one in every situation. I hope you will join me on this journey to learn creation of patterns with a technical design patterns in. NET course at Pluralsight.