Jeremy Foster | @codefoster Michael Palermo | @palermo4 06 | Networking and Web Services Jeremy Foster | @codefoster Michael Palermo | @palermo4
Module Overview XHR HttpClient WebSockets Azure Mobile Services Proximity and tapping Syndicated content
XHR
codeShow: Fetching Data with XHR
HttpClient
XHR versus HttpClient XHR is simple and easy XHR is in WinJS / HttpClient is in WinRT HttpClient is too and has the following advantages… ability to use cookies control over caching strong typed headers connection reusewi HTTP processing pipeline
codeShow: HttpClient
Web Sockets
codeShow: StreamSocket
Azure Mobile Services codefoster.com/codechat/005 API Management codefoster.com/codechat/007 Azure Mobile Services
codeShow: wams
Proximity and Tapping
Proximity Scenarios Near Field Communication (NFC) Connect devices Acquire content Exchange digital objects Near Field Communication (NFC) Device to device Device to smart tag
Tap Bluetooth or Wi-Fi Communicate
codeShow: Proximity
MSDN: Proximity
Syndicated Content
Syndicated Content Dominated by RSS and Atom Standard for generic lists of content items (news, blog posts, articles, etc.) Built right into WinRT
codeShow: Syndication
Summary XHR HttpClient WebSockets Azure Mobile Services Proximity and tapping Syndicated content