Alternatives to IIS for Windows to run ASP.NET

前端 未结 7 615
天命终不由人
天命终不由人 2021-01-31 03:18

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

CassiniEx seems pretty old?

相关标签:
7条回答
  • 2021-01-31 03:36

    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 :-)

    0 讨论(0)
  • 2021-01-31 03:39

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

    0 讨论(0)
  • 2021-01-31 03:41

    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.

    0 讨论(0)
  • 2021-01-31 03:42

    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.

    0 讨论(0)
  • 2021-01-31 03:43

    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.

    0 讨论(0)
  • 2021-01-31 03:43

    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:"/"
    
    0 讨论(0)
提交回复
热议问题