摘要: 首先在主目录下建立:Iyibank.Web.json文件 里边的内容如下: { "ConnectionStrings": { "RedisCache": "127.0.0.1:6379" }} 在其他需要调用RedisCache的地方调用如下: var builder = new Configura 阅读全文
posted @ 2016-12-08 00:33 都市浪子 阅读(1478) 评论(0) 推荐(0) 编辑
摘要: 建立类: using System;using System.Collections.Generic;using System.Linq;using System.Threading.Tasks;using Microsoft.AspNetCore.Http; namespace Iyibank.C 阅读全文
posted @ 2016-12-08 00:29 都市浪子 阅读(7865) 评论(1) 推荐(0) 编辑
摘要: 最近在后台处理订单统计等相关功能用到了大力的mqs,由于官方没有实现asp.net core的sdk,这里简单实现了发送信息的功能,有兴趣的可以参考实现其他相关功能 using System;using System.Collections.Generic;using System.Linq;usi 阅读全文
posted @ 2016-12-08 00:24 都市浪子 阅读(1222) 评论(2) 推荐(0) 编辑