Questions tagged [ironjs]

IronJS is an ECMAScript 3.0 implementation built on top of the Dynamic Language Runtime from Microsoft which allows you to embed a JavaScript runtime into your .NET applications.

ironjs
Filter by
Sorted by
Tagged with
11 votes
4 answers
5k views

Information about IronJS

Can any one point out as where can I get some tutorials about IronJS and how to call a method written in IronJS from C# 4.0 Thanks C#4.0, IronJS
user avatar
5 votes
1 answer
581 views

How to invoke a function written in a javascript file from C# using IronJS

I just download the Iron JS and after doing some 2/3 simple programs using the Execute method, I am looking into the ExecuteFile method. I have a Test.js file whose content is as under function ...
learner123's user avatar
4 votes
3 answers
476 views

Anyone using IronJS yet?

I'm just wondering if there is anyone else using IronJS within their apps yet? IronJS is really awesome as it's JavaScript on the DLR. Personally, I've been waiting to be able to write both server-...
Chris Pietschmann's user avatar
3 votes
1 answer
365 views

Can't use the .length property with IronJS and ArrayObject

I am using IronJs's latest version (0.2.0.1) and my js scripts do not properly retrieve the length of an array that has been set to the js engine using an IronJs.Runtime.ArrayObject. However, my ...
Benoit Patra's user avatar
  • 4,445
3 votes
3 answers
1k views

IronJS / Twilio Browser Soft Phone

I'm creating a Fiddler extension that is simplifying my interaction with Twilio during development. I'm about to release it to the wild, but I would like one more feature before I do so. I'm able to ...
codeputer's user avatar
  • 2,026
2 votes
1 answer
253 views

IronJS CommonObject, are dynamic properties possible?

In IronJS, we have a custom object derived from CommonObject. We're wanting to intercept calls to undefined properties on the object, and provide dynamic responses. (This is required, as it is not ...
codinginthevoid's user avatar
2 votes
1 answer
658 views

IronJS: How to parse JSON(send as string parameter) to a method in JavaScript function

I am new to IronJS and facing difficulty parsing JSON in JavaScript method. My C# Code string jsonString = "{\"Name\": \"Ankur\", \"Sex\": \"Male\"}"; var o = new IronJS.Hosting.CSharp.Context(); o....
Ankur Nigam's user avatar
1 vote
1 answer
610 views

Predefined type CallSite is defined in multiple locations

I get errors from both build and website precompile on App Harbor that seem to originate from multiple versions of the C# dynamic assemblies. They both start with warnings that look like: 2>CSC : ...
kelloti's user avatar
  • 8,815
1 vote
1 answer
194 views

ironjs: returning objects to JS

Using Ironjs. I have a c# function registered as a JS function (via SetGlobal) It gets called , but I want to return a value to from that function. The value is an IEnumerable of CLR objects. Using ...
pm100's user avatar
  • 49.2k
0 votes
2 answers
125 views

How to evaluate a dynamic expression using IronJS?

I have an expression like "(((2+5)*1000)/((30-20)*7))" How can I evaluate the expression using IronJS from C#. The expected result is 100. I tried the top two rated answers described in How can I ...
priyanka.sarkar's user avatar