学海无涯

导航

上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 44 下一页

2022年10月23日 #

CleanArchitecture 设计决策和依赖关系

摘要: 设计决策和依赖关系 Core 核心项目 Core 项目是 Clean Architecture 设计的中心,所有其他项目依赖项都应指向它。因此,它几乎没有外部依赖项。在这种情况下,一个例外是System.Reflection.TypeExtensions包,它用于ValueObject帮助实现其IE 阅读全文

posted @ 2022-10-23 11:12 宁静致远. 阅读(70) 评论(0) 推荐(0)

2022年10月22日 #

DDD

摘要: 阅读全文

posted @ 2022-10-22 11:09 宁静致远. 阅读(57) 评论(0) 推荐(0)

2022年10月21日 #

HttpService

摘要: using System.Net.Http; using System.Text; using System.Text.Json; using System.Threading.Tasks; using BlazorShared; using BlazorShared.Models; using M 阅读全文

posted @ 2022-10-21 11:01 宁静致远. 阅读(74) 评论(0) 推荐(0)

生成 Token

摘要: using System.Threading.Tasks; namespace Microsoft.eShopWeb.ApplicationCore.Interfaces; public interface ITokenClaimsService { Task<string> GetTokenAsy 阅读全文

posted @ 2022-10-21 10:58 宁静致远. 阅读(44) 评论(0) 推荐(0)

清洁架构之 eShopOnWeb

摘要: 共享内核层 Shared Kernel 可以将任何需要共享的类型放在此层 核心层 Core 基础设施层 Infrastructure Web 层 阅读全文

posted @ 2022-10-21 09:52 宁静致远. 阅读(91) 评论(0) 推荐(0)

2022年10月20日 #

中英文词汇对照表

摘要: 中文 英文 备注 数量 Quantity 单价 Price 存储库 Repositories 接口 Interfaces 实体 Entities 数据 Data 基础设施 Infrastructure 实现 Implementation 依赖 Dependency 单元测试 UnitTests 功能 阅读全文

posted @ 2022-10-20 14:54 宁静致远. 阅读(260) 评论(0) 推荐(0)

常用代码库

摘要: "ConnectionStrings": { "DefaultConnection": "Server=DESKTOP-DABHN6U\\MSSQLSERVER2014;uid=sa;pwd=Lz38275292;database=demo1;MultipleActiveResultSets=tru 阅读全文

posted @ 2022-10-20 14:23 宁静致远. 阅读(34) 评论(0) 推荐(0)

2022年10月19日 #

CleanArchitecture

摘要: CleanArchitecture 架构特点: 独立于框架。该架构不依赖于某些功能丰富的软件库的存在。这使您可以将此类框架用作工具,而不必将系统塞入其有限的约束中。 可测试。可以在没有 UI、数据库、Web 服务器或任何其他外部元素的情况下测试业务规则。 独立于用户界面。UI 可以轻松更改,而无需更 阅读全文

posted @ 2022-10-19 16:18 宁静致远. 阅读(614) 评论(0) 推荐(0)

2022年10月17日 #

HttpService 客户端Url请求

摘要: using System.Net.Http; using System.Text; using System.Text.Json; using System.Threading.Tasks; using BlazorShared; using BlazorShared.Models; using M 阅读全文

posted @ 2022-10-17 18:37 宁静致远. 阅读(38) 评论(0) 推荐(0)

常用 Web 应用程序体系架构

摘要: 参考:https://learn.microsoft.com/zh-cn/dotnet/architecture/modern-web-apps-azure/common-web-application-architectures 一体式应用程序 应用程序体系结构项目可能的最小数量是一。 在这种体系 阅读全文

posted @ 2022-10-17 15:37 宁静致远. 阅读(635) 评论(0) 推荐(0)

上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 44 下一页