Fork me on GitHub

随笔分类 -  第三方库

摘要:一、IdentityServer4简介 IdentityServer4 是一个基于OpenID Connect和OAuth 2.0的针对ASP.NET Core的框架。 用来干嘛: 1.访问受控的API=>为不同的客户提供访问API的令牌,比如:MVC网站、SPA、Mobile App等 2.单点登 阅读全文
posted @ 2020-03-26 14:37 Something_Diffrent 阅读(662) 评论(0) 推荐(0)
摘要:Github:https://github.com/dotnetcore/CAP 开源协议:MIT CAP 是一个在分布式系统中(SOA,MicroService)实现事件总线及最终一致性(分布式事务)的一个开源的 C# 库,她具有轻量级,高性能,易使用等特点。 你可以轻松的在基于 .NET Cor 阅读全文
posted @ 2020-02-25 11:26 Something_Diffrent 阅读(164) 评论(0) 推荐(0)
摘要:官方文档:https://www.grpc.io/docs/quickstart/csharp/ 更改demo中\examples\csharp\Helloworld\Greeter 文件夹下的.proto 文件,重新编译即在 \examples\csharp\Helloworld\Greeter\ 阅读全文
posted @ 2020-02-25 11:18 Something_Diffrent 阅读(313) 评论(0) 推荐(0)
摘要:https://github.com/dotnetcore/WebApiClient https://github.com/restsharp/RestSharp 阅读全文
posted @ 2020-02-24 11:17 Something_Diffrent 阅读(123) 评论(0) 推荐(0)
摘要:/// <summary> /// AOP 目标:use AspectCore ,在执行 HelloAsync 失败的时候自动执行 HelloFallBackAsync ,达到熔断降级 /// </summary> class Program { static void Main(string[] 阅读全文
posted @ 2020-02-24 10:57 Something_Diffrent 阅读(171) 评论(0) 推荐(0)
摘要:官方: https://github.com/App-vNext/Polly Polly is a .NET resilience and transient-fault-handling library that allows developers to express policies such 阅读全文
posted @ 2020-02-24 10:47 Something_Diffrent 阅读(178) 评论(0) 推荐(0)