摘要: 定义跨域handle public class CorsHandler : DelegatingHandler { const string Origin = "Origin"; const string AccessControlRequestMethod = "Access-Control-Re 阅读全文
posted @ 2016-01-30 15:57 wujf 阅读(1159) 评论(0) 推荐(0) 编辑
摘要: webapi代码如下: public string Get(int id) { var callback = HttpContext.Current.Request["callback"]; var u = new User { Name = "AA", Age = id }; var result 阅读全文
posted @ 2016-01-30 15:18 wujf 阅读(487) 评论(0) 推荐(0) 编辑