Skip to content

Instantly share code, notes, and snippets.

@wullemsb
Created April 6, 2013 08:08
Show Gist options
  • Save wullemsb/5325359 to your computer and use it in GitHub Desktop.
Save wullemsb/5325359 to your computer and use it in GitHub Desktop.
Hello world sample for edge.js, combining c# and node.js
var edge = require('edge');
var helloWorld = edge.func('async (input) => { return ".NET Welcomes " + input.ToString(); }');
helloWorld('JavaScript', function (error, result) {
if (error) throw error;
console.log(result);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment