CursosPago

Design Patterns in C# and .NET

20:15:01 Inglés Free 29/04/2024 172 videos

Descripción del curso

null
This course provides a comprehensive overview of Design Patterns in C# and .NET from a practical perspective. This course in particular covers patterns with the use of:
  • The latest versions of C# and the .NET framework
  • Use of modern programming approaches: dependency injection, reactive programming and more
  • Use of modern developer tools such as ReSharper
  • Discussions of pattern variations and alternative approaches
What are Design Patterns? Design Patterns are reusable solutions to common programming problems. They were popularized with the 1994 book Design Patterns: Elements of Reusable Object-Oriented Software by Erich Gamma, John Vlissides, Ralph Johnson and Richard Helm (who are commonly known as a Gang of Four, hence the GoF acronym). The original book was written using C++ and Smalltalk as examples, but since then, design patterns have been adapted to every programming language imaginable: C#, Java, PHP and even programming languages that aren't strictly object-oriented, such as JavaScript. The appeal of design patterns is immortal: we see them in libraries, some of them are intrinsic in programming languages, and you probably use them on a daily basis even if you don't realize they are there. What Patterns Does This Course Cover? This course covers all the GoF design patterns. In fact, here's the full list of what is covered:
  • SOLID Design Principles: Single Responsibility Principle, Open-Closed Principle, Liskov Substitution Principle, Interface Segregation Principle and Dependency Inversion Principle
  • Creational Design Patterns: Builder, Factories (Factory Method and Abstract Factory), Prototype and Singleton
  • Structrural Design Patterns: Adapter, Bridge, Composite, Decorator, Façade, Flyweight and Proxy
  • Behavioral Design Patterns: Chain of Responsibility, Command, Interpreter, Iterator, Mediator, Memento, Null Object, Observer, State, Strategy, Template Method and Visitor
Who Is the Course For? This course is for .NET/C# developers who want to see not just textbook examples of design patterns, but also the different variations and tricks that can be applied to implement design patterns in a modern way. For example, the introduction of the DLR allows us to use an ImpromptuObject, so that our DynamicObject exposes any interface we desire. This allows for dynamic programming, and many design patterns are presented in terms of their static and DLR-based variations. Presentation Style This course is presented as a (very large) series of live demonstrations being done in Microsoft Visual Studio. Most demos are single-file, so you can download the file attached to the lesson and run it in Visual Studio, Visual Studio Code, Rider or another IDE of your choice. This course does not use UML class diagrams; all of demos are live coding. I use Visual Studio, various NuGet packages, R# unit test runner and even dotMemoryUnit.
Requirements:
  • Good understanding of C#
  • Familiarity with latest C# features
  • Good understanding of object-oriented design principles
Who this course is for:
  • Beginner and experienced developers
  • Anyone interested in design patterns
What you'll learn:
  • Recognize and apply design patterns
  • Refactor existing designs to use design patterns
  • Reason about applicability and usability of design patterns

Curriculum

Section 1: Module 1

  • 02 - Introduction 07:13
  • 03 - Overview 01:17
  • 04 - Single Responsibility Principle 07:31
  • 05 - Open-Closed Principle 17:25
  • 06 - Liskov Substitution Principle 06:38
  • 07 - Interface Segregation Principle 06:34
  • 08 - Dependency Inversion Principle 11:12
  • 09 - Summary 05:26
  • 10 - Gamma Categorization 03:38
  • 11 - Overview 01:44
  • 12 - Life Without Builder 03:35
  • 13 - Builder 09:07
  • 14 - Fluent Builder 01:17
  • 15 - Fluent Builder Inheritance with Recursive Generics 12:38
  • 16 - Stepwise Builder 09:01
  • 17 - Functional Builder 10:21
  • 18 - Faceted Builder 11:12
  • 19 - Summary 00:59
  • 20 - Overview 02:23
  • 21 - Point Example 04:39
  • 22 - Factory Method 05:04
  • 23 - Asynchronous Factory Method 05:03
  • 24 - Factory 03:00
  • 25 - Object Tracking and Bulk Replacement 12:02
  • 26 - Inner Factory 05:43
  • 27 - Abstract Factory 11:22
  • 28 - Abstract Factory and OCP 09:53
  • 29 - Summary 01:06
  • 30 - Overview 02:00
  • 31 - ICloneable is Bad 07:38
  • 32 - Copy Constructors 03:56
  • 33 - Explicit Deep Copy Interface 02:35
  • 34 - Prototype Inheritance 20:25
  • 35 - Copy Through Serialization 09:06
  • 36 - Summary 01:09
  • 37 - Overview 02:45
  • 38 - Singleton Implementation 08:41
  • 39 - Testability Issues 07:23
  • 40 - Singleton in Dependency Injection 08:59
  • 41 - Monostate 03:47
  • 42 - Per-Thread Singleton 04:26
  • 43 - Ambient Context 12:27
  • 44 - Summary 02:16
  • 45 - Overview 02:37
  • 46 - Vector/Raster Demo 08:36
  • 47 - Adapter Caching 06:05
  • 48 - Generic Value Adapter 25:19
  • 49 - Adapter in Dependency Injection 09:08
  • 50 - Summary 01:11
  • 51 - Overview 02:51
  • 52 - Bridge 09:51
  • 53 - Summary 01:34
  • 54 - Overview 01:54
  • 55 - Geometric Shapes 07:34
  • 56 - Neural Networks 08:01
  • 57 - Composite Specification 05:59
  • 58 - Summary 01:12
  • 59 - Overview 02:35
  • 60 - Custom String Builder 06:20
  • 61 - Adapter-Decorator 06:34
  • 62 - Multiple Inheritance with Interfaces 08:41
  • 63 - Multiple Inheritance with Default Interface Members 07:45
  • 64 - Dynamic Decorator Composition 07:40
  • 65 - Detecting Decorator Cycles 22:03
  • 66 - Static Decorator Composition 09:31
  • 67 - Decorator in Dependency Injection 06:12
  • 68 - Summary 02:03
  • 69 - Overview 03:10
  • 70 - Façade 08:00
  • 71 - Summary 01:26
  • 72 - Overview 05:25
  • 73 - Repeating User Names 12:30
  • 74 - Text Formatting 08:54
  • 75 - Summary 00:59
  • 76 - Overview 03:13
  • 77 - Protection Proxy 03:12
  • 78 - Property Proxy 09:25
  • 79 - Value Proxy 12:06
  • 80 - Composite Proxy: SoA/AoS 11:31
  • 81 - Composite Proxy with Array-Backed Properties 06:43
  • 82 - Dynamic Proxy for Logging 11:51
  • 83 - Proxy vs. Decorator 01:28
  • 84 - ViewModel 08:43
  • 85 - Bit Fragging 25:05
  • 86 - Summary 00:56
  • 87 - Overview 03:34
  • 88 - Command Query Separation 01:29
  • 89 - Method Chain 12:16
  • 90 - Broker Chain 13:51
  • 91 - Summary 01:19
  • 92 - Overview 03:07
  • 93 - Command 07:48
  • 94 - Undo Operations 06:06
  • 95 - Composite Command 12:12
  • 96 - Summary 01:10
  • 97 - Overview 04:01
  • 98 - Handmade Interpreter: Lexing 07:53
  • 99 - Handmade Interpreter: Parsing 12:06
  • 100 - ANTLR 02:45
  • 101 - Summary 01:04
  • 102 - Overview 01:43
  • 103 - Iterator Object 11:50
  • 104 - Iterator Method 06:58
  • 105 - Iterators and Duck Typing 04:07
  • 106 - Array-Backed Properties 05:52
  • 107 - Summary 01:29
  • 108 - Overview 01:14
  • 109 - Chat Room 10:43
  • 110 - Event Broker 15:31
  • 111 - Introduction to MediatR 13:21
  • 112 - Summary 01:17
  • 113 - Overview 01:42
  • 114 - Memento 06:05
  • 115 - Undo and Redo 07:16
  • 116 - Memento for Interop 06:39
  • 117 - Summary 01:18
  • 118 - Overview 01:59
  • 119 - Null Object 08:54
  • 120 - Null Object Singleton 05:09
  • 121 - Dynamic Null Object 06:12
  • 122 - Summary 00:42
  • 123 - Overview 02:12
  • 124 - Observer via the 'event' Keyword 07:10
  • 125 - Weak Event Pattern 08:26
  • 126 - Observer via Special Interfaces 18:29
  • 127 - Observable Collections 09:46
  • 128 - Bidirectional Observer 14:49
  • 129 - Property Dependencies 13:31
  • 130 - Declarative Event Subscriptions with Interfaces 27:09
  • 131 - Summary 00:57
  • 132 - Overview 03:10
  • 133 - Classic Implementation 12:33
  • 134 - Handmade State Machine 06:45
  • 135 - Switch-Based State Machine 06:39
  • 136 - Switch Expressions 08:50
  • 137 - State Machine with Stateless 05:38
  • 138 - Summary 01:01
  • 139 - Overview 01:51
  • 140 - Dynamic Strategy 08:26
  • 141 - Static Strategy 04:08
  • 142 - Equality and Comparison Strategies 07:42
  • 143 - Summary 00:27
  • 144 - Overview 01:31
  • 145 - Template Method 07:24
  • 146 - Functional Template Method 03:39
  • 147 - Summary 00:46
  • 148 - Overview 04:47
  • 149 - Intrusive Visitor 04:42
  • 150 - Reflective Visitor 09:11
  • 151 - Classic Visitor (Double Dispatch) 10:22
  • 152 - Reductions and Transforms 14:25
  • 153 - Dynamic Visitor via the DLR 07:12
  • 154 - Acyclic Visitor 12:02
  • 155 - Summary 01:10
  • 156 - Creational Paterns Summary 04:42
  • 157 - Structural Patterns Summary 06:14
  • 158 - Behavioral Patterns Summary 08:49
  • 159 - End of Course 00:55
  • 160 - An ASCII C# String 13:59
  • 161 - Continuation Passing Style 11:08
  • 162 - Local Inversion of Control 17:44
  • 163 - DI Container and Event Broker Integration 10:12
  • 164 - Beyond the Elvis Operator 14:48
  • 165 - CQRS and Event Sourcing 26:43
  • 166 - Overview 05:11
  • 167 - Builder 04:58
  • 168 - Decorator 04:40
  • 169 - Factory 08:16
  • 170 - Interpreter 09:59
  • 171 - Strategy 05:39
  • 172 - Template Method 10:07
  • 173 - Summary 02:56

About the Instructor

Instructor

udemy

Course

$0.00

$8.00
Que esta incluido?
  • Streaming Multiplataforma
  • Acceso de por vida
  • Soporte al cliente
  • Actualizaciones gratuitas