-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Community Blog Posts and Samples
The Casablanca team is very excited to see the support we have received from the community around this project. Below are links to blog posts written by various contributors. These posts provide some great examples and tips on using the C++ REST SDK.
-
Targeting Android with the C++ REST SDK by Steve Gates: Shows how to use the C++ REST SDK with Visual Studio 2015 to target Android.
-
C++ REST SDK WebSocket client by Kavya Kotacherry: _"With the C++ REST SDK 2.1 release, we are excited to announce support for client side WebSockets across multiple platforms (Linux, OSX, iOS, Windows Desktop and Store). This is a relatively new protocol, providing full duplex communication over TCP."
-
How to statically link the C++ REST SDK (Casablanca) by Katy: Illustrates how to rebuild and use the C++ Rest SDK for static linking on Windows.
-
Using the Microsoft C++ REST SDK by Gaston Hillar on Dr. Dobb's: " In this first article in a two-part series on this C++ REST SDK, I explain how you can use this SDK to consume REST services. In the next article, I'll show how to use the SDK to retrieve and send JSON documents."
-
C++ REST SDK in Visual Studio 2013 by Marius Bancila: "The following example shows how to retrieve and display some JSON content. I’m querying google using its REST API."
-
Full-fledged client/server example using C++ REST SDK 1.1.0 by Marius Bancila: "In this post I will go a step further and develop a client-server application from scratch using version 1.1.0 of the SDK. This version features an HTTP listener implementation..."
-
Bringing RESTful Services to C++ Developers by Sridhar Poduri: "In this article I’ll show how to use the C++ REST SDK to build a simple Windows-based client application that uploads a file to Dropbox, along with a standard C++ class that supports OAuth."
-
Using the C++ REST SDK in Windows Store Apps by Sridhar Poduri: "In this article, I’ll discuss how the C++ REST SDK can be integrated within Windows Store apps."
-
Using Casablanca to consume a REST API by Nish Sivakumar: "This article quickly demonstrates a skeletal ASP.NET MVC 4 REST web service that is consumed by C++ code that uses Casablanca to do the four common HTTP operations - GET, POST, PUT, and DELETE. It also shows how to parse and create JSON, and also how to use the PPL extensions to write asynchronous code."
-
Showing progress for an HTTP download by Nish Sivakumar: "...you can read chunk by chunk and get a percentage based on the total size that you can get off the header. Here’s a code snippet that shows one way of doing this with PPL tasks"
-
Connection to Live with the C++ Rest SDK by Andy Rich: "This blog post will walk you through using the C++ REST SDK to connect your Windows Store apps to Windows Live services."
-
PVS-Studio analysis on the C++ REST SDK by Andrey Karpov :"This is a good code written in a contemporary style employing capabilities of C++11. We have checked it using our static code analyzer PVS-Studio and failed to find at least one significant bug..."