问题
Are there any alternatives to IIS for Windows to run ASP.NET?
CassiniEx seems pretty old?
回答1:
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.
p.s. UtilDev PRO supports asp.net 4.0.
回答2:
You can also use the Abyss Web Server, which is ASP.NET compatible.
回答3:
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 :-)
回答4:
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.
回答5:
There are some open source projects for lightweight web servers implemented in C#.
- There's the C# WebServer project on Codeplex.
- The Kayak project on Google Code.
The Kayak project looks promising, but the C# WebServer project seems more robust at the moment.
回答6:
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.
回答7:
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:"/"
来源:https://stackoverflow.com/questions/441085/alternatives-to-iis-for-windows-to-run-asp-net