会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
chocolateXLL
博客园
首页
新随笔
联系
订阅
管理
2025年11月5日
问题解决:gitlab-runner 报Job's log exceeded limit of 4194304 bytes
摘要: gitlab-runner 报Job's log exceeded limit of 4194304 bytes 原因:gitlab-runner输出日志超过默认4kb。 解决方案:找到GitLab-runner配置文件“config.toml”,修改/新增配置“output_limit=10485
阅读全文
posted @ 2025-11-05 18:04 chocolateXLL
阅读(8)
评论(0)
推荐(0)
2025年10月24日
.NET CORE使用SignalR、Nginx、CORS跨域问题
摘要: Nginx命令 # 检查配置语法 nginx -t # 重新加载配置 nginx -s reload # 监控错误日志 tail -f /var/log/nginx/error.log 首先使用SingalR,需要在Nginx增加相关配置。修改后检查语法(nginx -t),并重新加载配置(ngin
阅读全文
posted @ 2025-10-24 15:35 chocolateXLL
阅读(15)
评论(0)
推荐(0)
2025年10月20日
异常----Windows 已保护你的电脑:Microsoft Defender SmartScreen 阻止了无法识别的应用启动。运行此应用可能会导致你的电脑存在风险。
摘要: exe文件运行异常: Windows 已保护你的电脑 Microsoft Defender SmartScreen 阻止了无法识别的应用启动。运行此应用可能会导致你的电脑存在风险。 解决方法: 打开文件属性, 找到“常规”中的“安全”,并勾选“解除锁定”。确定后即可运行
阅读全文
posted @ 2025-10-20 13:34 chocolateXLL
阅读(81)
评论(0)
推荐(0)
2025年1月16日
RefAsync<int> 作为参数赋值后,出方法值没有了
摘要: private async Task<List<TempDto>> GetList(RefAsync<int> total){ total.Value = await _dal.DbDoris.Ado.GetIntAsync(sql, parameter);} public async Task G
阅读全文
posted @ 2025-01-16 10:10 chocolateXLL
阅读(23)
评论(0)
推荐(0)
2024年12月24日
[问题]MySql异常:Out of sort memory, consider increasing server sort buffer size(排序内存不足,考虑增加服务器排序缓冲区大小)
摘要: MySQL如何实现ORDER BY排序
阅读全文
posted @ 2024-12-24 14:16 chocolateXLL
阅读(1541)
评论(0)
推荐(0)
2024年12月13日
文件帮助类(.NET)
摘要: public class FileHelper : IDisposable { private bool _alreadyDispose = false; #region 构造函数 public FileHelper() { // // TODO: 在此处添加构造函数逻辑 // } ~FileHel
阅读全文
posted @ 2024-12-13 14:27 chocolateXLL
阅读(16)
评论(0)
推荐(0)
2024年11月7日
在VS中,对两个独立的项目调试
摘要: 问题:现在有两个解决方案。A和B。其中A使用的B的程序集。想要同时调试,在A中发起请求,可以调试进入到B中的断点 解决 1.首先在项目A的解决方案中中引入B的项目(如类库) 右键“解决方案” --> 选择“添加” --> 选择“现有项目”。选择项目B中引用的类库路径。 2.解决方案A中,原本引用B的
阅读全文
posted @ 2024-11-07 16:54 chocolateXLL
阅读(236)
评论(0)
推荐(0)
2024年11月6日
VS引用本地的NuGet包
摘要: Step1.打包 先选择项目/类库,进行打包。在输出中,找到打包的目录和文件。 Step2.本地创建一个文件夹用于放打包文件。 Step3.添加包源 打开 VS --> 工具 --> NuGet包管理器 --> 管理解决方案的NuGet程序包 选择右上方:程序包源右侧的齿轮按钮 在程序包源中,新增一
阅读全文
posted @ 2024-11-06 14:58 chocolateXLL
阅读(1023)
评论(0)
推荐(0)
2024年8月1日
.NET使用RabbitMQ发送消息
摘要: using RabbitMQ.Client; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace C
阅读全文
posted @ 2024-08-01 17:42 chocolateXLL
阅读(59)
评论(0)
推荐(0)
.NET的MySqlException异常Fatal error encountered during command execution.错误原因
摘要: 异常类型:MySqlException 错误信息:Fatal error encountered during command execution. 原因及解决方案 可能原因1: 执行的sql中使用了自定义参数 解决方案:数据库连接字符中添加”;Allow User Variables=True“,
阅读全文
posted @ 2024-08-01 16:56 chocolateXLL
阅读(1393)
评论(0)
推荐(1)
下一页
公告