开发者

Is there a web server which can embeded with an ASP.NET MVC3 application

Is there a web server I can embed with a开发者_运维问答n ASP.NET MVC3 application?

The goal is to setup an installer where the user does not need to setup the web application on IIS, etc. The installer will install a web server configure it to listen to some port and host the files from there.


IIS Express could be used for that purpose, they mention in the FAQ that the MSI can be redistributed:

IIS Express FAQ


You can use HttpListener, Here's an example.


As others have mentioned - use IIS Express OR what you can do is install the version of IIS that would normally be on the system. Check out using WiX for installs and items such as this:

http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Using-pkgmgr-to-install-IIS-7-td5990722.html

You may be able to find someone on the WiX mailing list that has done just this already.

Note - WiX was written by some Microsoft folks and was actually going to be the installer in VS 2010 but was changed unfortunately.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜