Which build of Cassini should I choose for production? There are 8 public builds from 5 different authors

前端 未结 4 632
猫巷女王i
猫巷女王i 2020-12-11 06:54

I found several versions of an IIS-free Cassini webserver built by Microsoft. I\'d use it but I\'m unsure of which one is best, since there are many forks/builds:

4条回答
  •  無奈伤痛
    2020-12-11 07:25

    UltiDev Cassini is not actually dormant. Its successor, UltiDev Web Server Pro (UWS), has been under development for more than a year and has become closer to IIS (in functionality, not in size or complexity). UltiDev Web Server Pro test builds are being released once every few weeks and are fairly stable already.

    To comment on some of Sky's points:

    • New UWS bypasses ASP.NET runtime when serving static content.
    • UltiDev Cassini is not limited to loopback IPs/host names. New UWS uses http.sys kernel driver as listener - same as IIS.
    • UltiDev Cassini and UWS do queue requests but handle in parallel by pooled threads.
    • Inability to serve WCF with WsHttpBinding is not a limitation of SimpleWorkerRequests, but rather of WCF's assumption that whenever it's hosted in an ASP.NET AppDomain, then it's hosted either IIS or original Cassini, and nothing else. Attempts to convince MS to change that spanned more than two years and failed. In the end, WCF hosted in ASP.NET appdomain concludes that it's only safe when it's under IIS, while not making such assumption when it's hosted by a random .net process/appdomain w/o ASP.NET. Still, WCF with BasicHttpBinding works alright.

    Cheers, Vlad.

提交回复
热议问题