Skip to main content

All Questions

Tagged with
0 votes
1 answer
134 views

How to get a runtime context, when exection a script on the DLR scripting host?

Currently I'm working in a case study to integrate IronRuby into one of our core products. The exection of scripts in only possible in a synchronous manner, so I plan to execute the scripts in threads ...
Nico's user avatar
  • 1,594
1 vote
0 answers
87 views

IronRuby / IronPython in the same project?

I've been trying to build and application that utilizes both IronRuby and IronPython, but I keep running into reference errors with the shared DLLs, specifically Microsoft.Scripting.dll. I've come to ...
Wonko The Sane's user avatar
1 vote
0 answers
243 views

IronPython and IronRuby vs Javascript in VS2010

I am very intrigued with python and ruby for scripting languages. I am using the visual studio IDE and am gearing towards javascript for my scripting in web based applications, namely databasing sites ...
Spencer Hire's user avatar
0 votes
1 answer
630 views

How to get a DLR representation from C#?

Is there a generic method of converting a Dynamic Language Runtime (DLR) object into a string representation? For example, here is an example where obj is checked for a couple of specific types (...
Doug Blank's user avatar
  • 2,309
2 votes
2 answers
90 views

How can I use the IronLanguages' Tools without buying VS?

IronRuby's "Tools" pack looks like a really attractive IDE to me, except for the fact that I need to buy Visual Studio to use it. Is there a way around this?
Casey Chow's user avatar
  • 1,814
4 votes
1 answer
321 views

Is it possible to use IronPython and IronRuby side by side in the same Application?

I get a warning in Visual Studio when I reference the latest version of Microsoft.Scripting (the one included with IronPython). Is it possible to deploy / use them side by side in the same ...
ScArcher2's user avatar
  • 87.3k
2 votes
1 answer
708 views

Embedding both IronRuby and IronPython

I am trying to run both ironruby and ironpython at the sample application. I am getting an exception - Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by ...
Yosi's user avatar
  • 2,976
2 votes
1 answer
1k views

Is this the simplest way to print 'Hello World' using PowerShell from C#?

Console.WriteLine( PowerShell .Create() .AddScript("'Hello from PowerShell'") .Invoke()[0] ); Here are IronPython and IronRuby Python.CreateEngine() .Execute("print 'Hello ...
Doug Finke's user avatar
  • 6,823
1 vote
2 answers
589 views

IronRuby, IronPython, or Something Else?

I am looking to build a set of dynamic scripts, stored in a table, that will act as business rules against my EF model. In the past, I was inclined to use IronRuby or IronPython when thinking about ...
Benny's user avatar
  • 3,917
2 votes
3 answers
785 views

DLR Scripting within Silverlight 4 Application

I would like to add some scripting support to a Silverlight 4 application that I'm working on. I have the latest stable releases of both IronRuby and IronPython installed on my machine with Visual ...
Chris Pietschmann's user avatar
7 votes
3 answers
674 views

Making the Case for IronRuby and IronPython

I guess everyone has already heard the news about some key developers leaving the Dynamic Languages team due to what they perceive as waning support for Dynamic Languages at Microsoft. I'm quite fond ...
Mhmmd's user avatar
  • 1,484
12 votes
3 answers
4k views

Would you recommend Iron Ruby, Iron Python, or PowerShell for making a C# application a script host?

Would you recommend Iron Ruby, Iron Python, or PowerShell for making a C# application a script host? After some quick tinkering, right now I'm leaning towards powershell for two main reasons (note ...
Evan's user avatar
  • 4,560
2 votes
1 answer
694 views

Using IronRuby or IronPython to modify a list of C# objects

If I had a list of objects eg. List<Foo> where Foo has a couple of properties, could I then create one or more ironruby or ironpython scripts that run for each row. Here is some pseudo code: ...
Schotime's user avatar
  • 16k
8 votes
1 answer
484 views

Is it possible to host the .Net DLR in an "idiot-proof" sandbox?

I would like to host the Dynamic Language Runtime (DLR) in such a way that users who run arbitrary scripts in it cannot bring the process down? The DLR hosting spec describes how to host the DLR in a ...
blueling's user avatar
  • 2,013
8 votes
1 answer
660 views

How to use IronRuby or IronPython together with c# in Web/Windows Form?

I am very interesting in the dynamic language runtime of .net, and saw IronRuby/IronPython is built on top of it. I cannot find some example which utilize the dynamic of Ruby/Python from within c#, ...
ccppjava's user avatar
  • 2,615

15 30 50 per page