Can I automate creating a .NET web application in IIS?

后端 未结 9 2139
無奈伤痛
無奈伤痛 2020-12-30 13:52

I need to deploy a web application on several laptops (although it is a web application, it is intended to run via localhost only - thus the need to deploy on s

相关标签:
9条回答
  • 2020-12-30 14:42

    Create a new Visual Studio project of type "Setup and Deployment", and use the "Web Setup" type.

    This will create an .msi installer that will automatically create the web app for you within IIS.

    You will then also get the ability to perform network installs, so if you have the right permissions you could manage this centrally.

    0 讨论(0)
  • 2020-12-30 14:49

    You could use the system.DirectoryServices class e.g.

    http://www.gafvert.info/iis/article/cs_create_website_iis6.htm

    0 讨论(0)
  • 2020-12-30 14:49

    You could also try Mono. It is for Linux, Mac OS X, and Windows.

    They have xsp a web server for .NET applications.

    There is documentation about that in ASP.NET | Mono.

    0 讨论(0)
提交回复
热议问题