摘要:author:尹明能 引入国外网站 Registration Concepts(注册概念) You register components with Autofac by creating a ContainerBuilder and informing (通知)the builder which
阅读全文
摘要:author 尹明能 Structure your app with inversion of control (IoC) in mind. Add Autofac references. At application startup… Create a ContainerBuilder. Regi
阅读全文
摘要:1、 ERROR: Could not install Gradle distribution from ‘https://services.gradle.org/distributions/gradle 设置了错误的gradle 1、先下载 2、文件位置C:\Users\Administrator
阅读全文
摘要:一、简述 项目中一般会出现2个或者多个build.gradle文件,一个在根目录下,一个在app目录下。 如果切换到Android模式下则全部在Gradle Scripts。 1、根目录下的build.gradle 1 > repositories闭包,声明了jcenter()的配置 2 > dep
阅读全文
摘要:一、 创建 Web 应用项目 在“配置新项目”对话框中,为“项目名称”输入 SignalRChat。 请务必将项目命名为“SignalRChat”(包括匹配大小写),这样在复制和粘贴代码时命名空间就会匹配。 添加 SignalR 客户端库 ASP.NET Core 共享框架中包含 SignalR 服
阅读全文
摘要:一、分页查询巨坑,select * from limit 1000000,200,会查询以后10万条后抛去取20条,增加索引和条件ID》100000 二、join查询巨坑,会出现笛卡尔积,如果一个表1亿条,10个表就是几千一条,数据很慢,通过一个表一个表查询,在通过代码组合 三、子查询,如果里层子查
阅读全文
摘要:一、创建LocalDateTime的方式 //当前时间创建 LocalDateTime bjTime = LocalDateTime.now(); //指定时区创建 LocalDateTime lsjTime = LocalDateTime.now(ZoneId.of("America/Los_An
阅读全文