{"id":13570808,"url":"https://github.com/tjanczuk/iisnode","last_synced_at":"2025-04-14T11:10:56.684Z","repository":{"id":45914943,"uuid":"2143651","full_name":"tjanczuk/iisnode","owner":"tjanczuk","description":"Hosting node.js applications in IIS on Windows","archived":false,"fork":false,"pushed_at":"2024-06-18T10:22:48.000Z","size":8741,"stargazers_count":1866,"open_issues_count":265,"forks_count":581,"subscribers_count":124,"default_branch":"master","last_synced_at":"2025-04-07T08:08:17.065Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tjanczuk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2011-08-02T16:36:03.000Z","updated_at":"2025-03-29T06:05:47.000Z","dependencies_parsed_at":"2024-11-05T03:41:56.535Z","dependency_job_id":null,"html_url":"https://github.com/tjanczuk/iisnode","commit_stats":null,"previous_names":[],"tags_count":35,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tjanczuk%2Fiisnode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tjanczuk%2Fiisnode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tjanczuk%2Fiisnode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tjanczuk%2Fiisnode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tjanczuk","download_url":"https://codeload.github.com/tjanczuk/iisnode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248868766,"owners_count":21174758,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T14:00:55.192Z","updated_at":"2025-04-14T11:10:56.651Z","avatar_url":"https://github.com/tjanczuk.png","language":"C++","readme":"\nNOTE: Official branch is [azure/iisnode](https://github.com/Azure/iisnode) \n===\n\nTL;DR; I no longer maintain or monitor this repository. Please go to [azure/iisnode](https://github.com/Azure/iisnode) for the latest version of the stack and/or to file any issues. \n\nI developed the iisnode technology to enable hosting Node.js applications in IIS, specifically in the Azure Websites, back when I was working at Microsoft. When I left the company in 2013, Microsoft decided to retain ownership of the stack. While I cannot speak to the current state of affairs or plans going forward, as of this writing, iisnode appears to still power execution of Node.js apps in Azure, and the [azure/iisnode](https://github.com/Azure/iisnode) fork is where the action happens. Happy Noding!\n\n-- @tjanczuk, 9/21/2018\n\nHosting node.js applications in IIS on Windows\n===\n\n**Branches**\n\n- master: stable version.\n- iisnode-dev: development branch.\n\n**Why would I want to do it?**\n\n[Benefits](https://github.com/tjanczuk/iisnode/wiki)\n\n**Who uses iisnode?**\n\n- [Microsoft azure - benefits](http://blogs.msdn.com/b/hanuk/archive/2012/05/05/top-benefits-of-running-node-js-on-windows-azure.aspx)\n- [Microsoft azure - get started with node.js](http://azure.microsoft.com/en-us/develop/nodejs/)\n- [appharbor.com](http://blog.appharbor.com/2012/01/19/announcing-node-js-support)\n- [discountasp.net](http://discountasp.net/press/2012_06_12_free-webmatrix-v2-rc-hosting-with-nodejs.aspx)\n- [arvixe.com](http://arvixe.com)\n- [smarterasp.net](http://www.smarterasp.net/)\n- [gearhost.com](http://gearhost.com/)\n- [webecs.com](http://webecs.com/)\n\n**Prerequisites for using**\n\n- Windows Vista, Windows 7, Windows 8, Windows Server 2008, or Windows Server 2012\n- IIS 7.x with IIS Management Tools and ASP.NET\n- WebSocket functionality requires IIS 8.x on Windows 8 or Windows Server 2012\n- [URL rewrite module for IIS](http://www.iis.net/download/URLRewrite)\n- [Latest node.js build for Windows](http://go.microsoft.com/?linkid=9784334)\n\n**Installing for IIS 7.x/8.x**\n\n- Install iisnode for IIS 7.x/8.x: [x86](https://github.com/azure/iisnode/releases/download/v0.2.21/iisnode-full-v0.2.21-x86.msi) or [x64](https://github.com/azure/iisnode/releases/download/v0.2.21/iisnode-full-v0.2.21-x64.msi) - choose bitness matching your system\n- To set up samples, from the administrative command prompt call `%programfiles%\\iisnode\\setupsamples.bat`\n- Go to `http://localhost/node`\n\n**Installing for IIS Express/WebMatrix**\n\n- [Install WebMatrix using the Web Platform Installer](http://www.microsoft.com/web/webmatrix/)\n- Open WebMatrix, choose “Site from folder”, enter %localappdata%\\iisnode\\www, start the site, and play with the iisnode samples, or\n- Use node.js templates to get started quickly with an Express application or a skeleton Hello World\n\n**Installing for IIS Express 8 on Windows x64**\nThis can be a head-scratcher since IIS Express 8 gives you both 32-bit and 64-bit versions (http://www.iis.net/learn/extensions/introduction-to-iis-express/iis-80-express-readme). You can either:\n- Install the full x64 version, then in Visual Studio go to Tools \u003e Options \u003e Projects and Solutions \u003e Web Projects \u003e Use the 64 bit version of IIS Express. This way you have a single install for both IIS and IIS Express.\n- Separately install iisnode express version (https://github.com/azure/iisnode/wiki/iisnode-releases).\n\n\n**Howtos**\n=======\n- [the basics](http://tomasz.janczuk.org/2011/08/hosting-nodejs-applications-in-iis-on.html)\n- [the basics (Pусский перевод)](http://softdroid.net/hosting-nodejs-applications-ru)\n- [**NEW: websockets**] (http://tomasz.janczuk.org/2012/11/how-to-use-websockets-with-nodejs-apps.html)\n- [using with express framework](http://tomasz.janczuk.org/2011/08/hosting-express-nodejs-applications-in.html)\n- [using with URL rewrite module](http://tomasz.janczuk.org/2011/08/using-url-rewriting-with-nodejs.html)\n- [using with WebMatrix and IIS Express](http://tomasz.janczuk.org/2011/08/developing-nodejs-applications-in.html)\n- [site templates for WebMatrix](https://github.com/SteveSanderson/Node.js-Site-Templates-for-WebMatrix)\n- [using with mongodb](http://www.amazedsaint.com/2011/09/creating-10-minute-todo-listing-app-on.html)\n- [diagnosing problems with ETW traces](http://tomasz.janczuk.org/2011/09/using-event-tracing-for-windows-to.html)\n- [using with MVC](http://weblogs.asp.net/jgalloway/archive/2011/10/26/using-node-js-in-an-asp-net-mvc-application-with-iisnode.aspx)\n- [portuguese: node.js no windows: instalando o iisnode](http://vivina.com.br/nodejs-windows-parte-2)\n- [integrated debugging](http://tomasz.janczuk.org/2011/11/debug-nodejs-applications-on-windows.html)\n- [**NEW: integrated debugging with node-inspector v0.7.3**](http://www.ranjithr.com/?p=98)\n- [pub/sub server using faye](http://weblogs.asp.net/cibrax/archive/2011/12/12/transform-your-iis-into-a-real-time-pub-sub-engine-with-faye-node.aspx)\n- [appharbor uses iisnode](http://blog.appharbor.com/2012/01/19/announcing-node-js-support)\n\n**Prerequisites for building**\n\n- All prerequisities for using\n- [Visual Studio Express 2012 for Windows Desktop](http://www.microsoft.com/visualstudio/eng/downloads)\n- [WIX Toolset v3.6](http://wix.codeplex.com/releases/view/93929)\n- [Windows SDK for Windows 8](http://msdn.microsoft.com/en-us/windows/desktop/hh852363)\n\n**Building**\n\nBuild commands should be issued from the build environment set up with `\"%programfiles(x86)%\\Microsoft Visual Studio 11.0\\Common7\\Tools\\VsDevCmd.bat\"`, assuming default installation location of Visual Studio 2012 on x64 platform.\n\nFor x86 build:\n\n```\nmsbuild /p:Platform=Win32 src\\iisnode\\iisnode.sln\n```\n\nFor x64 build:\n\n```\nmsbuild /p:Platform=x64 src\\iisnode\\iisnode.sln\n```\n\n**Installing after build**\n\n- For IIS 7.x/8.0: `build\\debug\\{x64|x86}\\iisnode-full.msi`\n- For IIS Express 7.x: `build\\debug\\x86\\iisnode-express.msi`\n\n**Running tests**\n\n- Install for IIS 7.x/8.x (see previous sections)\n- `test\\functional\\test.bat`\n- note that for the WebSocket tests to pass you must be running in IIS 8.x on Windows 8 or Windows Server 2012\n\n**Resources \u0026 documentation**\n\n- [Releases](https://github.com/azure/iisnode/wiki/iisnode-releases)\n- [Wiki](https://github.com/tjanczuk/iisnode/wiki)\n- [Blog](http://tomasz.janczuk.org)\n","funding_links":[],"categories":["C++","Web Frameworks","Web框架"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftjanczuk%2Fiisnode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftjanczuk%2Fiisnode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftjanczuk%2Fiisnode/lists"}