Export (0) Print
Expand All

Cloud and Web Programming in Visual C++

Visual Studio 2013

In C++, you have several options for connecting to the web and the cloud.

Windows Azure Mobile Services

Provides native APIs that you can use in Windows Store apps or Windows desktop apps to connect to Windows Azure Mobile Services. Although most of the examples on the website are in C#, you can also use C++. For more information, see Quickstart: Adding a mobile service using C++.

Live REST Interface

Provides REST endpoints that you can use in Windows Store apps, Windows desktop apps, or C++ Linux applications to connect to Live services such as SkyDrive, Outlook.com, and Skype. C++ apps use these endpoints directly rather than going through the Live SDK, which is for .NET apps only.

C++ REST SDK (Codename "Casablanca")

Provides convenient asynchronous HTTP wrapper methods that are designed for cross-platform compatibility and for use in desktop apps on operating systems back to Windows 7 and Windows Server 2012. You can also use these in Windows Store apps; however, for apps that target only Windows 8.1, we recommend that you use the Windows::Web:HttpClient class. The C++ REST SDK (codename "Casablanca") also provides helper classes that support REST calls and convert JSON data into C++ types. Although the SDK is included in , there is also an independently updated version on CodePlex that contains sample files such as live_connect.h, which provides helper methods for connecting to Live services.

Windows::Web::Http::HttpClient

A Windows Runtime HTTP client class modeled on the .NET Framework class of the same name in the System.Web namespace. HttpClient fully supports asynchronous upload and download over HTTP, and pipeline filters that enable the insertion of custom HTTP handlers into the pipeline. The Windows SDK includes sample filters for metered networks, OAuth authentication, and more.

IXMLHTTPRequest2 interface

Provides a native COM interface that you can use in Windows Store apps or Windows desktop apps to connect to the Internet over HTTP and issue GET, PUT, and other HTTP commands. For more information, see Walkthrough: Connecting Using Tasks and XML HTTP Requests.

Windows Internet (WinInet)

Windows API that you can use in Windows desktop apps to connect to the Internet.

Community Additions

ADD
Show:
© 2014 Microsoft