title: Using a .NET DLL in Node.js / serverside javascript
body: <p>I have a pet project that is an online game, the entire game engine is written in C# and I would like to know if there is anyway I can call the functions of this existing assembly (.dll) from a solution built using Node.JS, Socket.IO, Express etc?</p>
  
  <p>The game engine itself is pretty complete; tested and robust. I am hoping there is some neat way of exposing its functionality without too much overhead.</p>
  
  <p><strong>UPDATE</strong>:</p>
  
  <p>To answer my own question a little.. 
  I have ended building my own web socket server (based on the most current web socket protocol document). It is written in C# and compiled using Mono so that it can be hosted on a Linux box running mono and therefore (with a few tweaks) I can use my existing game engine.</p>
  
  <p><strong>UPDATE 2</strong>
  A project that does exactly what I was originally looking for now exists - <a href="http://tjanczuk.github.io/edge/#/" rel="nofollow noreferrer">http://tjanczuk.github.io/edge/#/</a></p>
  
  <p><strong>UPDATE 3</strong>
  Edge.js supporting node's last versions and .net core with a new <strong>edge-js</strong> package.  </p>
  
  <blockquote>
    <p>Support for Node.Js 6.x, 7.x, 8.x, 9.x, 10.x, 11.x Support for .NET
    Core 1.0.1 - 2.x on Windows/Linux/macOS. Support for Mono runtime
    4.8.x - 5.x.</p>
  </blockquote>
  
  <p>Can be installed from <a href="https://www.npmjs.com/package/edge-js" rel="nofollow noreferrer">https://www.npmjs.com/package/edge-js</a></p>