如何在 Web/Windows 窗体中将 IronRuby 或 IronPython 与 C# 一起使用?

发布于 2024-09-04 08:29:26 字数 276 浏览 3 评论 0原文

我对 .net 的动态语言运行时非常感兴趣,并且看到 IronRuby/IronPython 是构建在其之上的。我找不到一些在 c# 中利用 Ruby/Python 动态的示例,而这正是我真正感兴趣的。

我看到了 Microsoft 的视频,该视频使用 c# 4 的动态从 Silverlight 中调用 JavaScript,只是想知道以 Web/Windows 形式调用 Ruby/Python 有多容易?我知道 Umbraco 在某处有一个 python 实现,这是可能的,但不确定如何实现?

谢谢。

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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

野侃 2024-09-11 08:29:26

任何 DLR 语言都可以非常轻松地从 .NET 代码调用。我所说的 .NET 代码是指 Web 表单、Win 表单、WPF 或其他任何东西...任何有 .NET 代码和 DLR 的地方都可以调用动态语言代码。

看一下我关于使用 DLR 扩展 .NET 应用程序的文章,它可能会让您更清楚:http://www.ironshay.com/post/make-your-application-extendable-using-the-dlr.aspx

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文