上一页 1 2 3 4 5 6 7 8 9 ··· 25 下一页
摘要: [DataMember(Order = 0)] public string FID { get; set; } [DataMember(Order = 1)] public string FWMSType { get; set; } = string.Empty; 阅读全文
posted @ 2022-12-29 17:55 博客YS 阅读(12) 评论(0) 推荐(0) 编辑
摘要: 今天遇到个奇怪的问题,本机电脑安装VS2019和VS2015,和VS2008(因为开发手持项目,必须用此版本) 卸载VS2015后,VS2008打开项目报错 解决办法:删除注册表14.0 1、win+R 输入 c: windows sysWoW64 regedt32.exe 打开注册表; 找到:计算 阅读全文
posted @ 2022-12-23 16:47 博客YS 阅读(316) 评论(0) 推荐(0) 编辑
摘要: 项目背景:给一个古老的项目加个小功能,结果用的2.0的组件 1、初始化下拉列表 DataTable dt = new DataTable(); dt.Columns.Add("id"); dt.Columns.Add("name"); DataRow dr1 = dt.NewRow(); dr1[" 阅读全文
posted @ 2022-11-30 18:31 博客YS 阅读(223) 评论(0) 推荐(0) 编辑
摘要: 目的:发布的Web接口,当大批量并发访问时,会出现响应慢问题; 当访问者频繁大量访问时,用五台服务器部署同样的接口程序,来分压,对于访问者来说只要访问Nginx,Nginx来根据配置权重,分配到各个服务器上; 此次场景,5千万+访问量/小时;用到服务器5台(包含linux和Winserver),增加 阅读全文
posted @ 2022-11-07 15:51 博客YS 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 备注:(swagger/index.html)(部署参考IIS:/become/p/15796204.html) 对于C# 开发人员,接口服务大部分是WCF(需要配置很多),WebService(走的XML,相比json同样的内容大很多) ,一般应用程序 阅读全文
posted @ 2022-10-24 16:08 博客YS 阅读(3465) 评论(1) 推荐(0) 编辑
摘要: /// <summary> /// 发送数据 /// </summary> /// <param name="url">地址</param> /// <param name="postData">xml</param> /// <returns></returns> public static st 阅读全文
posted @ 2022-10-05 12:55 博客YS 阅读(31) 评论(0) 推荐(0) 编辑
摘要: 1、封装 /// <summary> /// 调用Winrar.exe进行压缩文件 /// </summary> /// <param name="sourcePath">需要压缩文件路径</param> /// <param name="rarPath">压缩文件路径</param> /// <p 阅读全文
posted @ 2022-10-03 22:58 博客YS 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 汉化包下载官方地址 https://dotnet.microsoft.com/zh-cn/download/intellisense 解压 解压后 将文件 zh-hans 放到(VS2019默认安装路径)C:\Program Files\dotnet\packs\Microsoft.NETCore. 阅读全文
posted @ 2022-10-03 22:32 博客YS 阅读(294) 评论(0) 推荐(1) 编辑
摘要: 参考网址:/lotuslove/archive/2012/10/18/2729058.html 阅读全文
posted @ 2022-10-03 22:31 博客YS 阅读(6) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 25 下一页