CrossDomainController.Bridge(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET