سؤال

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.

هل كانت مفيدة؟

المحلول

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

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top