摘要:
.NETCORE异常捕获的管道实现方式(中间件) 一,中间件实现 using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspN 阅读全文
摘要:
在Startup中,我们看官网可以知道Configuration是注入服务和Configure配置管道,而我们的实现原理是在管道中直接返回HellowWorld,新建一个.netcoreMVC项目 一,第一种方法,最简单,我们直接在管道实现,在Configure添加一个直接返回的配置,如下代码 pu 阅读全文
摘要:
一,我们现有一张大数量表,如下 二,我们一般的语句分页方式是 select * from test where userid=0 limit 30000,5; 我们先看看查询效率, 三,优化查询效率,如下 select * from test a inner join (select id from 阅读全文
摘要:
1,远程连接工具密码加密问题 解决Navicat for MySQL 连接 Mysql 8.0.11 出现1251- Client does not support authentication protocol 错误,如下更改密码加密方式,进入cmd GRANT ALL PRIVILEGES ON 阅读全文