从WCF托管ASP.net应用程序(Hosting ASP.net application from WCF)

编程入门 行业动态 更新时间:2024-10-25 22:33:18
从WCF托管ASP.net应用程序(Hosting ASP.net application from WCF)

是否有可能从自托管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.

更多推荐

本文发布于:2023-04-28 01:24:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1329209.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:应用程序   ASP   WCF   net   application

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!