随笔分类 - 设计模式
摘要:While designing Simple Injector we defined a set of rules that formed the foundation for development. These rules still keep us focused today and cont
阅读全文
摘要:基础知识——介绍 Redis简介 REmote Dictionary Server(Redis) 是一个由Salvatore Sanfilippo写的key-value存储系统。 Redis是一个完全开源免费的,使用ANSI C语言编写、遵守BSD协议、支持网络、可基于内存亦可持久化的日志型、高性能
阅读全文
摘要:原文 The Once and Only Once principle can be thought of as a subset of the Don’t Repeat Yourself principle, and is one of the most fundamental principle
阅读全文
摘要:The Stable Dependencies Principle states that “The dependencies between software packages should be in the direction of the stability of the packages.
阅读全文
摘要:GETTING DDD STARTED SURROUNDED BY LEGACY SYSTEMS ByEric Evans
阅读全文
摘要:相关链接: Separation of Concerns 原文 The Art of Separation of Concerns Introduction In software engineering, Separation of Concerns refers to the delineati
阅读全文
摘要:原文 The Hollywood Principle states, “Don’t Call Us, We’ll Call You.” It’s closely related to the Dependency Inversion Principle, and illustrates a diff
阅读全文
摘要:Explicit Dependencies Principle The Explicit Dependencies Principle states: Methods and classes should explicitly require (typically through method pa
阅读全文
摘要:原文 The principle of Persistence Ignorance (PI) holds that classes modeling the business domain in a software application should not be impacted by how
阅读全文
摘要:MultipleCanonicalModels Scratch any large enterprise and you'll usually find some kind of group focused on enterprise-wide conceptual modeling. Most c
阅读全文
摘要:原文 BoundedContext Bounded Context is a central pattern in Domain-Driven Design. It is the focus of DDD's strategic design section which is all about d
阅读全文
摘要:Tight Coupling, Legos, and Super Glue
阅读全文
摘要:ASP.NET - 使用依赖关系注入在 ASP.NET Core 中编写干净代码
阅读全文
摘要:How to register a service with multiple interfaces in ASP.NET Core DI
阅读全文
摘要:ASP.NET Core Middleware
阅读全文
摘要:Configuration in ASP.NET Core App configuration in ASP.NET Core is based on key-value pairs established by configuration providers. Configuration prov
阅读全文
摘要:Options pattern in ASP.NET Core
阅读全文
摘要:原文 "If builders built buildings the way programmers wrote programs, then the first woodpecker that came along would destroy civilization." - Gerald We
阅读全文
摘要:The SOLID principles The SOLID principles of Object Oriented Design include these five principles: SRP – Single Responsibility Principle OCP – Open/Cl
阅读全文
摘要:New is Glue When you’re working in a strongly typed language like C# or Visual Basic, instantiating an object is done with the new keyword. It’s impor
阅读全文