Hosting node.js applications in IIS on Windows
Перейти к файлу
Tomasz Janczuk ba2a943709 fixed #85 bug in handling appSettings with empty values and duplicated appSetting keys 2011-11-21 16:43:51 -08:00
src fixed #85 bug in handling appSettings with empty values and duplicated appSetting keys 2011-11-21 16:43:51 -08:00
test fixed #85 bug in handling appSettings with empty values and duplicated appSetting keys 2011-11-21 16:43:51 -08:00
.gitignore performance and stress test framework, first test 2011-11-18 20:03:34 -08:00
LICENSE.txt update license 2011-11-03 14:59:27 -07:00
README.md add integrated debugging howto 2011-11-04 17:01:30 -07:00

README.md

Hosting node.js applications in IIS on Windows

Prerequisites for using

  • Windows
  • IIS 7.x with IIS Management Tools
  • URL rewrite module for IIS
  • Latest node.js build for Windows
    • You can also do it manually by downloading node.exe from nodejs.org and saving to %programfiles%\nodejs on a 32 bit system or %programfiles(x86)%\nodejs on a 64 bit system
  • Visual C++ 2010 Redistributable Package for x86 or x64 (skip this if you install Visual Studio; on x64 systems you need to install both x86 and x64 if you intend to use IIS Express/WebMatrix)

Installing for IIS 7.x

  • Install iisnode for IIS 7.x: x86 or x64 - choose bitness matching your system
  • To set up samples, from the administrative command prompt call %programfiles%\iisnode\setupsamples.bat
  • Go to http://localhost/node

Installing for IIS Express/WebMatrix

Howtos

the basics
using with express framework
using with URL rewrite module
using with WebMatrix and IIS Express
site templates for WebMatrix
using with mongodb
diagnosing problems with ETW traces
using with MVC
portuguese: node.js no windows: instalando o iisnode
integrated debugging

Prerequisites for building

Building

  • For 32 bit Windows: msbuild /p:Platform=Win32 src\iisnode\iisnode.sln
  • For 64 bit Windows: msbuild /p:Platform=x64 src\iisnode\iisnode.sln

Installing after build

  • For IIS 7.x: build\debug\%PROCESSOR_ARCHITECTURE%\iisnode.msi
  • For IIS Express 7.x: build\debug\x86\iisnode-express.msi

Running tests

  • Install for IIS 7.x (see previous sections)
  • test\functional\test.bat

Resources & documentation

https://github.com/tjanczuk/iisnode/wiki
http://tomasz.janczuk.org