CrossDomainController.Bridge(String) Method

Definition

A page that, when hosted in an iframe, will accept postMessage messages from approved origins and will forward them as a same-domain ajax request to the runtime. This is needed for the IframeBridge transport in MobileServices.Web.js, as used by IE8-9.

[System.Web.Http.AllowAnonymous]
[System.Web.Http.HttpGet]
public System.Web.Http.IHttpActionResult Bridge (string origin);
[<System.Web.Http.AllowAnonymous>]
[<System.Web.Http.HttpGet>]
member this.Bridge : string -> System.Web.Http.IHttpActionResult
Public Function Bridge (origin As String) As IHttpActionResult

Parameters

origin
String

Origin to verify

Returns

System.Web.Http.IHttpActionResult

An System.Web.Http.IHttpActionResult representing the result.

Attributes
System.Web.Http.AllowAnonymousAttribute System.Web.Http.HttpGetAttribute

Applies to