For more information on this sample, see the "Code sample" section of Introducing Cross- domain Request on MSDN.
This sample page takes a URL and does a get request. The Read button will call a method to output the response data if you choose to.
To properly demonstrate XDR, you should copy this page to a Web server on a different domain. You may also enable Internet Information Services (IIS) on your computer and host it locally from within C:\inetpub\wwwroot. For more information on installing IIS, search for "IIS" in Help and Support on the Start menu.
[Right-click in window to view the full source code.]
© 2009 Microsoft Corporation. All rights reserved. Terms of use.