上一页 1 ··· 4 5 6 7 8 9 10 11 12 下一页
摘要: 环境:之前一直是使用serverStack.Redis的客服端,今天来使用一下StackExchange.Redis(个人感觉更加的人性化一些,也是免费的,性能也不会差太多),版本为StackExchange.Redis V2.1.58 ,Core3.1 简单的说明(专业的术语参考资料网络和官网): 阅读全文
posted @ 2020-08-24 20:41 天天向上518 阅读(3936) 评论(9) 推荐(7) 编辑
摘要: 1:先看效果: 2:部分代码截图 3:全部代码 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 namespace Redistest02 5 { 6 class Program 7 { 8 sta 阅读全文
posted @ 2020-08-21 20:56 天天向上518 阅读(376) 评论(0) 推荐(0) 编辑
摘要: 1:测试代码:Dapper集合Linq处理报表 传参数这块直接使用单个的参数了,嘻嘻 1 public async Task<TheMostUnitAndClassStudentDataShowokFormart> TheMostVolatileClassGetStudentExamInfo(str 阅读全文
posted @ 2020-08-13 23:44 天天向上518 阅读(435) 评论(0) 推荐(0) 编辑
摘要: 1:原来MySql也可以有临时表,这点还是不错, DROP temporary TABLE if EXISTS mytempdatatable; CREATE TEMPORARY table mytempdatatable SELECT tu.unit_session_uid,us.unit_ses 阅读全文
posted @ 2020-08-07 11:55 天天向上518 阅读(461) 评论(0) 推荐(0) 编辑
摘要: 直接上干货了 1:WebApi后端代码 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Threading.Tasks; 5 6 namespace ZRFCoreTest 阅读全文
posted @ 2020-07-30 15:39 天天向上518 阅读(5244) 评论(5) 推荐(1) 编辑
摘要: 先小结一下: 缓存策略: [ResponseCache(CacheProfileName ="default30")] 直接使用缓存,30秒过期: [ResponseCache(Duration = 30)] 30秒过期,并且是会根据 自定义的参数uid,uname来决定的 [ResponseCac 阅读全文
posted @ 2020-07-24 17:25 天天向上518 阅读(256) 评论(0) 推荐(0) 编辑
摘要: 1:导入NuGet包 Microsoft.AspNetCore.Authentication.JwtBearer 2:配置 jwt相关信息 3:在 startUp中 1 public void ConfigureServices(IServiceCollection services){ 2 #re 阅读全文
posted @ 2020-07-23 20:44 天天向上518 阅读(1889) 评论(6) 推荐(1) 编辑
摘要: 个人测试环境为:Asp.net coe 3.1 WebApi 1:封装自定义的cacheHelper帮助类,部分代码 1 public static void SetCacheByFile<T>(string key, T model) 2 { 3 using (ICacheEntry entry 阅读全文
posted @ 2020-07-23 14:58 天天向上518 阅读(644) 评论(0) 推荐(0) 编辑
摘要: 好久没有使用MongoDB了,重新测试使用,版本不一样之前很多方法都使用不了了,下面为部分测试,下次再来更新测试 测试中使用的命令 // 新增读写的用户 db.createUser({ user:'fengge', pwd:'FEG', roles:["readWrite"] }) //查询去掉 系 阅读全文
posted @ 2020-07-10 17:02 天天向上518 阅读(360) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2020-05-08 13:37 天天向上518 阅读(12) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 下一页