Project Description

Javascript .NET integrates Google's V8 Javascript engine and exposes it to the CLI environment. Javascript .NET compiles (at runtime) and executes scripts directly from .NET code. It allows CLI objects to be exposed and manipulated directly from the executed Javascript.

Source Code on GitHub

The source code for this project is now hosted at GitHub. The code in the Subversion repository here is old. The discussion groups here are still used, but issues should be posted on GitHub.

Quick Start

To get started, please read this quick integration overview in the documentation section.

Sample "Hello World" running through Javascript

// Initialize a context
using (JavascriptContext context = new JavascriptContext()) {

    // Setting external parameters for the context
    context.SetParameter("console", new SystemConsole());
    context.SetParameter("message", "Hello World !");
    context.SetParameter("number", 1);

    // Script
    string script = @"
        var i;
        for (i = 0; i < 5; i++)
            console.Print(message + ' (' + i + ')');
        number += i;

    // Running the script

    // Getting a parameter
    Console.WriteLine("number: " + context.GetParameter("number"));


Click here to get the latest release.


Javascript .NET is deployed as a part of your application and fits inside a single assembly.

People behind Javascript .NET

Noesis Innovation

The Javascript .NET project was brought to you by the people at Noesis Innovation. Unfortunately they lost interest, so now other people take care of it.

Last edited Mar 27, 2013 at 10:07 AM by oliverbock, version 44