摘要:
一、安装mq 2、创建公共项目Commons用于提供者和消费者引用,nuget安装 RabbitMQ.Client,添加一个帮助类: public class RabbitMQHelper { //连接mq public static IConnection GetMQConnection() { 阅读全文
摘要:
1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Web; 5 using Org.BouncyCastle.Asn1.X9; 6 using Org.BouncyCastl 阅读全文
摘要:
新建RedisCache缓存类库 代码如下: RedisHelper: 1 using FBW.RedisCache.Service; 2 using Newtonsoft.Json; 3 using StackExchange.Redis; 4 using System; 5 using Syst 阅读全文