上一页 1 2 3 4 5 6 7 8 9 10 ··· 12 下一页
摘要: left join (左连接):返回包括左表中的所有记录和右表中连接字段相等的记录。right join (右连接):返回包括右表中的所有记录和左表中连接字段相等的记录。inner join (等值连接或者叫内连接):只返回两个表中连接字段相等的行。 1、左连接: var LeftJoin = fr 阅读全文
posted @ 2020-02-12 16:31 雨V幕 阅读(507) 评论(0) 推荐(0)
摘要: /// <summary> /// 将c# DateTime时间格式转换为Unix时间戳格式 /// </summary> /// <param name="time">时间</param> /// <returns>long</returns> public static long Convert 阅读全文
posted @ 2020-01-19 11:40 雨V幕 阅读(2650) 评论(0) 推荐(0)
摘要: public class HttpHelper {/// <summary> /// 发起POST同步请求 /// /// </summary> /// <param name="url"></param> /// <param name="postData"></param> /// <param 阅读全文
posted @ 2020-01-19 11:38 雨V幕 阅读(631) 评论(0) 推荐(0)
摘要: 场景一些配置需要经常用到可以尝试把配置配置到配置类中需要使用时只需要通过构造函数注入配置类即可。 json文件结构示例 "SmsSetting": { //253 "Host": "123", "Account": "123", "Password": "123", "Sign": "123",// 阅读全文
posted @ 2020-01-19 11:36 雨V幕 阅读(1052) 评论(0) 推荐(0)
摘要: 添加Swashbuckle.AspNetCore startup ConfigureServices添加Swagger配置 此步骤之前先右键站点点击属性在生成面板设置 取消显示警告添加;1591 这个是取消vs的注释提醒 输出板块勾选 XML文档文件选项 #region Swagger servic 阅读全文
posted @ 2020-01-19 11:08 雨V幕 阅读(484) 评论(0) 推荐(0)
摘要: using Common; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Http; using Newtonsoft.Json; using SMS_Platform.Model.Response; using Sys 阅读全文
posted @ 2020-01-19 10:59 雨V幕 阅读(1528) 评论(0) 推荐(0)
摘要: # Build and Object Folders bin/ obj/ # Nuget packages directory packages/ #Logs logs/ .vs/ ## Ignore Visual Studio temporary files, build results, and 阅读全文
posted @ 2020-01-19 10:21 雨V幕 阅读(2848) 评论(0) 推荐(0)
摘要: codesmith环境安装跳过(流程界面见下图) 生成实体的模板代码 <%-- Name: SqlSugerEntity Author: cyao Description: 生成SqlSuger实体的codeSmith模板 --%> <%@ CodeTemplate Language="C#" Ta 阅读全文
posted @ 2020-01-19 09:35 雨V幕 阅读(259) 评论(0) 推荐(0)
摘要: 首先排查了防火墙和其他权限相关问题 然后检查了mysql 用户权限问题 docker logs 查看日志 正常应该是到3306 问题是我的mysql my.cnf 文件是挂在在本地。当第二次启动容器时候。 my.cnf 的配置还保留。 解决方案:删除多余的my.cnf 配置。 重启容器。 最终330 阅读全文
posted @ 2019-11-22 18:15 雨V幕 阅读(1690) 评论(0) 推荐(0)
摘要: 绕过cookie的同源策略 向前端写入脚本时使用domain来绕过同源策略。 比如 domain= baidu.com .次脚本生成的cookie可以在 *.baidu.com中使用 /// <summary> /// 插入cookie 代码添加过期时间为一分钟 /// </summary> /// 阅读全文
posted @ 2019-11-06 09:02 雨V幕 阅读(261) 评论(0) 推荐(0)
摘要: 首先安装choco #以管理员身份运行cmd命令 @"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command 阅读全文
posted @ 2019-08-26 16:56 雨V幕 阅读(1940) 评论(0) 推荐(0)
摘要: 两台机器一台master 一台node master:192.168.211.150 node1: 192.168.211.151 master 和node 都需要进行的准备工作 #修改hostname #master 对应master node 对应node hostnamectl set-hos 阅读全文
posted @ 2019-08-25 22:51 雨V幕 阅读(823) 评论(0) 推荐(0)
摘要: 文档地址: https://yq.aliyun.com/articles/508460?spm=a2c4e.11153940.blogcont221687.18.7dd57733hFolMo Docker社区版中Kubernetes开发 下载docker ce 18.06 https://store 阅读全文
posted @ 2019-08-15 16:12 雨V幕 阅读(8173) 评论(0) 推荐(1)
摘要: 首先检查windows关于VM的服务有没有开启。没有开启的都开起来 通过复制形式建立的虚拟机,注意修改网卡地址。和cfg文件的UUID。 虚拟机ip能正常显示但是windows电脑ping不通虚拟机。注意检查网络连接中关于vm的网络连接是否启用。还有防火墙相关问题。 然后才是检查ifcfg-ens 阅读全文
posted @ 2019-05-17 14:08 雨V幕 阅读(682) 评论(0) 推荐(0)
摘要: /*sqlserver*/ select Id,AId,(SELECT IMEI+',' FROM Device as s WHERE s.Id=c.Id For XML Path('')) AS IMEI from Device as c /*mysql*/ select AId,(SELECT group_concat(IMEI) FROM Device as s WHERE s.AId=... 阅读全文
posted @ 2019-05-15 11:53 雨V幕 阅读(296) 评论(0) 推荐(0)
摘要: using System; using System.Diagnostics; using System.Runtime.InteropServices; using System.Threading; using System.Threading.Tasks; namespace TestProject { class Program { //异步:不阻塞主线... 阅读全文
posted @ 2019-04-13 18:13 雨V幕 阅读(224) 评论(0) 推荐(0)
摘要: win7系统 安装docker toolbox 然后安装时候选择了 !!Install virtualBox with NDIS5 driver 安装完成之后vpn各种连接不上卸载重装然后不勾选上面选项即可 阅读全文
posted @ 2019-04-13 10:55 雨V幕 阅读(1) 评论(0) 推荐(0)
摘要: WIN+R 进入cmd命令 输入 netstat -ano | find "进程端口" 找端口 打开vs alt+d+p选择上图对应的进程 阅读全文
posted @ 2019-04-13 10:02 雨V幕 阅读(2168) 评论(0) 推荐(0)
摘要: 参考资料,和详细背景不做赘述。 首先定义prop 文件 syntax ="proto3"; package RouteGrpc; service HelloWorld{ rpc SayHello(HellowRequest)returns (ReturnsString){} } message He 阅读全文
posted @ 2019-04-10 14:05 雨V幕 阅读(757) 评论(0) 推荐(0)
摘要: 连接数据库时候报标题的错误解决方案 安装mysql-connector-net-6.8.7.msi,下载地址:http://dev.mysql.com/downloads/connector/net/6.8.html 安装mysql-for-visualstudio-1.2.6.msi,下载地址:h 阅读全文
posted @ 2019-04-10 11:52 雨V幕 阅读(596) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 12 下一页