摘要:
定义跨域handle public class CorsHandler : DelegatingHandler { const string Origin = "Origin"; const string AccessControlRequestMethod = "Access-Control-Re 阅读全文
摘要:
webapi代码如下: public string Get(int id) { var callback = HttpContext.Current.Request["callback"]; var u = new User { Name = "AA", Age = id }; var result 阅读全文