30% OFF - Use code HANDSON30 for 30% off any course or Dometrain Pro! Browse courses →
  • Courses
  • Learning Paths
  • Blogs
  • Authors
  • Leaderboard
  • Dometrain Pro
  • Shopping Basket

    Your basket is empty

  • Business Portal
  • From Zero to Hero: SOLID Principles for C# Developers

    Learn the SOLID principles in C# with practical examples. This course covers the five SOLID principles, along with other key software engineering concepts like DRY to improve your code quality.

    About This Course

    SOLID Principles have been a staple of modern software engineering for many years. They are some of the most used software engineering principles that every company requires knowledge of, if not the most used. This course will teach you what SOLID principles are and why they are so important. It will also go in-depth with practical examples and animations to give you a fundamental understanding of the five principles. The course will also briefly cover some other acronyms, such as DRY, YAGNI and KISS, which are also used heavily by most software developers. Join Alex Hyett in this journey to master the SOLID principles in C#!

    Course Curriculum

    2h 20m 9 sections
    Welcome
    01:16 Free preview
    What will you learn in this course?
    01:38 Free preview
    Who is the course for and prerequisites
    01:10 Free preview
    History of SOLID
    02:08
    Purpose of SOLID
    04:36
    Definition
    01:32
    Responsibilities
    03:13
    Reasons to Change
    05:33
    Cohesion and Coupling
    03:26
    Reusability
    01:56
    Example
    12:48
    SRP Summary
    01:36
    Definition
    04:23
    Abstractions
    03:18
    Example
    14:59
    Decorator Pattern
    03:47
    Extension Methods
    01:39
    OCP Summary
    02:06
    Definition
    02:38
    Rules of LSP
    01:26
    Method Rules
    07:06
    Class Property Rules
    02:25
    Example
    02:42
    LSP Summary
    02:45
    Definition
    03:26
    Detecting and Fixing ISP Violations
    03:25
    Simple Example
    10:56
    ISP Summary
    01:47
    Definition
    02:51
    Dependency Injection and Other Methods
    03:43
    Example
    07:05
    DIP Summary
    02:21
    Introduction
    00:34
    DRY
    04:48
    YAGNI
    02:52
    KISS
    01:50
    Course Conclusion
    03:36

    Meet Your Instructor

    Alex Hyett

    Alex Hyett

    Alex Hyett is a Staff Engineer at Revenew and a content creator. With over 13 years of experience in software development Alex has worked on everything from defence, startups and finance. Alex has always had a passion for sharing his knowledge, whether it be writing technical articles on his website or creating videos for his YouTube channel. When he is not creating videos on software development, Alex enjoys playing guitar, tinkering with his home server and playing video games.

    View all courses by Alex Hyett

    What's New

    Getting Started: Model Context Protocol (MCP)
    course

    Getting Started: Model Context Protocol (MCP)

    Learn how to get started with the Model Context Protocol (MCP) and integrate it into your applications.

    Learn more about Getting Started: Model Context Protocol (MCP)
    Hands-On: Learn TypeScript
    course

    Hands-On: Learn TypeScript

    Learn TypeScript through hands-on coding exercises. Practice what you learn with interactive challenges designed for every level.

    Learn more about Hands-On: Learn TypeScript
    Hands-On: Learn JavaScript
    course

    Hands-On: Learn JavaScript

    Learn JavaScript through hands-on coding exercises. Practice what you learn with interactive challenges designed for every level.

    Learn more about Hands-On: Learn JavaScript
    Hands-On: Data Structures & Algorithms in C#
    course

    Hands-On: Data Structures & Algorithms in C#

    Master data structures and algorithms through hands-on coding exercises in C#. Free to enroll for 7 days!

    Learn more about Hands-On: Data Structures & Algorithms in C#
    Blogsmith.ai
    feature

    Blogsmith.ai

    Turn your videos into blogs and newsletters with AI. Check out our new product at blogsmith.ai.

    Learn more about Blogsmith.ai
    Leaderboard
    feature

    Leaderboard

    See how you stack up against other learners. Track your progress, climb the ranks, and compete with the Dometrain community.

    Learn more about Leaderboard
    Hands-On: Learn PostgreSQL
    course

    Hands-On: Learn PostgreSQL

    Learn PostgreSQL through hands-on coding exercises. Practice what you learn with interactive challenges designed for every level.

    Learn more about Hands-On: Learn PostgreSQL
    Free Hands-On: C# for Beginners
    course

    Free Hands-On: C# for Beginners

    Learn C# through hands-on coding exercises. Practice what you learn with interactive challenges designed for everyone, from beginners to experts.

    Learn more about Free Hands-On: C# for Beginners
    Getting Started: AI for .NET Developers
    course

    Getting Started: AI for .NET Developers

    Get started with integrating AI into your .NET applications effectively using the latest LLM best practices.

    Learn more about Getting Started: AI for .NET Developers
    Getting Started: Building .NET Applications on AWS
    course

    Getting Started: Building .NET Applications on AWS

    Learn how to build and deploy .NET applications on AWS using CDK, Lambda, DynamoDB, S3, and more.

    Learn more about Getting Started: Building .NET Applications on AWS
    What's new in C# 14
    blog

    What's new in C# 14

    This guide covers every new C# 14 feature, explains its benefits, and provides practical code examples to help you navigate how you can use them.

    Learn more about What's new in C# 14
    Let's Build It: AI Chatbot with RAG in .NET Using Your Data
    course

    Let's Build It: AI Chatbot with RAG in .NET Using Your Data

    Build a Retrieval-Augmented Generation (RAG) chatbot that can answer questions using your data.

    Learn more about Let's Build It: AI Chatbot with RAG in .NET Using Your Data
    From Zero to Hero: SignalR in .NET
    course

    From Zero to Hero: SignalR in .NET

    Enable enterprise-grade real-time communication for your web apps with SignalR.

    Learn more about From Zero to Hero: SignalR in .NET
    Deep Dive: Solution Architecture
    course

    Deep Dive: Solution Architecture

    Master solution architecture and turn business needs into scalable, maintainable systems.

    Learn more about Deep Dive: Solution Architecture
    Migrating: ASP.NET Web APIs to ASP.NET Core
    course

    Migrating: ASP.NET Web APIs to ASP.NET Core

    A step-by-step process to migrate ASP.NET Web APIs from .NET Framework to ASP.NET Core.

    Learn more about Migrating: ASP.NET Web APIs to ASP.NET Core
    Getting Started: Caching in .NET
    course

    Getting Started: Caching in .NET

    Let's make the hardest thing in programming easy for .NET software engineers.

    Learn more about Getting Started: Caching in .NET
    From Zero to Hero: Testing with xUnit in C#
    course

    From Zero to Hero: Testing with xUnit in C#

    Learn how to test any codebase in .NET with the latest version of xUnit, the industry-standard testing library.

    Learn more about From Zero to Hero: Testing with xUnit in C#
    Create a ChatGPT Console AI Chatbot in C#
    blog

    Create a ChatGPT Console AI Chatbot in C#

    This walkthrough is your hands-on entry point to create a basic C# console application that talks to ChatGPT using the OpenAI API.

    Learn more about Create a ChatGPT Console AI Chatbot in C#