I have downloaded and gotten the "CefSharp.MinimalExample-master" project to work (somewhat).It uses binaries: "CefSharp.Core.3.29.0-pre0" and "CefSharp.Wpf.3.29.0-pre0".I had developed a web site previously which relies heavily on ajax calls to the server.When I navigate to the web site directly through Chrome (or any major browser) everything works as normal (as you might expect).When I run the Cef-WPF application I get a parse error on the $.ajax request. It looks like a JSON/JSONP-type parse error. In any case, the call never reaches the server. I have confirmed that the URL is identical in both cases (even though alert works differently in WPF and I have to adjust for a maximum length and account for "&"'s getting dropped).Also, I cannot seem to get script debugging to work in the CefSharp browser. I have tried to copy over the latest libcef.dll but it still doesn't work.
I was wondering 1) if anyone else has trouble calling ajax from Cef, 2) other than getting the latest libcef, what can I do to enable debugging?
Thanks,Ken Rubin
Hi Jorn,Thanks for the information. I have installed that client application and it works (i.e. the ajax call goes through).
It does not, however, let me bring up the debugger window. I tried pressing F12 (which I normally do when using Chrome) and SHIFT+CTRL+J. Neither produced any result.
I do see the file: "devtools_resources.pak", in the "Release" folder of the client package I downloaded. However, I do not recognize the ".PAK" extension and don't know if there is something I need to do with that file to "activate" it. I do see "debug.log" and "console.log" files (also in the "Release" folder), but I'm looking for an interactive debugger equivalent to pressing F12 in Chrome. Does that exist? I am quite new to web development so I am not sure if there are other debugging options available.
By the way, when I said I copied over the libcef.dll file into my project I did forget to mention that I also copied over the latest versions of all the referenced dlls--so that they would be in phase with each other.Lastly, when I downloaded the file from the site you referenced, I installed the latest win-64 version.
I literally just started with this project yesterday and so am not beholden to any legacy version. I'd like to go forward with the latest and greatest version CEF has to offer.
To summarize: does CEF offer a GUI debugger? If so, do I have to do something to the "devtools_resources.pak" files to make it work?