简体   繁体   中英

Alternatives to IIS for Windows to run ASP.NET

Are there any alternatives to IIS for Windows to run ASP.NET?

CassiniEx seems pretty old?

There is UltiDev Cassini which is a "free, light-weight and redistributable web server that can host ASP.NET 3.5, 3.0, 2.0 and 1.1 applications and static HTML sites". (It is based on the original Cassini web server).

Other than that, there is the development web server, which comes with Visual Studio. But as far as I know, this can only be used during development/from within Visual Studio.

ps UtilDev PRO supports asp.net 4.0.

You can also use the Abyss Web Server , which is ASP.NET compatible .

Apache 2 can do this I think. At least it can while running on Linux.

You will need a plugin for it though. Mod_aspdotnet is your friend :-)

UltiDev has released a new version of its web server product - UltiDev Web Server Pro . It does support .NET Framework 4. It's a very advanced yet tiny redistributable web server suitable for debugging from within Visual Studio or hosting web applications just like IIS does.

There are some open source projects for lightweight web servers implemented in C#.

  1. There's the C# WebServer project on Codeplex.
  2. The Kayak project on Google Code.

The Kayak project looks promising, but the C# WebServer project seems more robust at the moment.

You could use Apache and mono with mod_mono. It seems like a lot of work, but it should be get the job done. I guess it depends on the reason you need something other than IIS whether or not it is a viable way to do it.

If you have any VisualStudio components installed, this will give you the IIS functionality on http://localhost:8080/ Dev server version may vary, of course (10.0 in the example below).

mkdir c:\inetpub\wwwroot
cd "C:\Program Files (x86)\Common Files\microsoft shared\DevServer\10.0"
WebDev.WebServer40 /port:8080 /path:"c:\inetpub\wwwroot" /vpath:"/"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM