2023年2月14日

缓存三大问题

摘要: 来源:https://www.boxuegu.com/news/1884.html 缓存三大问题:穿透、击穿、雪崩1.缓存穿透形成原因:缓存和数据库都没有这个值,请求会一直到数据库检索跑一圈。解决方案:没有值的数据在,设置为null,存储在缓存中,记得设置过期时间。 2. 缓存击穿形成原因:大量查询 阅读全文

posted @ 2023-02-14 09:29 卡农2014 阅读(58) 评论(0) 推荐(0) 编辑

.net core .net6与.net framework 的差异

摘要: TRANSLATE with x English Arabic Hebrew Polish Bulgarian Hindi Portuguese Catalan Hmong Daw Romanian Chinese Simplified Hungarian Russian Chinese Tradi 阅读全文

posted @ 2023-02-14 09:03 卡农2014 阅读(51) 评论(0) 推荐(0) 编辑

2021年12月31日

git .config 配置git账户信息

摘要: .config文件 配置git账户信息 Host github.comUser 279225276@qq.comHostname ssh.github.comPreferredAuthentications publickeyIdentityFile ~/.ssh/id_rsaPort 443 阅读全文

posted @ 2021-12-31 23:17 卡农2014 阅读(142) 评论(0) 推荐(0) 编辑

2021年6月10日

JWT Error between app.UseRouting() and app.UseEndpoints(...).

摘要: public void Configure(IApplicationBuilder app, IWebHostEnvironment env) { if (env.IsDevelopment()) { app.UseDeveloperExceptionPage(); } app.UseHttpsRe 阅读全文

posted @ 2021-06-10 23:35 卡农2014 阅读(132) 评论(0) 推荐(0) 编辑

2018年3月26日

Javascript 中Dom和DOM2 的区别(事件绑定、事件监听器)

摘要: Javascript中Dom和DOM2 的区别(事件绑定、事件监听器) https://segmentfault.com/q/1010000005152278 https://segmentfault.com/q/1010000000766310/a-1020000000777355 阅读全文

posted @ 2018-03-26 09:32 卡农2014 阅读(372) 评论(0) 推荐(0) 编辑

2017年2月15日

更新.NetFrameWork框架后出现“未找到与约束ContractName”...问题

摘要: 系统更新补丁后打开 VS2012 ,新建C#项目的时候出现这个问题 VS2012 未找到与约束ContractName Microsoft.VisualStudio.Text.ITextDoc mentFactoryService 两个解决方案: 方案一: 删除 kb2805222 .net4.5 阅读全文

posted @ 2017-02-15 15:00 卡农2014 阅读(196) 评论(0) 推荐(0) 编辑

jQuery判断checkbox是否选中的3种方法

摘要: 方法一:if ($("#checkbox-id").get(0).checked) { // do something} 方法二:if($('#checkbox-id').is(':checked')) { // do something} 方法三:if ($('#checkbox-id').att 阅读全文

posted @ 2017-02-15 14:58 卡农2014 阅读(109) 评论(0) 推荐(0) 编辑

导航