自助主机ASP.NET MVC网站 [英] Self host asp.net mvc site
本文介绍了自助主机ASP.NET MVC网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
像WCF服务一样,有没有办法自托管和asp.net mvc网站?
Is there a way to self host and asp.net mvc site, just like with WCF services?
推荐答案
使用HttpListener
来实现http服务器,并继承MarshalByRefObject
来处理asp.net请求.引用此自托管ASP.NET MVC
Use HttpListener
to implement a http server and inherit MarshalByRefObject
to process asp.net request. Referring to this Self-hosting ASP.NET MVC
这篇关于自助主机ASP.NET MVC网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文