New Post: Using ClearScript. WebApplication problem
I tried above 2 suggestions, but it didn't work. I am running latest version of ClearScript.Manager i.e. 1.2.0.17920 Thanks
View ArticleEdited Issue: Dubugging in V8 not working as expected [61]
I can connect with the debugger, which gives me source code but does not stop on breakpoints. It does yield the source code so I am sure I am connected, but the breakpoints do not work. I have followed...
View ArticleCommented Issue: Dubugging in V8 not working as expected [61]
I can connect with the debugger, which gives me source code but does not stop on breakpoints. It does yield the source code so I am sure I am connected, but the breakpoints do not work. I have followed...
View ArticleNew Post: Using ClearScript. WebApplication problem
Hi again, A couple more things: Make sure those DLLs are not in the "bin" directory. If you're deploying to a server that doesn't have Visual Studio installed, it must have the Visual C++...
View ArticleNew Post: Serializing passed object
hii wrote a hosted function :public void myUpdate(string collectionName, DynamicObject entity) { //somehow serialize the object to json } engine.Execute("myObjdate({name:"hello"});And i didnt found any...
View ArticleNew Post: Serializing passed object
Check out Json.NET (http://james.newtonking.com/json), if your DynamicObject class is json-serializable all it takes is a JsonConvert.Serialize(entity) to get a JSON representation.
View ArticleNew Post: Using ClearScript. WebApplication problem
Did you try to resolve the dependencies with the AssemblyResolve event? I've described the procedure a few posts up in this same thread.
View ArticleNew Post: Serializing passed object
Another possibility, if your function has access to the script engine, might be to use its JSON object:publicvoid myUpdate(string collectionName, DynamicObject entity) { var json =...
View ArticleNew Post: Is the following thread concerning Server-Side execution still...
Hey guys, there was a thread that I had based some work off of, but there was some indication that some optimizations may be made in ClearScript to better help deal with some of these issues. Has...
View ArticleNew Post: Is the following thread concerning Server-Side execution still...
Hi Eric, ClearScript and V8 have not changed in terms of their basic architectures. However, ClearScript 5.4 includes a number of important changes for server-side usage, including fixes for memory...
View ArticleNew Post: Is the following thread concerning Server-Side execution still...
Cool, thanks for the fast responses. Can you elaborate any on "perfomance improvements for repeated execution"? I did read the release notes and I get the gist, but the details are somewhat cryptic to...
View ArticleNew Post: Is the following thread concerning Server-Side execution still...
Hi Eric, Can you elaborate any on "perfomance improvements for repeated execution"? Sure. The biggest performance improvement for V8 users affects repeated invocation of host methods. Let's say...
View ArticleNew Post: access indexer of a hosted object
I've run into this problem, too. I have tried to implement IList<> in the hopes that the object could then be indexed as an array in V8 script land: e.g. .NET public class NodeList :...
View ArticleNew Post: Is the following thread concerning Server-Side execution still...
Nice thanks for the info!
View ArticleCreated Unassigned: Issue with building ClearScript with V8 support [62]
Hi there,I just downloaded ClearScript-5.4.0.zip directly from CodePlex and tried to build it in order to run it with V8 support. However, I couldn't get past the point of building 32-bit version of...
View ArticleNew Post: Global window object
So another question in regards to simulating the window object in a browser: I have created a DynamicObject "window" which uses the GlobalMembers method which is great (access to location, screen,...
View ArticleNew Post: Global window object
Hi again, It sounds like you really want window to be the same as the global object, and that's very easy to set up: engine.Execute("window = this");Then you could simply expose your GlobalMembers host...
View ArticleCommented Unassigned: Issue with building ClearScript with V8 support [62]
Hi there,I just downloaded ClearScript-5.4.0.zip directly from CodePlex and tried to build it in order to run it with V8 support. However, I couldn't get past the point of building 32-bit version of...
View ArticleCommented Unassigned: Issue with building ClearScript with V8 support [62]
Hi there,I just downloaded ClearScript-5.4.0.zip directly from CodePlex and tried to build it in order to run it with V8 support. However, I couldn't get past the point of building 32-bit version of...
View Article