New Post: Setting Decimal property of Object [V8]
Hello. I'm trying to set a value to a decimal property of an object. Setting integer values works but for decimals "Error: Invalid property assignment" error thrown. Works FineMyObject.Price = 1...
View ArticleNew Post: Setting Decimal property of Object [V8]
Greetings! JavaScript numbers are floating-point and therefore not implicitly convertible to decimal (see here for more information). You can assign a decimal property as follows:...
View ArticleCreated Unassigned: 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: Setting Decimal property of Object [V8]
Thank you very much for the detailed explanation. That worked great.
View ArticleCommented Unassigned: 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: Cannot use Linq Where and Select Extension Methods
I am trying to get ClearScript to work with my a Linq data access Layer. I have unit of work object that exposes IQueryable of my various database entities. E.g. IQueryable<Project> I am trying...
View ArticleNew Post: Cannot use Linq Where and Select Extension Methods
Hello! ClearScript doesn't convert script functions to delegates automatically, but it provides an easy way to create a delegate that invokes a script function. Try something like this:...
View ArticleNew Post: Cannot use Linq Where and Select Extension Methods
This approach worked. Thanks for the example. The only problem with this approach is that it requires a priori knowledge of the predicates that will be used. This kind of defeats the purpose of...
View ArticleNew Post: Reference one compiled script from another
I have a situation where I want a large static base script included with all the runtime scripts I wish to execute. I don't want to compile this large script with each small script if possible. Is...
View ArticleNew Post: Reference one compiled script from another
Think I may have found my own answer...If I compile the common script and store it, then execute that compiled script each time before I execute the main script, that should do the trick right? I guess...
View ArticleNew Post: Cannot use Linq Where and Select Extension Methods
Hi again, Unfortunately ambiguity prevents automatic conversion of script functions to delegates, especially when generics are involved. For example, examining a JavaScript function gets us, at best, a...
View ArticleNew Post: Reference one compiled script from another
Hi Eric, Not sure what you mean by "referencing one script from another". As a script is executed, it may leave functions and/or data hanging somewhere off the global object, and subsequent scripts are...
View ArticleCommented Unassigned: 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: Global window object
I just wanted to say THANKS for this amazing project. I am also working on a private, .NET-based DOM implementation and was previously using another .NET engine for JavaScript and have recently...
View ArticleCommented Unassigned: 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: Global window object
Thanks, krisoye! GlobalMembers is an old Windows Script feature (see here) that ClearScript exposed early on when it supported only Windows Script engines, and then extended to V8 to achieve API...
View ArticleNew Post: Using ClearScript. WebApplication problem
Hello, I recently started using ClearScript. I have used ClearScript.Manager through Nuget package. I am using Visual Studio 2012. I could see 'ClearScriptV8-32'.dll', 'ClearScriptV8-64.dll',...
View ArticleNew Post: Using ClearScript. WebApplication problem
Update to above thread. I am using Azure to deploy. It is working fine there.
View ArticleNew Post: Using ClearScript. WebApplication problem
Hi offshoredevpune, A couple of suggestions: Make sure that the "Copy to Output Directory" properties for those DLLs are set to "Do not copy". For some reason mixed-mode and native modules just don't...
View ArticleCommented Unassigned: 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 Article