摘要: 错误信息:(java编译文件版本与运行环境版本不一致导致) Using the .NET Core version of the Scanner for MSBuild Post-processing started. Calling the SonarScanner CLI... Error: L 阅读全文
posted @ 2024-01-18 16:22 Cody& 阅读(385) 评论(0) 推荐(0)
摘要: 在for循环里,有8w数据,结果需要10+分钟才遍历完(生产环境下),结果发现导致耗时的代码如下 try { ritem.Qty = Convert.ToDecimal(value); } catch(Exception e) { Logger.Info(e.ToString()); ritem.Q 阅读全文
posted @ 2023-12-21 14:29 Cody& 阅读(216) 评论(0) 推荐(0)
摘要: 在html的select元素添加了onchange事件,changeContent方法也在当前html下。 <select id="changeLanguage" class="form-control input-lg" asp-for="language" asp-items="Model.su 阅读全文
posted @ 2023-12-06 09:16 Cody& 阅读(158) 评论(0) 推荐(0)
摘要: 在ubuntu(18.04)运行OpenCvSharp4(4.6.0)报错如下: Microsoft.AspNetCore.Server.Kestrel[13] Connection id "0HMJAMSQJ3RO8", Request id "0HMJAMSQJ3RO8:00000005": A 阅读全文
posted @ 2022-07-23 10:50 Cody& 阅读(3043) 评论(0) 推荐(0)
摘要: 1、新建interface public interface ISoftDelete { public bool isdeleted { get; set; } } 2、需要使用到软删除的entity要继承这个interface 3、然后在DBContext的OnModelCreating中为每个继 阅读全文
posted @ 2022-07-09 16:26 Cody& 阅读(506) 评论(0) 推荐(0)
摘要: 使用的是python的msgtopdf包,只能在window环境下使用 pip install msgtopdf 还需要安装wkhtmltopdf,下载地址: https://wkhtmltopdf.org/downloads.html 安装后,在window设置wkhtmltopdf的环境变量,在 阅读全文
posted @ 2022-03-08 10:11 Cody& 阅读(840) 评论(0) 推荐(0)
摘要: 部署第二个neo4j时,报错如下: ERROR Failed to start Neo4j on dbms.connector.http.listen_address, a socket address. If missing port or hostname it is acquired from 阅读全文
posted @ 2022-02-21 17:13 Cody& 阅读(365) 评论(0) 推荐(0)
摘要: 按照文档设置启用了压缩,https://docs.microsoft.com/zh-cn/aspnet/core/blazor/host-and-deploy/webassembly?view=aspnetcore-6.0 ,但还是加载.dll文件(如下图),加载资源大小跟未压缩一样 解决方法: 需 阅读全文
posted @ 2021-12-26 10:43 Cody& 阅读(410) 评论(0) 推荐(2)
摘要: 调试看出在执行dotnet.6.0.0.fof53xxcmn.js时出现ReferenceError: Cant find variable: globalThis错误 加入下面代码即可 <script> !function(t){function e(){var e=this||self;e.gl 阅读全文
posted @ 2021-12-23 17:06 Cody& 阅读(653) 评论(0) 推荐(0)
摘要: 报错详细信息如下: System.InvalidOperationException: Property 'JsonResult.SerializerSettings' must be an instance of type 'System.Text.Json.JsonSerializerOptio 阅读全文
posted @ 2021-02-03 10:38 Cody& 阅读(1320) 评论(0) 推荐(0)