Talk:Active Scripting

From Wikipedia, the free encyclopedia

This article is within the scope of Computing WikiProject, an attempt to build a comprehensive and detailed guide to computers and computing. If you would like to participate, you can edit the article attached to this page, or visit the project page, where you can join the project and/or contribute to the discussion.
??? This article has not yet received a rating on the quality scale.
??? This article has not yet received an rating on the importance scale.

Regarding the following in the original article: "Originally, the .NET Framework had a scripting technology of its own, and the interfaces to that were also available via Active Scripting, allowing even .NET-unaware applications to be scripted using .NET languages. However, that entire technology was deprecated in version 2.0 of the Framework, leaving no clear upgrade path for applications desiring script support."

The .NET framework counterpart of Active Scripting was named VSA (Visual Studio for Applications), and is available in the Microsoft.Vsa namespace. VSA makes it possible to parse JScript.NET and Visual Basic code, add host live objects, and run it. However, VSA does not support adding code to a running engine, which is often used in Active Scripting to execute script dynamically as it is received. The interface to make VSA engines available via Active Scripting was under consideration, but seems to have been dropped, maybe because of this limitation.

The current upgrade path is VSTA (Visual Studio Tools for Applications, http://msdn.microsoft.com/vstudio/extend/vsta/), a richer scripting environment including macro recorder, code editor with IntelliSense, debugger and form designer. Unfortunaltely VSTA is not included as part of the framework and adds royalties to applications taking advantage of it.

Another upgrade path planned for later seems to be the Dynamic Language Runtime, which is being added to the .NET platform to enable more dynamic languages, and bringing real scripting capabilities to .NET. (http://blogs.msdn.com/hugunin/archive/2007/04/30/a-dynamic-language-runtime-dlr.aspx)

PhMajerus 16:58, 13 April 2007 (UTC)