New Post: Casablanca in windows phone runtime component
It's very interesting that you have done this -- we haven't done anything for WP8 support yet (on our radar, though). Please tell me more about how you did this and what problems you are running into!...
View ArticleNew Post: A problem with a proxy
In the office we are behind the proxy. I would like to understand why the following code works just fine, while the code without the explicit proxy specification times out:int _tmain(int argc, _TCHAR*...
View ArticleCommented Issue: Use buried headers in subfolder [5]
Requesting users to #include <json.h> is not a good idea as the header name is far from being unique.Please, use of buried headers and deploy all headers in dedicated subfolder, i.e. #include...
View ArticleCommented Issue: include/pch/stdafx.h [3]
Shouldn't the precopiled header file be placed under the "src" folder and not under the "include" folder? This seems to be a safer strategy for PCH files as to not accidentally deploy or include them...
View ArticleNew Post: A problem with a proxy
Found the last relevant reference to proxy problem:Old Casablanca Forum post link Apparently, there were no enhancements done since this was posted in old MSDN Forum?
View ArticleNew Post: A problem with a proxy
Tonko, You are right -- we did not spend as much time on proxy functionality as we had planned in this release. Sometimes, plans change, and we spent a couple of months focusing on getting Casablanca...
View ArticleNew Post: A problem with a proxy
Hi Tonko, By default the http_client (for desktop applications) uses WINHTTP_ACCESS_TYPE_DEFAULT_PROXY with WinHttp. This would pick up settings that are configured on the machine using netsh. If you...
View ArticleNew Post: A problem with a proxy
Hi Steve, my problem is that I can see proxy configuration when typing:netsh winhttp show proxy however, the code in the first post doesn't work without the line: web_proxy...
View ArticleNew Post: Where are the server-side features?
Hi, Were can I find the download of the incubation release of the server side features in the meantime? I have a couple of projects using them and I cannot load them in VS on new PCs (that don't have...
View ArticleNew Post: Where are the server-side features?
Hi Yiannis, The binaries for the server side features are still available in the 0.5 release of Casablanca. You can download them here. Keep in mind that some of those APIs have changed since that...
View ArticleNew Post: A problem with a proxy
Hi Tonko, Correct, the settings for the default proxy configuration with netsh can be set different for 32bit and 64bit on pre Windows 8, I know this is confusing :). Here is a blog post explaining. To...
View ArticleNew Post: A problem with a proxy
Steve, Yes, after also building Casablanca for x64 platform, my sample program works without any explicit proxy setup required.
View ArticleNew Post: Creating a json::value from a json string
I have a string "{"username": "xyz","password": "abc" }" How can I convert it to json::value? I found a way wherein I create a http_response with content-type "application/json" and body as the above...
View ArticleNew Post: Creating a json::value from a json string
How about using value parse static method:parse link
View ArticleNew Post: Where are the server-side features?
what extra info about the actors functionality component? I hope it would be public release soon.
View ArticleNew Post: Creating a json::value from a json string
I tried using it though I was unsuccessful. The above string is in std::string format so I converted it to istringstream for the parse method but it did not work for me!
View ArticleNew Post: Creating a json::value from a json string
parse() is definitely the way to go. Please take a look at our section on platform-independent strings, and take a look in the source for our unit tests, there are numerous examples of parsing strings...
View ArticleNew Post: Creating a json::value from a json string
I am escaping the "" characters at the start and the end. Also I tried using the conversion example. json::value x; x.parse(utility::conversions::to_string_t(MY_JSON)); where MY_JSON is the above...
View ArticleNew Post: Creating a json::value from a json string
OK, Please provide a larger snippet of code that you are trying to compile and we'll take a look at what is going wrong. Niklas
View Article