是否有.NET的Rhino JavaScript引擎的一个端口 [英] Is there a port of the Rhino JavaScript engine for .NET

查看:182
本文介绍了是否有.NET的Rhino JavaScript引擎的一个端口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在一家公司,有Java和应用程序的.NET实现。该应用程序允许使用脚本处理和业务规则的最终用户定制。使用 Rhino引擎的Java版本的支持JavaScript的。在.NET应用程序所需的VBScript。我想这样做使用.NET类似的东西,但我会preFER使用JavaScript。我已经搜查,但我有一个很难找到任何类似犀牛,将.NET运行时内工作。做任何你知道或.NET中使用JavaScript引擎有经验吗?

I worked for a company that had both Java and .NET implementations of an application. The app allowed for end-user customization of processing and business rules using scripts. The Java version supported JavaScript using the Rhino engine. The .NET app required VBScript. I would like to do something similar using .NET, but I would prefer to use JavaScript. I have searched but I am having a hard time finding anything like Rhino that will work within the .NET runtime. Do any of you know of or have experience using a JavaScript engine in .NET?

推荐答案

您应该使用的 JScript中 - 微软的JavaScript实现,这是一个完整的.NET语言

You should probably use JScript - Microsoft's implementation of JavaScript, which is a full .NET language.

编辑:原来问题是一个<一个href="http://stackoverflow.com/questions/172753/embedding-javascript-engine-into-net-c">duplicate.一些具体的建议:使用管理的JScript 或使用 MSScriptControl.ScriptControlClass JScript中模式。

it turns out the question is a duplicate. Some specific suggestions: use Managed JScript, or use MSScriptControl.ScriptControlClass in JScript mode.

这篇关于是否有.NET的Rhino JavaScript引擎的一个端口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆