回到目录

说在前

Cors是个比较热的技术,这在蒋金楠的博客里也有体现,Cors简单来说就是“跨域资源访问”的意思,这种访问我们指的是Ajax实现的异步访问,形象点说就是,一个A网站公开一些接口方法,对于B网站和C网站可以通过发Xmlhttprequest请求来调用A网站的方法,对于xmlhttprequest封装比较好的插件如jquery的$.ajax,它可以让开发者很容易的编写AJAX异步请求,无论是Get,Post,Put,Delete请求都可以发送。

Cors并不是什么新的技术,它只是对HTTP请求头进行了一个加工,还有我们的Cors架构里,对jsonp也有封装,让开发者在使用jsonp访问里,编写的代码量更少,更直观,呵呵。(Jsonp和Json没什么关系,它是从一个URI返回一个Script响应块,所以,JSONP本身是和域名没关系的,而传统上的JSON是走xmlhttprequest的,它在默认情况下,是不能跨域访问的)

做在后

一  下面先说一下,对jsonp的封装

1 注册jsonp类型,在global.asax里Application_Start方法中

 GlobalConfiguration.Configuration.Formatters.Insert(, new EntityFrameworks.Web.Core.JsonpMediaTypeFormatter());

2 编写JsonpMediaTypeFormatter这个类型中实现了对jsonp请求的响应,并在响应流中添加指定信息,如callback方法名。

 /// <summary>
/// 对jsonp响应流的封装
/// </summary>
public class JsonpMediaTypeFormatter : JsonMediaTypeFormatter
{
public string Callback { get; private set; }
public JsonpMediaTypeFormatter(string callback = null)
{
this.Callback = callback;
}
public override Task WriteToStreamAsync(
Type type,
object value,
Stream writeStream,
HttpContent content,
TransportContext transportContext)
{
if (string.IsNullOrEmpty(this.Callback))
{
return base.WriteToStreamAsync(type, value, writeStream, content, transportContext);
}
try
{
this.WriteToStream(type, value, writeStream, content);
return Task.FromResult<AsyncVoid>(new AsyncVoid());
}
catch (Exception exception)
{
TaskCompletionSource<AsyncVoid> source = new TaskCompletionSource<AsyncVoid>();
source.SetException(exception);
return source.Task;
}
}
private void WriteToStream(
Type type,
object value,
Stream writeStream,
HttpContent content)
{
JsonSerializer serializer = JsonSerializer.Create(this.SerializerSettings);
using (StreamWriter streamWriter = new StreamWriter(writeStream, this.SupportedEncodings.First()))
using (JsonTextWriter jsonTextWriter = new JsonTextWriter(streamWriter) { CloseOutput = false })
{
jsonTextWriter.WriteRaw(this.Callback + "(");
serializer.Serialize(jsonTextWriter, value);
jsonTextWriter.WriteRaw(")");
}
}
public override MediaTypeFormatter GetPerRequestFormatterInstance(
Type type,
HttpRequestMessage request,
MediaTypeHeaderValue mediaType)
{
if (request.Method != HttpMethod.Get)
{
return this;
}
string callback;
if (request.GetQueryNameValuePairs().ToDictionary(pair => pair.Key,
pair => pair.Value).TryGetValue("callback", out callback))
{
return new JsonpMediaTypeFormatter(callback);
}
return this;
}
[StructLayout(LayoutKind.Sequential, Size = )]
private struct AsyncVoid
{
} }

二  对指定域名实现友好的跨域资源访问

1 在global.asax中注册这个HttpHandler,使它对HTTP的处理进行二次加工,它可以有同步和异步两个版本,本例中实现异步方式实现

 //对指定URI的网站进行跨域资源的共享
GlobalConfiguration.Configuration.MessageHandlers.Add(new EntityFrameworks.Web.Core.Handlers.CorsMessageHandler());

下面是MessageHandlers原代码,实现对HTTP请求的二次处理

    /// <summary>
/// 跨域资源访问的HTTP处理程序
/// </summary>
public class CorsMessageHandler : DelegatingHandler
{
protected override Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
{
//得到描述目标Action的HttpActionDescriptor
HttpMethod originalMethod = request.Method;
bool isPreflightRequest = request.IsPreflightRequest();
if (isPreflightRequest)
{
string method = request.Headers.GetValues("Access-Control-Request-Method").First();
request.Method = new HttpMethod(method);
} HttpConfiguration configuration = request.GetConfiguration();
HttpControllerDescriptor controllerDescriptor = configuration.Services.GetHttpControllerSelector().SelectController(request);
HttpControllerContext controllerContext = new HttpControllerContext(request.GetConfiguration(), request.GetRouteData(), request)
{
ControllerDescriptor = controllerDescriptor
};
HttpActionDescriptor actionDescriptor = configuration.Services.GetActionSelector().SelectAction(controllerContext);
//根据HttpActionDescriptor得到应用的CorsAttribute特性
CorsAttribute corsAttribute = actionDescriptor.GetCustomAttributes<CorsAttribute>().FirstOrDefault() ??
controllerDescriptor.GetCustomAttributes<CorsAttribute>().FirstOrDefault();
if (null == corsAttribute)
{
return base.SendAsync(request, cancellationToken);
}
//利用CorsAttribute实施授权并生成响应报头
IDictionary<string, string> headers;
request.Method = originalMethod;
bool authorized = corsAttribute.TryEvaluate(request, out headers);
HttpResponseMessage response;
if (isPreflightRequest)
{
if (authorized)
{
response = new HttpResponseMessage(HttpStatusCode.OK);
}
else
{
response = request.CreateErrorResponse(HttpStatusCode.BadRequest, corsAttribute.ErrorMessage);
}
}
else
{
response = base.SendAsync(request, cancellationToken).Result;
} //添加响应报头
if (headers != null && headers.Any())
foreach (var item in headers)
response.Headers.Add(item.Key, item.Value); return Task.FromResult<HttpResponseMessage>(response);
}
}

2 添加Cors特性,以便处理可以跨域访问的域名,如B网站和C网站

    /// <summary>
/// Cors特性
/// </summary>
[AttributeUsage(AttributeTargets.Class, Inherited = true, AllowMultiple = false)]
public class CorsAttribute : Attribute
{
public Uri[] AllowOrigins { get; private set; }
public string ErrorMessage { get; private set; }
public CorsAttribute(params string[] allowOrigins)
{
this.AllowOrigins = (allowOrigins ?? new string[]).Select(origin => new Uri(origin)).ToArray();
}
public bool TryEvaluate(HttpRequestMessage request, out IDictionary<string, string> headers)
{
headers = null;
string origin = null;
try
{
origin = request.Headers.GetValues("Origin").FirstOrDefault();
}
catch (Exception)
{
this.ErrorMessage = "Cross-origin request denied";
return false;
}
Uri originUri = new Uri(origin);
if (this.AllowOrigins.Contains(originUri))
{
headers = this.GenerateResponseHeaders(request);
return true;
} this.ErrorMessage = "Cross-origin request denied";
return false;
} private IDictionary<string, string> GenerateResponseHeaders(HttpRequestMessage request)
{ //设置响应头"Access-Control-Allow-Methods" string origin = request.Headers.GetValues("Origin").First(); Dictionary<string, string> headers = new Dictionary<string, string>(); headers.Add("Access-Control-Allow-Origin", origin); if (request.IsPreflightRequest())
{
//设置响应头"Access-Control-Request-Headers"
//和"Access-Control-Allow-Headers"
headers.Add("Access-Control-Allow-Methods", "*"); string requestHeaders = request.Headers.GetValues("Access-Control-Request-Headers").FirstOrDefault(); if (!string.IsNullOrEmpty(requestHeaders))
{
headers.Add("Access-Control-Allow-Headers", requestHeaders);
}
}
return headers;
}
} /// <summary>
/// HttpRequestMessage扩展方法
/// </summary>
public static class HttpRequestMessageExtensions
{
public static bool IsPreflightRequest(this HttpRequestMessage request)
{
return request.Method == HttpMethod.Options
&& request.Headers.GetValues("Origin").Any()
&& request.Headers.GetValues("Access-Control-Request-Method").Any();
}
}

3 下面是为指定的API类型添加指定域名访问的特性

    [CorsAttribute("http://localhost:11879/", "http://localhost:5008/")]/*需要加在类上*/
public class ValuesController : ApiController
{
//代码省略
}

下面看一下實例的結果:

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAArAAAAA+CAIAAABcA79gAAAM20lEQVR4nO2du24bRxSG51m2IaBXSMU3YMNWj5B2S7m0AbUs0ohI44JtnBRRABlRAiVWAMMABUcGbMdBYigKbDqQYxGICabY21zOmd3lRaKl74MRSMOZMzNnLuef2aVi5gAAAHDrMdfdAAAAALh+EAQAAAAwNxMAAAC49SAIAAAAAEEAAAAACAIAAACYIAgAAABgskpBMOwZY0xvuDKDjuVOeiSlrKTS0sj6urAmQs9cjZHrdVQ4XkdpxyzqiWXKAgDcIGKC4LvjZ/fuPwz/fXf8TMgtBwkvdZFIMuz5RaqUDRIESuEs2cISMhV2sfyzLCkLV2I+yTO1hOGvMOK1PxonV+h2yyntCl6fIHB7b3djnRLJa6c8r6Scbmap2cIS9bvj2xSLO4lFXrkiZ17bblOGw1kULbqp2vTztlmnauObDJyyou1kcYxkA1btQe/ri+elG/Q9L67MOqFJ2sa12uVyk3yr1S7NaqlHqyEmCO7dfyh+VfHe/YdC7nUJgqO0I61ve1w2WRBU5INYI2TK4S/XVZ7LLm4ZXHY6VEaGPWtyZrVpxlfkdmfraG7tugWB1JTJipwSqcXdPCrCeSVtM530yOlqo+Wq1y4WL0a0tiIrLfvR3yW9bnqLonU3fZvRoapbp3LjRZR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pnmhiL+0mSbfbFcwAAADAamktCO72k4L+XSXPXtpNEjHWZ4ogkwsefua9tJt00708L6IAAABgjbQTBJkaUIVARh7JM1Wgnf/39/cdeRDmy80UPyIKAAAA1kcbQfDl558lSfLZ51/GMu1uJ0k33c3UQNcP5HtpN9neLR4plJcDxYOB4mohZHt7Oy4uAAAAYHHaCALraUEiKoMsnpeRvZvuWaE/VwdViC9kQpGjiPf5jcFuYYz7AQAAgHXTQhDYFwThZUEetu1LfuFEX9wQ+FcBbrTf3S4Fgfx+AQAAAKyU9jcE2RsENW8TNBIE+efeVw/K4kmSdNN0m8sBAACAtdPqpcK7/eJaoO7twpggiD4/qKTAbv5SYfZEgTsCAACANdLya4fZowLlFQILTRAUf59AviFwvphgfcugfA+BqwIAAIC1sKY/TKQJAv/zPNT7OQsFgAAAAAC4EvjTxQAAAIAgAAAAgP198wUAAADceswEAAAAbj3/Ay0bjdUG2/jIAAAAAElFTkSuQmCC" alt="" />

上图中分别使用了jsonp和json两种方法,看一下它们的响应结果

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAApsAAABRCAIAAAASHPrIAAAVkUlEQVR4nO2dy5LbRpaGz9uognuyAk/h0gLPYBY33LVb3vAdXFTtEFLZO65tlUpLRnS72w67JRUjGCEFN7WYkWdqdLE0F10xiwSQl3MSSIDgtf5vIbESiZN5DhL5ZyYJJP0bAAAAAHYf+nfQiBcvXlxdXT179my+Gp4/f351dfXixYtNOwoAAGA3oBegPn/88cfz58+vr68/fvyYroaPHz9eX18/e/Zs074CAADYDegPUJ+rq6vr6+sVabnJ9fX11dXVpt0FAACwA0DRm/Ds2bPVzc5NPn78+Pz58027CwAAYAeg/wD1mc/na5BzxXw+37S7AAAAdgD6T1CfNSv6pt0FAACwA9A1qM+aFX3T7gIAANgB6L9Afdas6Jt2FwAAwA6wSkX/8Wsi6n73m+9gfujHr4mIvv5x2fJ++67rsfPj19mB4kO9810CFX2RREQUJYuyw8Pprir6b9917curAshjqC6wryWsnL/95R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NzLqkm1twYD5KFFFZfi02KXiGMys8T5OxboCy0udImD/pcxI1WU7ISyxd1mL9l/K2SFe/rJdi2wbFagq26Ydat1/yYLaG2VL8eniglnB7xl5haNRKBf3ed1532A+zZ6OdlbTvpFR5yJ5Gs82pxNGlEsoGYnlzoaKdd+4HMasK9tkHd3HKbderrx02cb+SzwZGcnS7nYc7WUoRYv3X9LIlG3lYIGdjvNqXUC2ea+wz6gcjS3tydNxUMBWTqdsdNKMBaD0OPyeWsC8a9wbjabzcOR59muk0JDOmo6cLPea2Jsuh6XKdjoe0X2zNtRx55Xt1fIXi0RWa7iPU2YIz53EHRUsD8cYHPsvVdp/Sc0+p4c3u/9S8e3plE3kY9mOouu2/1Ku32NSxZtc9P+8gSL8nlnbHL+XjiP0Epberc5IR0RK0lm9b8yhpa9bKTxtALWRPRiuYSFxlRSYBpQc4NZMt3t4uh3yIAiExA+CSTCgwcC2naKg27VePrDPsqnm09rmG1so2/EIBZ139ciBMp+z1HXn3PKJC81n8axH8YgrYj17+HrWujiwz0qo6NPa5RtbKNsAAAAAsAPZBgAAADoDZBsAAADoDJBtAAAAoDOsWrbDAvs1ybvmO3ITFAAAALAaGpdtEcruoFzKG58AAACALrOIbKfPiZsvx0jf/LDIfk2QbQAAAMCgsmzbXg2kPNHmLbxfE2QbAAAAMKgq20xo+VtjSryKcm55XS9kGwAAADBoh2xjtg0AAAAUoLhsGxs/sEXyOvdritODbAMAAAAalWV7ufs1zSHbAAAAAKMdr1vBA2AAAABAARqXbbxuBQAAAChK47INAAAAgKJAtgEAAIDOANkGAAAAOgNkGwAAAOgMkG0AAACgM0C2AQAAgM4A2QYAAAA6A2QbAAAA6AyQbQAAAKAzaLINAAAAgDbz/z5TU23yBfD2AAAAAElFTkSuQmCC" alt="" />

CORS实际上是在服务端的响应头上添加的标准的Access-Control-Allow-Origin的信息,它是一种跨域资源访问的标准

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAmkAAAFCCAIAAAAlkN3tAAAgA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7SDaetUAbhZtvvF5a2SOCmr+SnJG9ROAACAnUA7AQAAykA7AQAAykA7AQAAykA7AQAAykA7AQAAykA7AT9D73kAABRSSURBVAAAykA7AQAAykA7AQAAykA7AQAAykA7AQAAykA7AQAAykA7AQAAykA7AQAAykA7AQAAykA7AQAAykA7AQAAyvDa2T59/u4P3//e998L/737w/d//PEXutrL4/3d/eNL+Ofd3cNzqpXnh7u7+/v7u7COXSpV4vlhaMB92MIIwCHYbDZy0+v66Wn9av/5un5aqgre2DKsaH2xWW5THQD2idfOd37QfvPnb7uu++677/70zf9+/Yff/e43X3355a/e+cvWqNeL5/Pj/Z1GK9vzw93dw3OvsErYnh+Grf0HSxdfHu/9F88PvY3eqLRz9/AYdmpCZQH2w2b5VvK0fn3dbF59CS93r+uloW6b5du3T+vXpPhFtTbrQUVD0e57sdy8rp+GTkxILADshtfO733/va7r/u/Pf/rj1//z+9/++r+++vL/ffkf//nLn/fbpwmV1FKrQOacUuoCDw8Jj/Elluj7+3tLG4VH+vI45+cC7IXNev3aecnSytVLZy+mg+5ZErlZLjcJr/J1vVy/Oo1ervvGlsuNbCSusdfdBABPpJ3f/PHrP/z+N//965evXtZfrr/41S8++8XyOaGdzw93948vQtbCednBDdTcPzzcR07kKHnPCe0c/VFtMdJpq0G0Ew7PoJ3LaJJ2PQjZZvn27dvlctl7o2svcME87mbppdbUzs1ydEqldxuVUb7vIfYWADqhnb/9zVeLmM+ef6K1U7qBoz657U7Sxueg7iGk5XWOhaKJ2ejr+/t7pYIvj/diE34nnAbT71STtJvlcrNZDiraC2ngNY4PQS138XW9XjstDja/RgXxOwGOSKSd/STtLz//9It/++jfP/nHTz/64ON/+ttpv1N6e4bECY8x+QTSa2evpvePL4NEPvcrk/A74SyZ0c5+lrb3RL0/OjU5O3zq/dLX9XL9OtSLfMunpyV+J8CJiLSzn6Rdfvrhzz7++3/98L2fvv3rDz/4UY529homFt/6gr3OPSpH8MVcanR3d+fk0pe7f3zRxWMd7nV6bs0vwH6JPD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IAc7R0VU8gC3KOg8pQmwYSrLytk2Ddp2t9VO4fJ37Z/9Bb7wIvJJyL6yaVe9GS72bGbMJFZJWhdjWD+2jzjBj8UyGgv/HM9I/tKXddyP8K76yry2YNdTXQxXuLsJ7NlDheFdXTsezbRes7zTqNxJdHTWWUMxybzCGaIvTMe3ZDFuyrK+F9Z8LPQT/TFeWi7Z6rPxjhnrLPNqWUeQd1D8aV5PstjKkfMWISQeN4Ztql/ufs7E+CQHPP9TmNVUHRaqFUKfvOUdgrpTE9F6auCs58QzPkr93lwnKgF5/Hi4Blwzm/indTrIHpGKYzY5XIjsRHMm0sAAIBtuG7tNDxdAACAHblu7QQAANg/aCcAAEAZaCcAAEAZaCcAAEAZaCcAAEAZaCcAAEAZaCcAAEAZaCcAAEAZaCcAAEAZaCcAAEAZaCcAAEAZaCcAAEAZi88BAACgBPxOAACAMv4/NBdzujkiBH8AAAAASUVORK5CYII=" alt="" />

可以看到,jsonp实现上是一种远程JS方法的调用,客户端发起一个HTTP请求,这通过callback参数(一串随机数)来区别多个客户端,每个客户端的请求callback都是不同的,它们由服务器端处理数据,再通过callback随机数去为指定客户端返回数据。

感谢您的阅读!

回到目录

WebApi系列~在WebApi中实现Cors访问的更多相关文章

  1. [.NET WebAPI系列01] WebAPI 简单例子

    [源] 来自微软WebAPI官方视频,Introduction to the ASP.NET Web API --Uniform Interface -- Demo-Using convention ...

  2. 在WebApi中实现Cors访问

    Cors是个比较热的技术,这在蒋金楠的博客里也有体现,Cors简单来说就是“跨域资源访问”的意思,这种访问我们指的是Ajax实现的异步访问,形象点说就是,一个A网站公开一些接口方法,对于B网站和C网站 ...

  3. [.NET WebAPI系列03] WebAPI Controller 中标准CRUD方法

    [因] WebAPI的Controller中,一般都是下面四种方法: 对应于数据操作是我们通常所说的CRUD. C对应post,R对应Get,U对应Put,D对应Delete. 直接模仿VS 2012 ...

  4. [.NET WebAPI系列02] WebAPI 中的HTTP通信

    [前言] 本节用于承上启下,通过第一节了解的WebAPI的基本语法,Controller CRUD方法的基本格式: 但很多场合,第一节中的Web API Controller方法返回的信息 过于简单, ...

  5. WebApi系列~安全校验中的防篡改和防复用

    回到目录 web api越来越火,因为它的跨平台,因为它的简单,因为它支持xml,json等流行的数据协议,我们在开发基于面向服务的API时,有个问题一直在困扰着我们,那就是数据的安全,请求的安全,一 ...

  6. WebApi系列~实际项目中如何使用HttpClient向web api发异步Get和Post请求并且参数于具体实体类型

    回到目录 本讲比较实际,在WEB端有一个Index和Create方法,用来从web api显示实体列表数据和向api插入实体对象,这就是以往的网站,只不过是把数据持久化过程放到了web pai上面,它 ...

  7. WebApi系列~目录

    回到占占推荐博客索引 写了这个系列的文章不少了,也应该为大家写个目录了,最近很刮了很多SOA的风,很多企业都将自己的系统进行分割,通常是按模块进行拆分,为这个模块提供统一的接口提供业务服务,这不紧可以 ...

  8. ASP.NET MVC & WebApi 中实现Cors来让Ajax可以跨域访问 (转载)

    什么是Cors? CORS是一个W3C标准,全称是"跨域资源共享"(Cross-origin resource sharing).它允许浏览器向跨源服务器,发出XMLHttpReq ...

  9. C#进阶系列——WebApi 跨域问题解决方案:CORS

    前言:上篇总结了下WebApi的接口测试工具的使用,这篇接着来看看WebAPI的另一个常见问题:跨域问题.本篇主要从实例的角度分享下CORS解决跨域问题一些细节. WebApi系列文章 C#进阶系列— ...

随机推荐

  1. Python 第三天 文件操作(2)

    文件操作 操作文件时,一般需要经历如下步骤: 打开文件 操作文件 一.打开 文件句柄 = file('文件路径', '模式') 注:python中打开文件有两种方式,即:open(...) 和  fi ...

  2. nginx搭建笔记

    1. nginx安装 Env: Mac OS 10.10 Yosemite pcre: http://pcre.org/ $tar -zxf pcre-8.34.tar.gz $cd pcre-8.3 ...

  3. Redis第二篇(Redis基本命令)

    -x     从标准输入读取一个参数 such as: echo –en “shaw” |./redis-cli –x setname == set name shaw -r     重复执行一个命令 ...

  4. SpringMVC常用注解實例詳解3:@ResponseBody

    我的開發環境框架:        springmvc+spring+freemarker開發工具: springsource-tool-suite-2.9.0JDK版本: 1.6.0_29tomcat ...

  5. bower

    1. bower介绍 Bower 是 twitter 推出的一款包管理工具,基于nodejs的模块化思想,把功能分散到各个模块中,让模块和模块之间存在联系,通过 Bower 来管理模块间的这种联系. ...

  6. 算法入门笔记------------Day4

    1.WERTYU 输入一个错位后敲出的字符串,输出打字员本来想打出的字 #include<stdio.h> char *s="`1234567890-=QWERTYUIOP[]\ ...

  7. [UCSD白板题] Points and Segments

    Problem Introduction The goal in this problem is given a set of segments on a line and a set of poin ...

  8. Inno setup定制安装界面

    Innosetup功能很强大,可以通过它提供的Wizard接口来定制界面,但我对PASCAL语言不熟悉,也不清楚通过那种接口可改动的范围有多大,最后做出来的效果是否好,所以选择了通过一个DLL来实现我 ...

  9. 未能从程序集“System.ServiceModel, Version=3.0.0.0问题解决

    在Windows Server 2008中的IIS服务器中部署WCF服务程序时,通过浏览器访问报出如下错误: 未能从程序集“System.ServiceModel, Version=3.0.0.0, ...

  10. [Leetcode][JAVA] Binary Tree Level Order Traversal

    Given a binary tree, return the level order traversal of its nodes' values. (ie, from left to right, ...