
工作日志
kimprof
这个作者很懒,什么都没留下…
展开
-
.net 6 跨域问题
.net 跨域配置原创 2023-06-12 08:21:34 · 1079 阅读 · 0 评论 -
在asp.net core中 引用webService
在.net core 3.X中 使用Webservice。原创 2022-02-18 22:41:56 · 1255 阅读 · 0 评论 -
根据设定的内存抓取dump
根据条件抓取dump原创 2022-02-15 22:10:43 · 1004 阅读 · 0 评论 -
.net core 配置https 证书
通过appsettings.json 配置HTTPS证书,这样配置比写在代码中更灵活。{ "Logging": { "LogLevel": { "Default": "Information", "Microsoft": "Warning", "Microsoft.Hosting.Lifetime": "Information" } }, "AllowedHosts": "*",原创 2021-08-26 21:40:25 · 2824 阅读 · 0 评论 -
Newtonsoft.Json 自定义转换器 ——特定数据类型序列化失败完美解决方案
场景最近在做一个关于OPC项目,项目中把对象序列化成Json,使用了Newtonsoft.Json插件,当序列化byte数组时,发现byte[] 被序列化成一个字符串,在浏览官方文档时,发现可以针对特定类型写相应的转换器。解决方案using System;using System.Collections.Generic;using System.Linq;using System.T...原创 2020-04-25 09:13:44 · 4592 阅读 · 0 评论