C++ REST SDK 1.4.0

Rating:        Based on 4 ratings
Reviewed:  3 reviews
Downloads: 4442
Change Set: 5606cc69e16a
Released: Dec 10, 2013
Updated: Dec 10, 2013 by stevetgates
Dev status: Beta Help Icon

Recommended Download

Application C+ REST SDK for Visual Studio 2013
application, 19808K, uploaded Dec 10, 2013 - 3078 downloads

Other Available Downloads

Application C++ REST SDK for Visual Studio 2012
application, 27632K, uploaded Dec 10, 2013 - 1364 downloads

Release Notes

Do you like having to mess with setting up header file includes, library, and dll paths? Consider trying out using our Nuget package instead of our MSI. Whether you target desktop, XP, Windows store, Windows Phone all you have to do is just reference the package and you are ready to go.

Please note XP and Windows Phone 8 development are only supported with Visual Studio 2012.

In addition to the regular bug fixing this release includes the following:
  • Json performance improvements, 3x to 4x improvements for parsing, 2x to 3x for serialization. With more improvements coming in future releases.
  • Added line/column information for Json parsing.
  • Added timeout options to http_listener - only implemented on Windows so far.
  • Added XP and Windows Phone 8 support to our Nuget package for VS 2012.
  • Added a new http_listener sample CasaLens.
  • Added project files for samples for VS 2013.

Reviews for this release

The release is stable with few issues, an all-around great product. This is generally a terrific framework. I've used this extensively to access and build REST Web Services in c++. It's lightweight and provides access and control to the inner workings of Web Services. However, Casablanca is not for novice c++ developers, or for people who build applications by Frankensteining code fragments together. There is sufficient documentation for advanced c++ developers, but there isn't enough documentation to find exactly what you need in a specific situation. You will need to build on the examples provided to apply this to a specific solution. A+.
by drloko on Feb 5, 2014 at 6:07 AM
I like the thinking behind this library. But I ran into multiple problems trying to build the BingRequest sample using Visual Studio 2012. First, on 64bit Windows7 the path to the Rest SDK's registry entry in the .vcxproj file was wrong. It needed "Wow6432Node" in it. Second, CppRest110.props used "110" instead of "120" in the path. Once I fixed those I ran into link errors whereby some PPL functions could not be resolved. E.g. 1>bingrequest.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) long __cdecl pplx::details::platform::GetCurrentThreadId(void)" (__imp_?GetCurrentThreadId@platform@details@pplx@@YAJXZ) referenced in function "public: void __thiscall pplx::details::_CancellationTokenState::_DeregisterCallback(class pplx::details::_CancellationTokenRegistration *)" (?_DeregisterCallback@_CancellationTokenState@details@pplx@@QAEXPAV_CancellationTokenRegistration@23@@Z) Googling on this has not lead me anywhere useful yet. :-(
by jimbolaya on Jan 30, 2014 at 9:43 PM
Hi jimbolaya, Sorry you are having difficulty here. I'm having trouble understanding your issue with the registry entry needing to be "Wow6432Node". Can you email me (stgates at Microsoft.com) or start a discussion with the full details? For the second part I think we have some version number confusion going on. First of all the version "110" does refer to Visual Studio 2012 so you shouldn't be changing the props file to use "120". "120" is for Visual Studio 2013. Part of the confusion might be that right now samples are included for both Visual Studio versions 2012 and 2013 in our MSI regardless of which one you install. In the future we will try to clean this up. Steve
Reply by stevetgates (N/A) on Feb 1, 2014 at 1:21 AM
#1. documentation -- It's not easy to understand how features (http_listener) were introduced/re-introduced etc -- no good tutorials #2. lack of javascript engine integration -- that would be a great feature to have
by rambal on Jan 6, 2014 at 10:55 PM