Design Patterns in C# and .NET

所在平台: Udemy

课程主页: https://www.udemy.com/course/design-patterns-csharp-dotnet/

课程评论:没有评论

第一个写评论        关注课程

课程简介

课程名称:C# 和 .NET 设计模式 课程概述:本课程从实用的角度全面介绍了C#和.NET中的设计模式。课程内容主要涵盖以下几个方面:最新版本的C#和.NET框架的使用;现代编程方法,如依赖注入、响应式编程等;使用现代开发工具(如ReSharper);对模式变体和替代方法的讨论。课程内容涉及四人帮(GoF)设计模式的概述,结合现代变体、调整以及模式在语言中的内在使用。 什么是设计模式?设计模式是解决常见编程问题的可重用解决方案。它们在1994年由Erich Gamma等人编写的《设计模式:可重用面向对象软件的元素》中得到推广。原书使用C++和Smalltalk作为示例,但设计模式已被广泛应用于各种编程语言,如C#、Java、PHP,甚至一些非严格面向对象的语言,如JavaScript。设计模式的吸引力历久弥新,我们在库中、编程语言中都能看到它们的身影,甚至在我们日常工作中也在不知不觉中使用它们。 课程涵盖的模式:本课程覆盖所有GoF设计模式,包括: - SOLID设计原则:单一职责原则、开闭原则、里氏替换原则、接口隔离原则和依赖反转原则 - 创建型设计模式:构建器、工厂模式(工厂方法和抽象工厂)、原型模式和单例模式 - 结构型设计模式:适配器、桥接、组合、装饰、外观、享元和代理 - 行为型设计模式:责任链、命令、解释器、迭代器、中介者、备忘录、空对象、观察者、状态、策略、模板方法和访问者 谁应该参加本课程?本课程适合希望了解设计模式的.NET/C#开发者,不仅仅是教科书上的示例,还包括在现代应用中实现设计模式的不同变体和技巧。例如,动态语言运行时(DLR)的引入使得我们可以使用ImpromptuObject,从而使我们的DynamicObject能够暴露任何我们想要的接口。这为动态编程提供了可能性,许多设计模式的呈现既包括它们的静态版本,也包括基于DLR的变体。 呈现方式:本课程以大量现场演示的形式进行,演示均在Microsoft Visual Studio中完成。大多数演示是单文件的,学员可以下载与课程关联的文件,并在Visual Studio、Visual Studio Code、Rider或其他IDE中运行。课程不使用UML类图,所有演示均为现场编码,使用Visual Studio、各种NuGet包、R#单元测试运行器及dotMemoryUnit等工具。

课程评论(0条)

课程详情

Course Overview 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 frameworkUse of modern programming approaches: dependency injection, reactive programming and moreUse of modern developer tools such as ReSharperDiscussions of pattern variations and alternative approaches This course provides an overview of all the Gang of Four (GoF) design patterns as outlined in their seminal book, together with modern-day variations, adjustments, discussions of intrinsic use of patterns in the language. 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 PrincipleCreational Design Patterns: Builder, Factories (Factory Method and Abstract Factory), Prototype and SingletonStructrural Design Patterns: Adapter, Bridge, Composite, Decorator, Façade, Flyweight and ProxyBehavioral 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.

课程标签

0人关注该课程

主题相关的课程