因为公司流程的需要,需要给每个API的Request 和Response 模型及属性加上注解,发现Api项目依赖的Model 类库中的/// Summy的注解并没有作用。 通过翻资料和实践。发现借助 Swashbuckle.AspNetCore.Annotations 包可以实现。 步骤: 在模型字 ...
分类:
Web程序 时间:
2020-11-12 14:12:28
阅读次数:
12
.net core Oracle.ManagedDataAccess.Client.OracleException:“ORA-03135: Connection lost contact” 连接oracle 报错问题 在使用一段时间不操作系统后,后台报ORA-03135: Connection lo ...
分类:
数据库 时间:
2020-11-12 14:00:17
阅读次数:
22
有声朗读:https://www.ximalaya.com/gerenchengzhang/38551524/344165820 Github: https://github.com/lhghroom/Self-study-ability-is-the-core-competitiveness-in ...
分类:
其他好文 时间:
2020-11-12 13:29:49
阅读次数:
9
配置文件中定义连接字符串: "db": "server=10.0.0.0;database=Test;uid=sa;pwd=123456;Allow User Variables=true;default command timeout=120;Pooling=true;Max Pool Size= ...
分类:
数据库 时间:
2020-11-10 10:54:55
阅读次数:
12
Centos7离线安装Redis 参看linux版本信息, # cat /etc/centos-release CentOS Linux release 7.2.1511(Core) 注:CentOS版本要与gcc版本对应 一、安装gcc 1.1建立文件夹/usr/local/gcc 用于存放下载的 ...
分类:
其他好文 时间:
2020-11-10 10:54:16
阅读次数:
5
Jedis 我们要使用Java来操作Redis Jedis是Redis官方推荐的java连接开发工具!使用Java操作Redis中间件 如果你要使用Java操作Redis,那么一定要对jedis十分熟悉 创建一个maven项目 导入依赖 <!-- https://mvnrepository.com/ ...
分类:
编程语言 时间:
2020-11-10 10:51:46
阅读次数:
10
数据库优先 https://docs.microsoft.com/en-us/ef/core/miscellaneous/cli/powershellhttps://docs.microsoft.com/zh-cn/ef/core/managing-schemas/scaffolding?tabs= ...
分类:
数据库 时间:
2020-11-08 17:22:36
阅读次数:
28
1、简介 今天给大家推荐个好的轮子,System.Linq.Dynamic.Core。我们都知道 数据库应用程序经常依赖于“动态SQL”,即在运行时通过程序逻辑构造的查询。拼接SQL容易造成SQL注入,普通的LINQ可以用表达式树来完成,但也比较麻烦。推荐System.Linq.Dynamic.Co ...
分类:
其他好文 时间:
2020-11-08 17:07:02
阅读次数:
18
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" % ...
分类:
Web程序 时间:
2020-11-08 17:01:10
阅读次数:
26
Spring流程Debug 1.1 Spring测试环境搭建 Spring模块概览,绿色是模块,Spring中八大模块,黑色表示该模块包含的jar包(组件)。例如我们想要用IOC容器,也就是绿色的CoreContainer,我们需要导入Beans,Core,Context,SpEL(spring-e ...
分类:
编程语言 时间:
2020-11-08 16:41:17
阅读次数:
17