Can I automate the creation of a .NET web application in IIS?

I need to deploy the web application on several laptops (although this is a web application, it is designed to run only through localhost), so I need to deploy it on several different machines).

Normally, I would go to IIS and right-click the directory to create the web application, but I would really like to automate this installation step. It can be done?

edit: My question is obviously not very clear.

I want to use IIS, but I want to create a web application automatically without opening the IIS Management Console (MMC).

+5
source share
9 answers

. -, ? , IIS - "" Windows, , , Vista Home. -, VS.NET IIS. Wix - , , .

: , - , IIS , . ? VS.NET - IIS.

+4

- Cassini ( ):

- ASP.NET Cassini - -, Microsoft®.NET® Framework, ASP.NET API- ASP.NET(System.Web.Hosting).

+2

-, HTTP.SYS( IIS, Windows XP SP2 ). .NET , . HttpListener System.Net.

, Tamberg

+1

Mono http://mono-project.com/

Linux, Mac OS X Windows.

xsp - .net.

http://www.mono-project.com/ASP.NET

,

+1

Visual Studio " " "-".

.msi, - IIS.

, , , .

+1

MMC, WebDirectoryCreate, msbuildtasks

+1

Check out this post. It explains how to start the Cassini web server from the command line and add it as a shell extension.

EDIT: CarlosAg's blog has excellent posts on IIS Administration quit PowerShell and managed code .

0
source

All Articles