随笔分类 -  C# /.Net

.net 相关内容
摘要:mappest多层结构的映射关系处理 阅读全文
posted @ 2024-10-18 16:22 FengLu-1 阅读(6) 评论(0) 推荐(0) 编辑
摘要:C# 中枚举使用 enum & | 操作 阅读全文
posted @ 2022-12-02 17:13 FengLu-1 阅读(83) 评论(0) 推荐(0) 编辑
摘要:Could not load type 'MySql.Data.MySqlClient.MySqlConnectionStringBuilder' from assembly 'MySqlConnector, Version=1.0.0.0, Culture=neutral, PublicKeyToken=d33d3e53aa5f8c92'. 阅读全文
posted @ 2021-08-19 22:26 FengLu-1 阅读(518) 评论(0) 推荐(0) 编辑
摘要:依赖注入-利用容器(DependencyInjection)创建依赖服务的生命周期 阅读全文
posted @ 2021-07-01 10:32 FengLu-1 阅读(437) 评论(0) 推荐(0) 编辑
摘要:泛型list转换为xml datapacket rowdata 阅读全文
posted @ 2021-05-27 11:49 FengLu-1 阅读(537) 评论(0) 推荐(0) 编辑
摘要:EF Core RollBack (RollBack 事务回滚失败分析) 阅读全文
posted @ 2021-04-20 11:04 FengLu-1 阅读(708) 评论(0) 推荐(0) 编辑
摘要:1、StackExchange.Redis.RedisConnectionException: It was not possible to connect to the redis server(s); to create a disconnected multiplexer, disable AbortOnConnectFail. Timeout 2、There is already an open DataReader associated with this Command which must be closed first 3、A second operation started on this context before a previous operation completed. This is usually caused by different threads using the same instance of DbContext, however instance members are not guaranteed to be 阅读全文
posted @ 2021-02-02 16:24 FengLu-1 阅读(1206) 评论(0) 推荐(0) 编辑
摘要:cpu 和内存不高,但是线上系统运行很卡 cpu使用率瞬时升高,甚至突破100%(负载突然升高) 其它服务(或者进程外的资源)传入负载能力超出(或提示连接超时),比如提示(StackExchange.Redis.RedisConnectionException: It was not possible to connect to the redis server(s); to create a disconnected multiplexer, disable AbortOnConnectFail. Timeout at StackExchange.Redis.ConnectionMultiplexer.ConnectImpl(Func`1 multiplexerFactory, TextWriter log)) 也可能是一次显示为"较长"的数据库查询 或者任何非cpu活动(如任何I/O或延迟),因此似乎非常I/O 操作随机需要的时间比它应该需要的时间长 线程数莫名奇妙的不断升高 阅读全文
posted @ 2021-02-02 16:22 FengLu-1 阅读(1247) 评论(4) 推荐(0) 编辑
摘要:ildasm & ilasm 反编译修改代码及注意事项;Failed to write output file, error code=0x80070005 阅读全文
posted @ 2020-11-18 10:56 FengLu-1 阅读(1440) 评论(0) 推荐(0) 编辑
摘要:EF Core DbFirst 连接MySql 安装包 阅读全文
posted @ 2020-05-12 01:19 FengLu-1 阅读(181) 评论(0) 推荐(0) 编辑
摘要:1、 Singleton:对于方法都是线程安全的类型,一般使用单例。Scoped:对于对象依赖了处理上下文,或者使用了有限资源(如数据库连接,每个用户请求范围内,使用同一个实例,处理响应完毕,由容器帮忙释放),一般使用Scoped或者Transient。Scoped、Transient的区别是你在同 阅读全文
posted @ 2020-03-15 19:20 FengLu-1 阅读(885) 评论(0) 推荐(0) 编辑
摘要:一 前言 对于正则表达式,相信很多人都知道,但是很多人的第一感觉就是难学,因为看第一眼时,觉得完全没有规律可寻,而且全是一堆各种各样的特殊符号,完全不知所云。 其实只是对正则不了解而以,了解了你就会发现,原来就这样啊正则所用的相关字符其实不多,也不难记,更不难懂,唯一难的就是组合起来之后,可读性比较 阅读全文
posted @ 2020-01-02 14:33 FengLu-1 阅读(121) 评论(0) 推荐(0) 编辑
摘要:LocalDB parent instance version is invalid: MSSQL13E.LOCALDB 阅读全文
posted @ 2019-08-16 16:13 FengLu-1 阅读(1102) 评论(0) 推荐(1) 编辑
摘要:竟然是post 方法少了参数 // // 摘要: // 以异步操作将 POST 请求发送给指定 URI。 // // 参数: // requestUri: // 请求发送到的 URI。 // // content: // 发送到服务器的 HTTP 请求内容。 // // 返回结果: // 表示异步操 阅读全文
posted @ 2019-03-28 13:40 FengLu-1 阅读(1121) 评论(0) 推荐(0) 编辑
摘要:PostMan ,C# POST 对象 经典场景实例,C# 阅读全文
posted @ 2019-03-28 12:10 FengLu-1 阅读(1083) 评论(0) 推荐(0) 编辑
摘要:System.InvalidOperationException: 可为空的对象必须具有一个值。 阅读全文
posted @ 2019-03-27 20:07 FengLu-1 阅读(6256) 评论(0) 推荐(0) 编辑
摘要:eShopOnContainers 微服务部署实践 阅读全文
posted @ 2019-03-19 13:36 FengLu-1 阅读(737) 评论(0) 推荐(1) 编辑
摘要:jwt token 解密 阅读全文
posted @ 2018-08-29 17:20 FengLu-1 阅读(19205) 评论(0) 推荐(1) 编辑
摘要:.net core 常见问题 阅读全文
posted @ 2018-06-13 10:25 FengLu-1 阅读(679) 评论(2) 推荐(0) 编辑
摘要:VSTO:C#获取文档控件的值 阅读全文
posted @ 2017-04-12 16:39 FengLu-1 阅读(1332) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示