Getting Started
suggest changeIISNode allows Node.js Web Apps to be hosted on IIS 7/8 just like a .NET application would. Of course, you can self host your node.exe process on Windows but why do that when you can just run your app in IIS.
IISNode scales across cores, manages the node.exe process, and recycles the IIS application when the app is updated. More of its benefits are listed on the project site.
Requirements
IISNode does have a few requirements before you can host your Node.js app in IIS.
- Node.js installed on the IIS host. Both 32-bit and 64-bit builds are supported.
- IISNode installed for x86 or x64, matching the bitness of the IIS worker process.
- The Microsoft URL Rewrite Module for IIS installed on the host. Without it, requests to the Node.js app are not rewritten to
node.exe. - A
Web.configin the root folder of the Node.js app. - IISNode configuration via an
iisnode.ymlfile or an<iisnode>element in thatWeb.config.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents