Library

Course: Software Architecture: Meta and SOLID Principles in C#

Software Architecture: Meta and SOLID Principles in C#

  • Life Time Access
  • Certificate on Completion
  • Access on Android and iOS App
About this Course

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 in 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 on 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 related patterns to every principle.

Learning DIP you’ll in addition learn what is Dependency Injection, Inversion of Control, IoC-Containersand 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 is 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
Basic knowledge
  • Solid C# Background
  • At least half of a year of experience in a real-world project
What you will 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
  • Apply DIP to develop plugin architecture
  • Build your own simple IoC-Container
  • Build clean API in C#
  • I'm tired to list all the stuff you'll be able to do after this course )))
Curriculum
Lectures quantity: 61
Common duration: 04:42:35
Single Responsibility Principle (SRP)
  • Outline  
  • SOLID Intro  
  • SRP Definition. Problem Statement  
  • Demo of the Problem  
  • Refactoring to a Better Design  
  • More Examples of SRP Violations  
  • SRP Related Patterns  
  • Conclusion  
Open/Closed Principle (OCP)
  • OCP - Outline  
  • OCP Definition. Problem Statement  
  • OCP - Demo of the Problem  
  • OCP - Refactoring to a Better Design  
  • OCP Related Patterns  
  • Common Smells of OCP Violation  
  • OCP - Conclusion  
Liskov Substitution Principle (LSP)
  • LSP - Outline  
  • LSP Definition. Problem Statement  
  • Contracts  
  • LSP - Demo of the Problem  
  • LSP - Refactoring to a Better Design  
  • More Examples of LSP Violations  
  • Common Smells of LSP Violation  
  • LSP - Conclusion  
Interface Segregation Principle (ISP)
  • ISP - Outline  
  • ISP Definition. Problem Statement  
  • ISP - Demo of the Problem  
  • ISP - Refactoring to a Better Design  
  • ISP - Demo of the Problem. Example 2  
  • ISP - Refactoring to a Better Design. Example 2  
  • Common Smells, Fixes and Related Patterns  
  • ISP - Conclusion  
Dependency Inversion Principle (DIP)
  • DIP - Outline  
  • DIP - Definition. Problem Statement  
  • Dip - Dependencies  
  • DIP - Volatile and Stable Dependencies  
  • IoC and DI Definitions  
  • DIP Violation Demo  
  • Refactoring to a Better Design Applying Dependency Injection (DI)  
  • DI Techniques  
  • DIP - Architectural Implications  
  • DIP - Pure DI and IoC-Containers  
  • DIP - Building a Simple IoC-Container  
  • Demo of a Real-World App Built with an IoC-Container  
  • Common Smells of DIP Violations  
  • DIP - Conclusion  
Metaprinciples and SOLID
  • SOLID - Outline  
  • 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 Principle  
  • Violation of Law of Demeter  
  • Principle of Least Astonishment  
  • Encapsulation and Information Hiding  
  • General Principles of Building APIs  
  • SOLID VS YAGNI  
  • OCP VS YAGNI  
  • SRP and ISP. What's the Difference?  
  • Architecture and Design  
  • SOLID - Conclusion  
  • BONUS Lecture  
reviews (0)
Average rating
0
0 voices
Detailed rating
5 stars
0%
4 stars
0%
3 stars
0%
2 stars
0%
1 stars
0%