随笔 - 253,  文章 - 0,  评论 - 29,  阅读 - 25万

随笔分类 -  .net

1 2 3 4 下一页
VS2017序列号|Visual Studio 2017 激活码 序列号
摘要:企业版:NJVYC-BMHX2-G77MM-4XJMR-6Q8QF 专业版:KBJFW-NXHK6-W4WJM-CRMQB-G3CDH 阅读全文
posted @ 2021-10-20 11:16 田坤坤 阅读(937) 评论(0) 推荐(0) 编辑
.net API跨域
摘要:在webconfig中的节点 <system.webServer> </system.webServer> 下添加 <httpProtocol><customHeaders><!--支持全域名访问,不安全,部署后需要固定限制为客户端网址--><add name="Access-Control-All 阅读全文
posted @ 2019-07-19 16:17 田坤坤 阅读(156) 评论(0) 推荐(0) 编辑
.net 项目如何添加log4net日志记录
摘要:1、在项目根目录新建文件log4net.config,此文件中的节点解释还请自动百度。 文件实例: <?xml version="1.0"?><configuration> <configSections> <section name="log4net" type="log4net.Config.L 阅读全文
posted @ 2019-07-08 10:56 田坤坤 阅读(945) 评论(0) 推荐(0) 编辑
webapi 下载Ftp文件并返回流到浏览器完成文件下载
摘要:ResultModel<HttpResponseMessage> resultModel = new ResultModel<HttpResponseMessage>(ResultStatus.Success); FtpWebResponse ftpWebResponse = null; Strea 阅读全文
posted @ 2018-12-07 10:50 田坤坤 阅读(1618) 评论(0) 推荐(0) 编辑
.net 配置Swagger
摘要:http://www.cnblogs.com/tdws/p/6100126.html 阅读全文
posted @ 2018-12-06 14:02 田坤坤 阅读(243) 评论(0) 推荐(0) 编辑
WebApi返回的Json去掉XML
摘要:在global.asax.cs文件中的 application_start()方法中加入下面一句话 GlobalConfiguration.Configuration.Formatters.XmlFormatter.SupportedMediaTypes.Clear(); 阅读全文
posted @ 2018-10-18 14:14 田坤坤 阅读(422) 评论(0) 推荐(0) 编辑
Day 10733 使用独立安装包安装.Net Framework 4.6.2时,提示『无法建立到信任根颁发机构的证书链』
摘要:出现该问题的原因是未能更新本机的受信任证书颁发机构证书列表,导致安装包验证失败,以下几种情况可以造成此问题: 1、安装该运行库的系统未接入互联网; 2、安装该运行库的系统所在的网络环境,屏蔽了对微软受信任根证书更新的URL。 (如果使用的不是独立安装包,而是Web Installer,问题可能为第2 阅读全文
posted @ 2018-08-03 10:52 田坤坤 阅读(416) 评论(0) 推荐(0) 编辑
无实体反序列化Json
摘要:public class ExectendHelp { private int index = 0; public void GetLast(JObject obj, ref JToken token, string key) { JToken t = null; string[] arr = ke 阅读全文
posted @ 2018-06-12 16:36 田坤坤 阅读(183) 评论(0) 推荐(0) 编辑
vs2013 密钥
摘要:BWG7X-J98B3-W34RT-33B3R-JVYW9 阅读全文
posted @ 2018-05-21 09:17 田坤坤 阅读(78) 评论(0) 推荐(0) 编辑
C# 获取枚举的描述属性
摘要:https://www.cnblogs.com/TanSea/p/6923743.html 阅读全文
posted @ 2018-03-09 09:36 田坤坤 阅读(84) 评论(0) 推荐(0) 编辑
C# 值类型和引用类型
摘要:https://wenku.baidu.com/view/2db61ae9e009581b6bd9ebf0.html 阅读全文
posted @ 2018-03-08 19:30 田坤坤 阅读(85) 评论(0) 推荐(0) 编辑
C#网络编程系列文章之Socket实现异步TCP服务器
摘要:http://blog.csdn.net/zhujunxxxxx/article/details/44258719 阅读全文
posted @ 2018-02-26 11:24 田坤坤 阅读(122) 评论(0) 推荐(0) 编辑
大型网站架构与分布式架构
摘要:http://blog.csdn.net/he90227/article/details/48973423 阅读全文
posted @ 2018-02-24 17:13 田坤坤 阅读(103) 评论(0) 推荐(0) 编辑
C# 知识梳理
摘要:http://www.cnblogs.com/solan/archive/2012/07/23/CSharp00.html 阅读全文
posted @ 2018-02-01 16:56 田坤坤 阅读(60) 评论(0) 推荐(0) 编辑
C# 调用https服务
摘要:http://www.jb51.net/article/57156.htm 阅读全文
posted @ 2018-01-17 23:08 田坤坤 阅读(877) 评论(0) 推荐(0) 编辑
Byte[]和Stream相互转换
摘要:C# Stream 和 byte[] 之间的转换 一. 二进制转换成图片 MemoryStream ms = new MemoryStream(bytes); ms.Position = 0; Image img = Image.FromStream(ms); ms.Close(); this.pi 阅读全文
posted @ 2018-01-17 12:45 田坤坤 阅读(908) 评论(0) 推荐(0) 编辑
.net 操作Oracle 海量数据
摘要:https://www.oracle.com/ocom/groups/public/@otn/documents/webcontent/229338_zhs.htm 阅读全文
posted @ 2017-12-13 11:06 田坤坤 阅读(121) 评论(0) 推荐(0) 编辑
新建一个Windows Service的方法
摘要:http://www.cnblogs.com/YanPSun/archive/2010/05/22/1741381.html http://blog.csdn.net/m15188153014/article/details/49356887 两个结合看可能更容易理解一点 阅读全文
posted @ 2017-12-13 10:26 田坤坤 阅读(162) 评论(0) 推荐(0) 编辑
C# 监控代码执行效率
摘要:System.Diagnostics.Stopwatch stopwatch = new System.Diagnostics.Stopwatch(); stopwatch.Start(); stopwatch.Stop(); 阅读全文
posted @ 2017-12-09 13:29 田坤坤 阅读(206) 评论(0) 推荐(0) 编辑
C#连接Oracle数据库的四种方法
摘要:http://blog.csdn.net/chr561314/article/details/7189908 阅读全文
posted @ 2017-12-09 13:22 田坤坤 阅读(168) 评论(0) 推荐(0) 编辑

1 2 3 4 下一页

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示