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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top