What Will I Learn?

✓ Determine if a class has too many responsibilities

✓ Apply SRP to make classes more granular

✓ Determine the smell of duplication caused by OCP violation

✓ Apply OCP to remove or prevent duplications

✓ Make client’s lives more enjoyable by applying ISP, making interfaces more granular

✓ Determine LSP violations which break client’s code

✓ Apply LSP to come up with proper inheritance

✓ Build your own simple IoC-Container

✓ Apply DIP to develop plugin architecture

✓ Build clean API in C#

✓ I’m tired to list all the stuff you’ll be able to do after this course )))

View Curriculum

Available Licences

Personal: watch online on udemy.com.
Download: watch on any device.

Requirements

  • Solid C# Background
  • At least half of a year of experience in a real-world project

Description

Learn how to develop maintainable software systems applying Meta and SOLID Principles.

Teaching Approach

No fluff, no ranting, no beating the air. I esteem your time. The course material is succinct, yet comprehensive. All important concepts are covered. Particularly important topics are covered in-depth. For absolute beginners, I offer my help on Skype absolutely free, if requested.

Take this course, and you will be satisfied!

SOLID is an acronym which stands for SRP, OCP, LSP, ISP, and DIP. These five acronyms in their turn stand for:

  • Single Responsibility Principle
  • Open/Closed Principle
  • Liskov Substitution Principle
  • Interface Segregation Principle
  • Dependency Inversion Principle

In this course, you’ll learn how to apply meta and SOLID principles so that your application will live a long healthy life. It means you are going to learn how to write code of the high quality: readable, understandable and reliable.

Improve your knowledge of object-oriented programming

  • Understand the meta-principles on which all the other development principles are based
  • Understand the symptoms of code defects
  • Learn the foundations of SOLID principles
  • Learn how to detect the violations of SOLID principles and how to fix the problems
  • Learn how meta-principles and SOLID principles are related to each other and how to find the balance between them

Foundations of writing object-oriented code

Despite the fact that C# is a very rich in features language, it’s very common to see poorly designed and implemented applications in a real world. Language by itself does not guarantee that the architecture of an application will be great. In order to design and build maintainable software, we need to understand the principles of software development. This video course is exactly about how to achieve clean and maintainable software.

You probably have already heard the following well-known statement: most code sucks. Well, this course is all about how to produce code which doesn’t suck.

Owning skills of producing a well-designed and well-implemented types is the prerequisite for the other developers to treat you as a decent professional.

Content and Overview

This course is aimed at middle and senior developers. Solid experience in C# is required.

There are plenty of code examples throughout this course so that you will learn both theoretical and practical material.

Starting with SOLID principles we will go further to the meta-principles. Going through the SOLID principles, you’ll also learn about the related patterns. Then we will get to the problem of contradictions between different principles. You’ll learn about the relationships between SOLID principles and meta-principles.

In general, you’ll learn in this course:

  • SRP
  • OCP
  • LSP
  • ISP
  • DIP

These are the SOLID principles. You’ll learn the background problems that can be solved by particular principle, you’ll see the demonstrations in code, you’ll learn the patterns related to every principle.

Learning DIP you’ll, in addition, learn what is Dependency Injection, Inversion of Control, IoC-Containers and what are the architectural implications of DI.

Here are other topics you’ll learn in the course:

  • DRY – don’t repeat yourself
  • KISS – keep it simple stupid
  • YAGNI – You Ain’t Gonna Need It
  • SoC – separation of concerns
  • CQS – command query separation
  • Law of Demeter
  • Principle of Least Astonishment
  • Information Hiding and Encapsulation
  • API Development Principles
  • Contradiction between SOLID and YAGNI
  • Contradiction between OCP and YAGNI
  • What are Architecture and Design

How long is this course: The course is around 4.5 hours. All are video lectures. You will be able to download all the slides and code samples used in the course.

————————————————————

Keywords related to the course:

  • Software Architecture
  • Software Design
  • SOLID Principles
  • SRP, OCP, LSP, ISP, DIP

Who is the target audience?

  • Juniors with a solid C# background
  • Middle developers who want learn or enhance their knowledge about SOLID principles and Architecture
  • Seniors who want to have a good reminder of what they already know

Curriculum

  • Outline
  • SOLID Intro
  • Problem Statement
  • Demo of the Problem
  • Refactoring to a Better Design
  • More Examples of SRP Violations
  • SRP Related Patterns
  • Conclusion
  • Outline
  • OCP Definition. Problem Statement
  • Demo of the Problem
  • Refactoring to a Better Design
  • OCP Related Patterns
  • Common Smells of OCP Violation
  • Conclusion
  • Outline
  • LSP Definition. Problem Statement
  • Contracts
  • Demo of the Problem
  • Refactoring to a Better Design
  • More Examples of LSP Violations
  • Common Smells of LSP Violation
  • Conclusion
  • Outline
  • ISP Definition. Problem Statement
  • Demo of the Problem
  • Refactoring to a Better Design
  • Demo of the Problem. Example 2
  • Refactoring to a Better Design. Example 2
  • Common Smells, Fixes, and Related Patterns
  • Conclusion
  • Outline
  • DIP Definition. Problem Statement
  • Dependencies-01
  • Volatile and Stable Dependencies
  • IoC and DI Definitions
  • DIP Violation Demo
  • Refactoring to a Better Design Applying Dependency Injection
  • DI-Techniques
  • Architectural Implications
  • Pure DI and IoC-Containers
  • Building a Simple IoC-Container
  • Demo of a Real-World App Built with an IoC-Container
  • Common Smells of DIP Violations
  • Conclusion
  • Outline
  • DRY
  • KISS
  • YAGNI
  • SoC
  • CQS
  • Law of Demeter
  • PoLA
  • Encapsulation
  • API
  • SOLID VS YAGNI
  • OCP VS YAGNI
  • SRP and ISP. What is the Difference
  • Architecture and Design
  • Conclusion