可以先尝试使用iisreset 页面返回错误 事件日志显示错误 大家可以先看着个链接 https://docs.microsoft.com/en-us/aspnet/core/publishing/iis?tabs=aspnetcore2x#tabpanel_tfsY37MhAQ_aspnetcor Read More
posted @ 2017-11-13 14:14 Loui Views(13059) Comments(1) Diggs(4) Edit
今天在做Proxy 转发请求的时候发现 GET的请求转发时一直在等待输出。 而Post等其它操作是可以的。 同事告诉我一般一直等待响应可能是输出内容长度和头部ContentLength不一致导致的, 仔细一看服务器响应头中有Transfer-Encoding: chunked Transfer-En Read More
posted @ 2017-04-12 14:19 Loui Views(906) Comments(0) Diggs(0) Edit
netsh winsock reset Win+x 再按A 输入 netsh winsock reset Read More
posted @ 2016-03-19 13:33 Loui Views(522) Comments(0) Diggs(0) Edit
使用 msitvpn 连接microsoft 公司内网,在安装msitvpn的时候突然弹出一个对话框提示需要msitvpn.bmp 文件,找了很久都没找到解决问题方案。最后只能猜测是不是和用户的权限相关,我开启了Administrator帐户(win8默认不启用)通过administrator 账户... Read More
posted @ 2015-07-01 22:59 Loui Views(1111) Comments(0) Diggs(0) Edit
首次整理,可能有错误,还有少许的未整理,希望看到的人能给点补充(包括指点错误) 表名表说明自定义触发器QRTZ_BLOB_TRIGGERS列名(英)列名(中)数据类型列长度是否为空列说明SCHED_NAME计划名称nvarchar100not null主键TRIGGER_NAME触发器... Read More
posted @ 2014-12-26 17:58 Loui Views(1182) Comments(0) Diggs(1) Edit
jquery1.9以前$.browser.msiejquery1.9更高版本$.browser.msie = /msie/.test(navigator.userAgent.toLowerCase()); //其实不靠谱IE11就获取不到,并且也不能判断是否使用了IE内核的浏览器,比如QQ浏览器推荐... Read More
posted @ 2014-11-28 15:19 Loui Views(561) Comments(0) Diggs(0) Edit
Interceptors (EF6.1 Onwards)Starting with EF6.1 you can register interceptors in the config file. Interceptors allow you to run additional logic when ... Read More
posted @ 2014-11-18 16:31 Loui Views(2191) Comments(0) Diggs(0) Edit
下载地址http://windows.php.net/download/#php-5.3-ts-VC9-x86http://www.apachelounge.com/download/ Read More
posted @ 2014-05-19 16:10 Loui Views(134) Comments(0) Diggs(0) Edit
1.概述 装饰者模式,英文名叫做Decorator Pattern。装饰模式是在不必改变原类文件和使用继承的情况下,动态地扩展一个对象的功能。它是通过创建一个包装对象,也就是装饰来包裹真实的对象。2.特点 (1) 装饰对象和真实对象有相同的接口。这样客户端对象就可以和真实对象相同的方式和装饰对象交互。 (2) 装饰对象包含一个真实对象的引用(reference) (3) 装饰对象接受所有来自客户端的请求。它把这些请求转发给真实的对象。 (4) 装饰对象可以在转发这些请求以前或以后增加一些附加功能。这样就确保了在运行时,不用修改给定对象的结构就可以在外部增加附加的功能。在面向对象的设计... Read More
posted @ 2014-02-18 11:31 Loui Views(2766) Comments(7) Diggs(1) Edit
The ObjectContext instance has been disposed and can no longer be used for operations that require a connection.How to solve the error The ObjectContext instance has been disposed and can no longer be used for operations that require a connection1.今天查询数据的出现对象已经被释放,然后字段属性为null。我下了断点检查了一下数据,是有值的。2.我发现 Read More
posted @ 2014-01-20 17:40 Loui Views(2608) Comments(0) Diggs(0) Edit