摘要: 1.遇到的最多的问题就是跨域问题,这个时间需要我们添加如下代码解决跨域的问题 第一步:在服务类加Attribute [AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)] 第二步:在构造函数中添加 if (WebOperationContext.Current... 阅读全文
posted @ 2014-11-29 13:29 hornet_team 阅读(260) 评论(0) 推荐(0) 编辑
摘要: 查找空行:^(?([^\r\n])\s)*\r?$\r?\n 查找多余的空行:^(?([^\r\n])\s)*\r?$\r?\n^(?([^\r\n])\s)*\r?$\r?\n 阅读全文
posted @ 2014-11-29 11:26 hornet_team 阅读(159) 评论(0) 推荐(0) 编辑