Purpose
These topics demonstrate how to connect your app to a web service. Note that different APIs are provided for HTTP request operations, depending on which language you are coding with; HTTPClient for C#, and IXHR2 for C++.
In this section
| Topic | Description |
|---|---|
|
Use the IXMLHTTPRequest2 interface to send HTTP GET and POST requests to a web service using C++. | |
|
Use the HttpClient class in the System.Net.Http namespace to send a GET request to a web service and retrieve the response. | |
|
Use the HttpClientHandler class with the HttpClient class in the System.Net.Http namespace to send a GET request to a web service and retrieve the response. | |
|
Secure HttpClient connections to a web service. |
Developer audience
Developers using VB/C#/C++ and XAML interested in creating Windows Store apps that connect to a web service
Related topics
- Other resources
- Adding support for networking
- Connecting to a web service (Windows Store apps using JavaScript and HTML)
- How to configure network isolation capabilities
- How to set background connectivity options
- Troubleshoot and debug network connections
- Reference
- HttpClient
- HttpClientHandler
- IXMLHTTPRequest2
- System.Net.Http
- System.Net.Http.Headers
- Samples
- ControlChannelTrigger HttpClient sample
- HttpClient Sample
Build date: 11/29/2012