My C++ articles for MSDN Magazine
How does C++ fit in the “all in the cloud” meme we hear non-stop these days? Are C++ developers staring at a scenario where we need to use other languages just to connect to the “cloud” and consume web services? If you are increasingly staring at this scenario and wondering what options exist out there, then I have some great news for you.
The C++ team is investing in a modern C++ based library for connecting C++ to cloud services. This project, called the C++REST SDK (code-named Casablanca) allows a C++ developer write modern C++ code (C++11) and connect their apps to any REST-based cloud service. More details on C++REST SDK are here and you can get the bits here.
If you are interested in learning how to connect C++ applications to the cloud, I have written an article for MSDN Magazine. In the article, published in the August edition of the magazine, I discuss how to upload a file to Dropbox using C++REST SDK and the Dropbox REST-based endpoint. The sample is a Windows desktop application using MFC and illustrates how one can integrate C++REST SDK with little effort in existing codebases that need to communicate to cloud services.
If this excites you, I must say that is not all. The September edition, due shortly, will show how to integrate C++REST SDK in Windows Store applications.
I am currently exploring options to build a Linux based application and will write an article once I am done with it.
So, what is the big deal in all of this? Well, all of the client code that talks to Dropbox in my samples is written using standard C++ and remains exactly as-is across my samples, barring minor changes. Now, is that not exciting enough to dip your toes in C++REST SDK?
Stay tuned for more!
-Sridhar