Quantcast
Channel: ClearScript
Browsing all 2297 articles
Browse latest View live

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 Article


New 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 Article


Created 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

New Post: Setting Decimal property of Object [V8]

Thank you very much for the detailed explanation. That worked great.

View Article

Commented 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


New 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 Article

New 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 Article

New 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 Article


New 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 Article


New 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 Article

New 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 Article

New 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 Article

Commented 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


New 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 Article

Commented 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


New 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 Article

New 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 Article


New Post: Using ClearScript. WebApplication problem

Update to above thread. I am using Azure to deploy. It is working fine there.

View Article

New 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 Article

Commented 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
Browsing all 2297 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>