Using xhr() in Windows Store Apps

At times you may need to make cross-domain requests in your Windows store app. This can be done using the WinJS.xhr() function. The xhr() function is an easy to use wrapper over the traditional XMLHttpRequest object. This article introduces you with the xhr() function and many of its configuration options. It also illustrates how the xhr() function can be used to call ASP.NET Web API.

http://www.bipinjoshi.net/articles/07194061-3458-4b0b-963d-41fbcae2e826.aspx

 

No Comments