Scripting in .NET 2.0

  • Thread starter Thread starter Tim Wallace
  • Start date Start date
T

Tim Wallace

With the removal of Microsoft.Vsa from .NET 2.0, how is one supposed to
provide the functionality to allow users to write scripts that are then run
within, say, a C# client application?

Tim
 
With the removal of Microsoft.Vsa from .NET 2.0, how is one supposed to
provide the functionality to allow users to write scripts that are then run
within, say, a C# client application?

Tim

(a) Microsoft Scripting control (COM Interop).
http://www.devx.com/vb2themax/Tip/18773

(b) JScript.net eval method.
http://www.odetocode.com/Code/80.aspx

(c) XSLT - after all, it's Turing complete (evil grin).

(d) Compile C# into an assembly at runtime, then instantiate it.
http://www.codeproject.com/vb/net/DotNetCompilerArticle.asp
 
Back
Top