上一页 1 2 3 4 5 6 7 8 ··· 19 下一页

httpwebrequest 服务器提交了协议冲突. section=responsestatusline

摘要: 调用接口的时候,包: 解决方案: req.KeepAlive = false; req.AllowAutoRedirect = true; req.CookieContainer = new System.Net.CookieContainer(); ServicePointManager.Expe 阅读全文
posted @ 2016-07-20 14:48 ~紫鱼~ 阅读(2424) 评论(1) 推荐(0) 编辑

Request is not available in this context

摘要: 部署到新服务器的IIS的时候发现这个错误: 解决方案: web.config这里配置下,请参考红色的部分! 阅读全文
posted @ 2016-07-15 13:10 ~紫鱼~ 阅读(664) 评论(0) 推荐(0) 编辑

webClient请求JAVA超时解决方案

摘要: private class MyWebClient: WebClient { protected override WebRequest GetWebRequest(Uri uri) { WebRequest w = base.GetWebRequest(uri); w.Timeout = 20 * ... 阅读全文
posted @ 2016-07-07 13:56 ~紫鱼~ 阅读(3528) 评论(0) 推荐(0) 编辑

解决URL路径包含+等特殊符号,编码也无效的办法

摘要: 在WEB.CONFIG配置这样就可以解决 阅读全文
posted @ 2016-06-07 18:26 ~紫鱼~ 阅读(1649) 评论(0) 推荐(0) 编辑

常用的Expression调用形式

摘要: ConstantExpression exp1 = Expression.Constant(1);构建常量表达式(还可以加类型) BinaryExpression exp12 = Expression.Add(exp1, exp2);构建二元加法表达式,参数为左右两个需要相加的常量表达式或者变量 ParameterExpression expA = Expression.Parameter(ty... 阅读全文
posted @ 2016-05-30 10:52 ~紫鱼~ 阅读(3287) 评论(0) 推荐(0) 编辑

C#调用JAVA接口WSSE方式用WebClient方式

摘要: C#读取JAVA的WSSE接口的调用代码: 用webclient 方式: 操作方法 阅读全文
posted @ 2016-05-28 15:00 ~紫鱼~ 阅读(1961) 评论(0) 推荐(0) 编辑

C#操作共享文件夹

摘要: public class NetFileShare { public NetFileShare() { } public static bool connectState(string path) { return connectState(path,"",""); } public static bool connectState(s... 阅读全文
posted @ 2016-05-04 10:58 ~紫鱼~ 阅读(1814) 评论(0) 推荐(0) 编辑

商业证书转换工具

摘要: pfx2pem.rar IIS导出的证书给APACHE使用,可以使用这个工具进行转换 阅读全文
posted @ 2016-04-07 13:34 ~紫鱼~ 阅读(176) 评论(0) 推荐(0) 编辑

【MySQL】[Err] [Imp] 2006 - MySQL server has gone away .

摘要: my.ini 后面增加 就可以解决 阅读全文
posted @ 2016-03-28 14:41 ~紫鱼~ 阅读(189) 评论(0) 推荐(0) 编辑

PHP的五大阶段

摘要: PHP程序员必须懂前端,后端,数据库,服务器。具体的学习顺序是: 第一阶段:扫盲。了解什么是B/S模式,原理上知道从浏览器输入一个url是如何获取到信息的流程。熟悉html,能快速地用div+css写出静态页面,熟悉js,掌握jquery。在不少小公司,PHP程序员是连前端的活都一起做了的。即使公司 阅读全文
posted @ 2016-03-26 14:13 ~紫鱼~ 阅读(290) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 19 下一页