摘要:
问题描述:一个wcf方法,当返回格式为xml时,一切正常。但当返回格式为JSON时,浏览器提示连接中断,请重新加载。调试时可以命中断点,但客户端就是无法收到返回数据。情况和http://www.west-wind.com/weblog/posts/2008/Jun/23/Crashing-WCF-35-JSON-Services-with-DateTimeMinValue这位外国朋友提到的一样。解决方法 :returnDate=(obj.Date== DateTime.MinValue ? DateTime.SpecifyKind(DateTime.MinValue, DateTimeKind 阅读全文
posted @ 2012-06-27 14:35
星星小阁阁主
阅读(575)
评论(0)
推荐(0)
摘要:
今天发布在IIS7上部署网站访问时遇到这么个问题,提示The Web server is configured to not list the contents of this directory. 其实根据错误信息也能猜得出大概,在这里记录一下,希望可以给大家一些帮助或启发。解决方法:1)2) 阅读全文
posted @ 2012-06-27 14:23
星星小阁阁主
阅读(11729)
评论(1)
推荐(0)
浙公网安备 33010602011771号