New Post: The type initializer for...
Dear ClearScript. Two solutions are feasible in my project. Thank you very much. ps. I'm using VS2010, I must find the *.dll from the nuget or otherway. would you please maintain a official package?
View ArticleNew Post: Debugging with Eclipse
Hi ClearScripts, I try to find out how to debugging with Eclipse. The setup works fine and the output window in Eclipse shows me information like this:> Received from Chrome: Type: connect...
View ArticleNew Post: Debugging with Eclipse
Hi Torsten, You can use the Project Explorer window in Eclipse to open loaded scripts and set breakpoints. There's no way to write your own text to the Communication console, but you can use the...
View ArticleNew Post: How do I catch an exception if my script has an error
Hi, My code: Imports System.Xml Imports Microsoft.ClearScript Public Class WebForm1Inherits System.Web.UI.Page Dim xml As XmlDocument = New XmlDocument Dim engine As Windows.JScriptEngine = New...
View ArticleNew Post: Does ClearScript use CodeDom
Does ClearScript use CodeDom where assemblies cannot be unloaded or is it a true scripting component like MS Script Control ?
View ArticleNew Post: How do I catch an exception if my script has an error
Greetings! To prevent Visual Studio from breaking into the debugger in this situation, go to "DEBUG" -> "Exceptions..." and uncheck both boxes to the right of...
View ArticleNew Post: Marshalling/Proxying between V8 and .Net
Hey guys, first off this project is fantastic. I'm really surprised by the ease of use here. My main question is that of performance and best practices. Probably not a one-sentence answer, is there any...
View ArticleNew Post: How do I catch an exception if my script has an error
Thanks it worked like a charm! Truly awesome project which was long due from Microsoft for dotNet developers.
View ArticleNew Post: Does ClearScript use CodeDom
Is it a true scripting component like MS Script Control ? Can it be used in a 64-bit ASP.NET app ? I think it uses COM Interop and Reflection, do these cause memory leaks in the long run, etc ? I am...
View ArticleNew Post: Does ClearScript use CodeDom
Hello! Based on your earlier question in another thread, we'll assume that you're considering using ClearScript with JScript/VBScript rather than V8. If that's correct, then yes, ClearScript uses the...
View ArticleNew Post: Marshalling/Proxying between V8 and .Net
Hi Eric, Thanks for your kind words! Probably not a one-sentence answer, is there any documentation on how marshalling between the runtimes works so that I don't do something really terrible? ...
View ArticleNew Post: Does ClearScript use CodeDom
Hey guys! Thanks for the prompt replies and lovely support! Based on your answer I guess first thing I have to do is not use VBScript and JScript so .NET facilities like COM Interop and Reflection...
View ArticleNew Post: Dynamic properties added to DynamicObject are undefined
Hi, First, thanks again for an amazing project. It seems that dynamic properties added to a DynamicObject are not handled correctly. class MyDynamicObject : DynamicObject { private...
View ArticleNew Post: Dynamic properties added to DynamicObject are undefined
Hi Ron, To provide scriptable access to the members of a dynamic host object, ClearScript requires that the object provide a correct implementation of GetDynamicMemberNames. In your example, it could...
View ArticleNew Post: Performance Improvements
Hi, performance is really important in our application. That's why we switched from Jurassic to ClearScript. Now we have much better results, but I still found some places in ClearScript code, that...
View ArticleNew Post: Performance Improvements
Hi Libor, That sounds great! Please feel free to fork the code and add your changes. And thanks for your positive feedback! Cheers!
View ArticleNew Post: Performance Improvements
Hi, I've commited updates in the new created fork. I hope, it will be usefull ;-) Libor.
View ArticleNew Post: Does ClearScript use CodeDom
Hello again shripaldalal! Thanks for the detailed description of your scenario. It sounds like JScript/VBScript should work just fine, and yes, both engines support 64-bit processes. Thread affinity...
View Article