会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
奇迹之耀
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
10
···
17
下一页
2023年3月30日
使WPF子窗体在alt+tab切换窗口中隐藏
摘要: private void Window_Loaded(object sender, RoutedEventArgs e) { WindowInteropHelper wndHelper = new WindowInteropHelper(this); int exStyle = (int)GetWi
阅读全文
posted @ 2023-03-30 09:19 奇迹之耀
阅读(200)
评论(0)
推荐(0)
2023年3月22日
.net mvc使用websocket服务器及客户端简易代码
摘要: .net MVC服务端 Func<AspNetWebSocketContext, Task> func = new Func<AspNetWebSocketContext, Task>(async (socketContext) => { WebSocket socket = socketConte
阅读全文
posted @ 2023-03-22 16:13 奇迹之耀
阅读(201)
评论(0)
推荐(0)
.net iis websocket连接失败
摘要: 使用网页端进行连接,错误提示Index:16 WebSocket connection to 'wss://xxxxxx)' failed: 使用C#控制台作为客户端进行连接,显示连接状态为关闭 原因, iis未开启websocket
阅读全文
posted @ 2023-03-22 15:58 奇迹之耀
阅读(287)
评论(1)
推荐(1)
2023年2月20日
layui文件上传前进行表单验证
摘要: <button type="submit" lay-submit="" lay-filter="BeforeUpload" class="layui-btn"> <i class="layui-icon"></i>上传 </button> <button type="button" class="
阅读全文
posted @ 2023-02-20 18:37 奇迹之耀
阅读(470)
评论(0)
推荐(0)
NPOI解析xlsx数据
摘要: using (Stream stream1 = File.OpenRead(Path)) { IWorkbook workbook = null; if (ext == ".xlsx") { workbook = new XSSFWorkbook(stream1); } else { workboo
阅读全文
posted @ 2023-02-20 18:14 奇迹之耀
阅读(55)
评论(0)
推荐(0)
2023年2月10日
C#使用openxml-sdk生成word文档
摘要: 从nuget中安装openxml 测试代码 using (WordprocessingDocument doc = WordprocessingDocument.Create("test.docx", DocumentFormat.OpenXml.WordprocessingDocumentType
阅读全文
posted @ 2023-02-10 13:47 奇迹之耀
阅读(728)
评论(2)
推荐(0)
2023年1月18日
vs2022使用EF迁移报错System.ArgumentNullException: 值不能为 null。
摘要: 项目中EntityFramework版本为6.2.0 更新至6.4.4问题解决
阅读全文
posted @ 2023-01-18 17:49 奇迹之耀
阅读(403)
评论(0)
推荐(2)
2023年1月11日
解决使用go get 下载模块下载超时的问题
摘要: 使用go env可以看到,默认的GOPROXY的值是https://proxy.golang.org, 而https://proxy.golang.org在国内无法访问. 如果您使用的 Go 版本是 1.13 及以上, 可以使用以下命令解决 go env -w GO111MODULE=on go e
阅读全文
posted @ 2023-01-11 18:54 奇迹之耀
阅读(226)
评论(0)
推荐(0)
2022年11月15日
win10镜像
摘要: ed2k://|file|cn_windows_10_consumer_editions_version_1909_updated_jan_2020_x64_dvd_47161f17.iso|5417457664|274FEBA5BF0C874C291674182FA9C851|/ ed2k://|
阅读全文
posted @ 2022-11-15 10:43 奇迹之耀
阅读(888)
评论(0)
推荐(0)
2022年11月11日
css calc属性无效
摘要: 犯了好多次这问题,使用calc的时候中间要加空格 calc(100%-10px);× calc(100% - 10px);✓
阅读全文
posted @ 2022-11-11 16:49 奇迹之耀
阅读(33)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
10
···
17
下一页
公告