Course 479:
C# Design and Application Patterns

(3 days)


Course Description

The C# Design and Application Patterns course teaches .NET developers how to apply best practices to their .NET applications. While a thorough understanding of the C# language is key to development success, developers should also understand how to write loosely-coupled code that is based upon proven best practices and patterns. By applying design and application patterns to the development process, more consistent, flexible, and maintainable code can be written.

In the C# Design and Application Patterns course, developers will learn how to apply several Creational, Structural, and Behavioral design patterns to their .NET applications. The course includes real-life analogies for each design pattern to help students thoroughly understand the purpose of a pattern and better understand when and where a pattern can be used. Comparisons between patterns are provided to help students in the pattern selection process. Students will also learn about two key application patterns including MVC and MVVM. Hands-on exercises will reinforce the principles and provide students with an in-depth understanding of individual design and application pattern pros and cons.

Learning Objectives

  • How to build reusable code bases
  • The importance of building loosely-coupled applications
  • The benefits of applying design patterns to development projects
  • The role of generics and interfaces in design patterns
  • The difference between creational, structural, and behavioral design patterns
  • Best practices for building applications and applying design patterns
  • Why separation of concerns leads to more testable applications
  • How Visual Studio can be used to unit test applications
  • How to use MVC and MVVM application patterns

Who Should Attend

C# developers interested in learning how to apply programming and architecture patterns to their application code.


Experience working with the C# language is required.

Course Outline

Chapter 1: Introduction to Design Patterns

  • What Are Design Patterns?
  • Why Use Design Patterns?
  • Selecting a Design Pattern
  • Key Language Concepts

Chapter 2: Creational Design Patterns

  • Abstract Factory Pattern
  • Singleton Pattern
  • Builder Pattern
  • Factory Pattern
  • Prototype Pattern

Chapter 3: Structural Design Patterns

  • Façade Pattern
  • Decorator Pattern
  • Adapter Pattern

Chapter 4: Behavioral Design Patterns

  • Observer Pattern
  • Chain of Responsibility Pattern
  • Mediator Pattern

Chapter 5: Application Design Patterns

  • Overview of Application Design Patterns
  • Model-View-Controller (MVC)
    • Understanding the MVC Pattern
    • Introduction to ASP.NET MVC
    • The Role of Routing
    • Creating the Model
    • Creating a Controller with Actions
    • Displaying Data with Views
  • Model-View-ViewModel (MVVM)
    • Introduction to MVVM
    • The Role of the ViewModel
  • Applying MVVM to Applications

Please Contact Your ROI Representative to Discuss Course Tailoring!