Deploy a "Basic Azure Node.js Express 4 Application - JavaScript" to IIS

moondaddy 916 Reputation points
2022-03-05T02:40:43.357+00:00

Using VS 2022, I created a "Basic Azure Node.js Express 4 Application - JavaScript" project.

If I created just a "Basic Node.js Express 4 Application - JavaScript" project (note - no "Azure" in the name) then its missing the web.config file and maybe some other things that might be interesting.

So my question is, can I deploy the "Basic Azure Node.js Express 4 Application - JavaScript" project to IIS? I will not be using Azure.

Thank you

Windows development Internet Information Services
{count} vote

1 answer

Sort by: Most helpful
  1. Sreeju Nair 12,666 Reputation points
    2022-03-05T07:30:27.043+00:00

    There is a project iisnode, that helps you to host nodejs application under IIS.

    Refer: https://github.com/Azure/iisnode
    https://tomasz.janczuk.org/2011/08/hosting-nodejs-applications-in-iis-on.html

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.