是否有可能从自托管WCF服务托管ASP.net(特别是MVC,但我不确定这是否重要)应用程序? 我不想进入IIS,如果可能的话,我想避免使用像卡西尼这样的东西。
对不起,如果这是重复的,很难找到这方面的问题(一切都是ASP上的WCF,而不是相反。)
Is it possible to host an ASP.net (MVC in particular, but I'm not sure if that's important) application from a self-hosted WCF service? I don't want to get into IIS, and I'd like to avoid something like Cassini if possible.
Sorry if this is a duplicate, it's really hard to find questions on this (everything is WCF on ASP, not the other way around.)
最满意答案
使用自定义绑定,我会说这是可能的 ,但是需要做很多工作来构建自定义绑定。
我建议你使用IIS。 自托管WCF服务不像IIS那样可扩展,并且IIS 7对二进制协议的支持几乎完全没有必要。
With a custom binding, I'd say it's possible, but would take quite a lot of work building that custom binding.
I would recommend you use IIS. Self hosted WCF services are not as scalable as IIS, and with IIS 7's support for binary protocols are almost entirely unnecessary.
更多推荐
发布评论