Asp. Net Core ile Design Patterns

所在平台: Udemy

课程主页: https://www.udemy.com/course/aspnet-core-ile-design-patterns/

课程评论:没有评论

第一个写评论        关注课程

课程简介

课程名称:ASP.NET Core设计模式 课程概述:在本课程中,您将学习八种设计模式,并通过现实生活中的例子进行实践。所有示例均使用ASP.NET Core(.NET 5.0)进行开发。课程涵盖的设计模式包括: 1. **策略模式(Strategy Design Pattern)**:一种行为设计模式,允许在运行时选择算法,通过运行时指令来决定使用哪种算法。 2. **模板方法模式(Template Design Pattern)**:在抽象超类中定义操作的骨架,高级步骤由同一类中的辅助方法实现。 3. **命令模式(Command Design Pattern)**:一种行为设计模式,用于封装执行操作或触发事件所需的所有信息,包括方法名和参数值。 4. **观察者模式(Observer Design Pattern)**:在此模式中,主体维护依赖者(观察者)列表,并在状态变化时自动通知他们。 5. **责任链模式(Chain Of Responsibility Design Pattern)**:由命令对象源和一系列处理对象构成的设计模式,每个处理对象定义可以处理的命令类型,未处理的则传递给下一个对象。 6. **组合模式(Composite Design Pattern)**:用于分区的设计模式,将一组对象视为同一类型的单一实例,形成树结构以表示部分和整体的层次。 7. **适配器模式(Adapter Design Pattern)**:允许现有类的接口被用作另一种接口的设计模式,通常用于兼容不同类而不修改源代码。 8. **装饰者模式(Decorator Design Pattern)**:允许动态地向单个对象添加行为,而不影响同类其他对象的行为的设计模式。 通过本课程,您将深入了解每种设计模式的应用场景以及它们在ASP.NET Core开发中的实际意义。

课程评论(0条)

课程详情

Bu kursumda, seçmiş olduğum 8 tane design pattern'ı gerçek hayat örnekleri ile öğreniyor olacaksınız.Tüm örnekleri Asp.Net Core (Net 5.0) ile geliştiriyor olacağız.Design patternsStrategy Design Pattern:The strategy pattern (also known as the policy pattern) is a behavioral software design pattern that enables selecting an algorithm at runtime. Instead of implementing a single algorithm directly, code receives run-time instructions as to which in a family of algorithms to usTemplate Design Pattern:The template method is a method in a superclass, usually an abstract superclass, and defines the skeleton of an operation in terms of a number of high-level steps. These steps are themselves implemented by additional helper methods in the same class as the template method.Command Design Pattern:The command pattern is a behavioral design pattern in which an object is used to encapsulate all information needed to perform an action or trigger an event at a later time. This information includes the method name, the object that owns the method and values for the method parameters.Observer Design Pattern:The observer pattern is a software design pattern in which an object, named the subject, maintains a list of its dependents, called observers, and notifies them automatically of any state changes, usually by calling one of their methods.Chain Of Responsibility Design Pattern:The chain-of-responsibility pattern is a design pattern consisting of a source of command objects and a series of processing objects.[1] Each processing object contains logic that defines the types of command objects that it can handle; the rest are passed to the next processing object in the chain. A mechanism also exists for adding new processing objects to the end of this chain.Composite Design Pattern:The composite pattern is a partitioning design pattern. The composite pattern describes a group of objects that are treated the same way as a single instance of the same type of object. The intent of a composite is to "compose" objects into tree structures to represent part-whole hierarchies. Implementing the composite pattern lets clients treat individual objects and compositions uniformlyAdapter Design Pattern:The adapter pattern is a software design pattern (also known as wrapper, an alternative naming shared with the decorator pattern) that allows the interface of an existing class to be used as another interface.[1] It is often used to make existing classes work with others without modifying their source code.Decorator Design Pattern:The decorator pattern is a design pattern that allows behavior to be added to an individual object, dynamically, without affecting the behavior of other objects from the same class

课程标签

0人关注该课程

主题相关的课程