摘要:
主要实现了 轮询、加权轮询、随机、加权随机、IPHash 参考大佬文章: https://www.cnblogs.com/wxd0108/p/5465938.html 废话不说,码上见 using System; using System.Collections.Generic; using Sys 阅读全文
摘要:
获取所有继承自 ControllerBase 的类,获取其公共的实例的方法(不包含父类),认作接口, 接口注释的xml文件,可以在项目-右键属性-生成-XML文档文件勾选,再次生成。 using System; using System.Collections.Generic; using Syst 阅读全文
摘要:
中文和双引号会正常处理 DataTable实现了序列化和反序列化 废话不说,直接拿去用吧 #if NETSTANDARD2_0_OR_GREATER using System; using System.Collections.Generic; using System.Data; using Sy 阅读全文
摘要:
http://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml Hypertext Transfer Protocol (HTTP) Status Code Registry Last Updated2018-09- 阅读全文
摘要:
NetCore 日志写RabbitMQ using System; using System.Collections.Concurrent; using System.Configuration; using System.IO; using System.Text; using System.Li 阅读全文
摘要:
废话不说,直接代码 //注入 按单例模式注入RabbitMQ的ConnectionFactory { var mqCfg = context.Configuration.GetSection("RabbitMQ").Get<RabbitMQCfg>(); var cf = new Connectio 阅读全文