Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In this Stack Overflow question:

I learned that Jscript is not dead after all. Yay!

But what is JScript.NET good for?

According to this article, you can use it to provide C# with an Eval function. That's neat, but it seems like kind of an edge case.

If you were after first-class scripting capability, doesn't PowerShell fit the bill?

share|improve this question
Man, this makes me really wish I had Visual Studio 2010 at work. I'm stuck with 2008 so I can't try out some JScript :( – Jetti Feb 27 '12 at 21:17
up vote 2 down vote accepted

From JSCript's Wikipedia:

JScript .NET can be used for ASP.NET pages and for complete .NET applications, but the lack of support for this language in Microsoft Visual Studio place it more as an upgrade path for classic ASP using classic JScript than as a new first-class language.

JScript.NET would allow one to write a server side website in something that resembles Javascript. It can allow what the *nix community has with Node.js (server side javascript) on Windows servers (yes I know that there is a Windows port of Node).

If you were after first-class scripting capability, doesn't PowerShell fit the bill?

The thing is, JScript.Net creates an executable file. So you could write a full-fledged program in it and deploy it rather than just a script with PowerShell. Granted, I don't know of anybody who would want to do that, but apparently Microsoft believes there is at least a handful that do.

share|improve this answer
Wikipedia's article appears to be a bit out of date. – Robert Harvey Mar 1 '12 at 16:22
@RobertHarvey yes, it most certainly does. None the less, you are still able to create executables using JScript, as pointed to in the MSDN documentation you linked to – Jetti Mar 1 '12 at 16:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.