2022年8月4日

Sqlserver 根据年月获取第一天和最后一天

摘要: sqlserver获取当月、年的第一天和最后一天 -- 当月第一天 select dateadd(month, datediff(month, 0, getdate()), 0) -- 当月最后一天(思路:下月的第一天减去一天) select dateadd(month, datediff(mont 阅读全文

posted @ 2022-08-04 17:08 糯米白白 阅读(3097) 评论(0) 推荐(0) 编辑

Sqlserver2014 安装

摘要: https://jingyan.baidu.com/article/d5a880eb992f6352f147ccf1.html 阅读全文

posted @ 2022-08-04 13:50 糯米白白 阅读(7) 评论(0) 推荐(0) 编辑

Microsoft.AspNetCore.Identity 配置

摘要: https://blog.csdn.net/playermaker57/article/details/96713891 阅读全文

posted @ 2022-08-04 13:50 糯米白白 阅读(140) 评论(0) 推荐(0) 编辑

新电脑 分盘

摘要: https://baijiahao.baidu.com/s?id=1734234902590717022&wfr=spider&for=pc 阅读全文

posted @ 2022-08-04 13:34 糯米白白 阅读(18) 评论(0) 推荐(0) 编辑

2022年8月3日

ABP 密码规则配置

摘要: ``` //密码验证规则 services.Configure(options => { options.Password.RequireDigit = false; options.Password.RequireLowercase = false; options.Password.Requir 阅读全文

posted @ 2022-08-03 11:08 糯米白白 阅读(422) 评论(0) 推荐(0) 编辑

2022年8月1日

Windows添加自定义服务

摘要: 1.新建文件 新建xml文件 命名 Name-service.xml <service> <!-- ID of the service. It should be unique across the Windows system--> <id>ServerID</id> <!-- Display n 阅读全文

posted @ 2022-08-01 16:36 糯米白白 阅读(1262) 评论(0) 推荐(0) 编辑

2022年7月28日

Sqlserver 新增字段语句

摘要: ALTER TABLE @tablename ADD @columnName @dataType @constraint 阅读全文

posted @ 2022-07-28 11:29 糯米白白 阅读(750) 评论(0) 推荐(0) 编辑

C# 读取appsettings.json 文件中文乱码的问题

摘要: 读取appsettings.json 文件中文乱码的问题 最近在做一个指定文件目录下指定文件并自动打开对应程序问题,遇到了读取文件目录中文乱码问题 断点调试的时候发现coll得到值中文乱码,在网上找了一些解决方案说是编码的问题要设置成 UTF-8 with sign 先说一下这个设置在哪,visua 阅读全文

posted @ 2022-07-28 11:07 糯米白白 阅读(446) 评论(0) 推荐(0) 编辑

2022年7月27日

socket 10060错误解决方案

摘要: 参考文章: (1)https://www.codeprj.com/blog/69d88c1.html (2)https://www.cnblogs.com/saysmy/p/6936716.html (3)https://www.codeprj.com/blog/69d88c1.html 阅读全文

posted @ 2022-07-27 17:03 糯米白白 阅读(353) 评论(0) 推荐(0) 编辑

C# The process cannot access the file 'XXX' because it is being used by another process.

摘要: 在读取文件时报进程占用 **1.将后台进程杀掉** ``` /// /// 杀掉FoxitReader进程 /// /// public static void KillProcess(string processName) { foreach (Process p in Process.GetPr 阅读全文

posted @ 2022-07-27 10:47 糯米白白 阅读(1572) 评论(0) 推荐(0) 编辑

导航