Are there any alternatives to IIS for Windows to run ASP.NET?
CassiniEx seems pretty old?
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 :-)
You can also use the Abyss Web Server, which is ASP.NET compatible.
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#.
The Kayak project looks promising, but the C# WebServer project seems more robust at the moment.
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.
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:"/"