MyPage is a personalized page based on your interests.The page is customized to help you to find content that matters you the most.

I'm not curious

C# Design Strategies

Course Summary

In this advanced series, Jon Skeet (of Stack Overflow fame) dives into various strategies and patterns you might want to consider when building your application. Topics covered include core Gang of Four design patterns such as the Singleton, Strategy, Sta

  • +

    Course Syllabus

    ● Singletons
        ◦ What is a singleton?
        ◦ Implementing the simple version of the singleton pattern
        ◦ Singletons and threads-what you should know
        ◦ Choosing the singleton pattern wisely
        ◦ Implementing a proper singleton
        ◦ Implementing a simpler version
        ◦ Implementing a fully lazy version
        ◦ Implementing a .Net 4 lazy version
    ● Interfaces
        ◦ Defining the problem
        ◦ Reflecting the problem in code
        ◦ Modeling dependency injection using an interface
        ◦ Back to singleton in a real world example
        ◦ Interfaces as abstraction tool
    ● Dependency Injection
        ◦ Another injection example
        ◦ Some dependencies are OK
        ◦ Creating our tests
        ◦ Manual dependency injection
    ● Inversion of Control
        ◦ Simplifying the entry point
        ◦ IoC containers alternative to manual inj
        ◦ Benefits of IoC containers
        ◦ Testability, singleton and dependency inj
    ● Outtake: Skeet Builds an IoC Container
        ◦ IoC Container on the fly - outtake
    ● Type Meaning And Single Responsibility
        ◦ Types behaving badly
        ◦ More types behaving badly
        ◦ The right approach
    ● Open, Closed and Substitution
        ◦ What is open-closed and Liskov
        ◦ Showing the principles in code
        ◦ Designing for inheritance
    ● Factory Pattern
        ◦ Constructing in a well defined class
        ◦ Overloaded constructors add uncertainty
        ◦ Solving it with the Factory pattern
    ● Builder Pattern
        ◦ The Builder Pattern
        ◦ Alternate Builder Pattern
    ● Strategy Pattern
        ◦ The Strategy Pattern
    ● Composition with the Decorator
        ◦ The Decorator pattern
        ◦ Composition example
    ● State Pattern? Disposal Pattern, and Final Thoughts
        ◦ The State pattern
        ◦ Thought rules, patterns are tools
        ◦ The Disposal pattern
        ◦ Best practices and common sense


Course Fee:
USD 29

Course Type:


Course Status:



1 - 4 hours / week

This course is listed under Development & Implementations Community

Attended this course?

Back to Top

Awards & Accolades for MyTechLogy
Winner of
Top 100 Asia
Finalist at SiTF Awards 2014 under the category Best Social & Community Product
Finalist at HR Vendor of the Year 2015 Awards under the category Best Learning Management System
Finalist at HR Vendor of the Year 2015 Awards under the category Best Talent Management Software
Hidden Image Url

Back to Top