学海无涯

导航

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

2022年10月25日 #

Dapr 服务调用

摘要: 服务调用构建块优势:服务发现、自动重试、消息加密(使用 mTLS)以及改进的可观测性。 Dapr 调用API 默认情况下,Dapr 挎斗 (SideCar) 依赖于网关来限制对其公共 API 的访问。 因此,请清除“为 HTTPS 配置”复选框: 打开 NuGet 包管理器,添加以下包 Dapr.A 阅读全文

posted @ 2022-10-25 08:37 宁静致远. 阅读(196) 评论(0) 推荐(0)

2022年10月23日 #

开源项目

摘要: 验证,简化无效输入的验证 https://github.com/ardalis/GuardClauses Resources Clean Architecture Solution Template https://github.com/ardalis/cleanarchitecture For W 阅读全文

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

CleanArchitecture 清洁架构

摘要: https://github.com/ardalis/CleanArchitecture Questions Why do we separate applications into multiple projects? 为什么我们要将应用程序分成多个项目? What are some princi 阅读全文

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

CleanArchitecture 设计决策和依赖关系

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

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

2022年10月22日 #

DDD

摘要: 阅读全文

posted @ 2022-10-22 11:09 宁静致远. 阅读(58) 评论(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 宁静致远. 阅读(80) 评论(0) 推荐(0)

生成 Token

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

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

清洁架构之 eShopOnWeb

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

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

2022年10月20日 #

中英文词汇对照表

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

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

常用代码库

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

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

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