Possible to use ASPNET MVC2 without IIS?

醉酒当歌 提交于 2019-12-18 05:10:46

问题


I know of the ServiceHost class, that lets me write a custom host for a WCF service. This means there's no requirement for IIS. (I also know all the advantages of using IIS - no need to rehash those for me.).

Is there something similar to allow me to host ASPNET MVC2, without IIS? Conversely, Is IIS a hard requirement for ASPNET MVC2?

Has anyone used UltlDev Cassini, and if so, what are your experiences? Will it run ASPNET MVC2?

(I am using .NET 3.5)


回答1:


You can run it on Cassini, Mono, IIS or host the whole asp.net runtime in your own application. (Actually pretty easy)



来源:https://stackoverflow.com/questions/4795717/possible-to-use-aspnet-mvc2-without-iis

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!