上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 54 下一页
摘要: 一、实现 1、Permission文件 代码如下: using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Blog.Jwt { /// <s 阅读全文
posted @ 2020-01-16 17:21 反骨少年 阅读(1204) 评论(0) 推荐(1)
摘要: 一、全局配置 这个是 默认的 Cookie 的配置写法,我只是参考这种配置模式写的 因为要注入一个全局的配置,services.AddConfigure(),这个方法传入的参数就是委托 二、你model设计就应该整成枚举 搞什么int 还转来转去 三、优化 JSON 可以封装下扩展 没必要每一次 j 阅读全文
posted @ 2020-01-16 09:34 反骨少年 阅读(151) 评论(0) 推荐(0)
摘要: 一、 阅读全文
posted @ 2020-01-14 17:57 反骨少年 阅读(852) 评论(1) 推荐(0)
摘要: 一、 angular ngzorro react antd 使用 继续 阅读全文
posted @ 2020-01-12 01:21 反骨少年 阅读(169) 评论(0) 推荐(0)
摘要: 一、CodeMaid 二、VSColorOutput 输出窗口用不同颜色标记不同信息 阅读全文
posted @ 2020-01-09 14:45 反骨少年 阅读(142) 评论(0) 推荐(0)
摘要: 一、Options注入模式 (相当于对appsettings.json根据字段映射到Model数据类,然后通过构造函数注入使用) 强类型的 Options Options is a framework for accessing and configuring POCO settings. 简单来说 阅读全文
posted @ 2020-01-09 11:02 反骨少年 阅读(260) 评论(0) 推荐(0)
摘要: 一、更改密码 2、 但是会到phpamin 不可以连接但是 远程可以连接 阅读全文
posted @ 2020-01-08 16:18 反骨少年 阅读(469) 评论(0) 推荐(0)
摘要: 一、主节点发生故障 1、初始化配置 通过命令创建三主三从 查看你集群列表 2、设置某个redis实例故障 通过命令 如图所示: 通过查看集群列表 虽然,集群列表还包含7001节点,但是通过检查集群运行状态 原来7001的从redis——9001升级为master了,并且把之前7001的slot继承过 阅读全文
posted @ 2020-01-08 10:54 反骨少年 阅读(145) 评论(0) 推荐(0)
摘要: 一、备份配置文件 1、redis_7000.conf # Redis configuration file example. # # Note that in order to read the configuration file, Redis must be # started with the 阅读全文
posted @ 2020-01-07 13:03 反骨少年 阅读(325) 评论(0) 推荐(0)
摘要: 一、添加集群子节点 1、复制的redis配置文件更改其配置,目录与配置文件和其它节点类似。 redis_7003.conf、redis_7004.conf 这两个redis配置文件启动生产的redis实例将要作为从,redis_7005.conf将要添加为主 。 2、添加从配置以及添加主的配置 从的 阅读全文
posted @ 2020-01-07 10:43 反骨少年 阅读(1064) 评论(0) 推荐(0)
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 54 下一页