Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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#, which is what I realy interested.

I saw videos from Microsoft which call JavaScript from within Silverlight using the dynamic of c# 4, just wondering how easy it is to call Ruby/Python in web/windows form? I know that Umbraco have a python implementation somewhere, and it is possible, but not sure how?

Thanks.

like image 980
ccppjava Avatar asked Jun 04 '10 08:06

ccppjava


1 Answers

Any DLR language can be called from .NET code pretty easily. And by .NET code I mean web forms, win forms, WPF or whatever... anywhere there's .NET code and the DLR you can call dynamic language code.

Take a look at my post about extending .NET applications with the DLR, it might make this clearer for you: http://www.ironshay.com/post/make-your-application-extendable-using-the-dlr.aspx

like image 113
Shay Friedman Avatar answered Nov 05 '22 13:11

Shay Friedman