New Post: Long/Int64 .NET Data types
Thank you for the workaround. For those that may run into this issue I was able to change the long to a double: JScriptEngine engine = new JScriptEngine(); engine.Script.bigNumber =...
View ArticleNew Post: Date marshalling
JavaScript comparisons can't be redefined or overloaded to operate meaningfully on host objects. This is good to know. I wont waste any more time trying to find a way to manipulate the JavaScript...
View ArticleNew Post: using JSON.parse in a script
Hi, Thanks ! What is the flag I need to enable to use this feature ?
View ArticleNew Post: Using ClearScript. WebApplication problem
any feedback, have you reproduced and, finally, solved the problems? Thanks a lot.
View ArticleNew Post: Using ClearScript. WebApplication problem
Hi niconico49, Sorry we didn't make this clear. Yes, we reproduced the issue, and in our case the problem was permissions. The assemblies were in the right place but the application pool identity...
View ArticleNew Post: using JSON.parse in a script
Hello! The new flag is WindowsScriptEngineFlags.EnableStandardsMode. It enables the JSON object as well as other, less prominent standards compliance improvements. Good luck!
View ArticleNew Post: Requirejs implementation
Hi, Thanks for creating this excellent library. I am attempting to get the requirejs implemententation to work. My code is as follows. engine.Script.moduleLoader = new ModuleLoader(engine); string...
View ArticleNew Post: Requirejs implementation
I think I may have found a solution for First Chance Exception: RuntimeBinderException Message: 'System.Dynamic.DynamicObject' does not contain a definition for...
View ArticleNew Post: Requirejs implementation
Hello AustinDimmer! We can't reproduce the exception you're seeing. Can you tell us more about your environment?​What version of Windows are you using, including the SKU, x64 vs. x86, etc.?What version...
View ArticleNew Post: Requirejs implementation
Hi again,​ In my case the ModuleLoader was defined in a class library project that the main executable referenced, so I think this was the reason the exception was thrown.​ That doesn't seem likely. If...
View ArticleNew Post: Requirejs implementation
Thanks for the quick answer. What version of Windows are you using, including the SKU, x64 vs. x86, etc.? Windows 8.1 x64 What version of Visual Studio are you using? Is it Visual Studio Express?...
View ArticleNew Post: Requirejs implementation
Hi AustinDimmer! You code looks fine, although you shouldn't need this line: engine.Execute(@"moduleLoader.LoadModuleAsync(this, 'jsdom', jsdomPath);");You shouldn't need that because the require call...
View ArticleNew Post: Requirejs implementation
I've been looking into the context thing and I am having some progress. I found a decent example at the following urlhttps://stackoverflow.com/questions/19279196/context-and-nested-modules-in-requirejs...
View ArticleNew Post: Requirejs implementation
Hello again! We've investigated this some more, and it turns out that the RuntimeBinderException is absolutely not a concern. It is thrown and handled internally within the C# Runtime Binder. In other...
View ArticleNew Post: Requirejs implementation
Hello, I didn't known jsdom :) The sound nicer than using phantomJS in order to generate page for...
View ArticleNew Post: The type initializer for...
hello, i have this script:engine.AddHostObject("lib", new HostTypeCollection("mscorlib", "System.Core")); this script will be ok in a ConsoleApplication.exe. but if i write this code in mvc and deploy...
View ArticleNew Post: Requirejs implementation
Hi Guillaume, If you need to run existing JavaScript code that requires XMLHttpRequest, the best available option is to implement (the required portions of) XMLHttpRequest on top of something like...
View ArticleNew Post: The type initializer for...
Greetings zestyzeng! We believe this issue is fixed in ClearScript 5.3.11. Can you give that version a try? If not, you can work around this issue (and slightly improve your application's performance)...
View ArticleNew Post: Requirejs implementation
It turns out that the jsdom dependencies on Node are going to make it impractical for me to use jsdom to get the functionality that I need. I could not get jsdom to load into ClearScript so I will now...
View ArticleNew Post: Requirejs implementation
AustinDimmer, thank you for your kind words and for giving ClearScript a try!
View Article