是否可以同时承载网/ SignalR和WCF瓦特/ NetTcpBinding的单一网络的作用是什么? [英] Is it possible to host both web/SignalR and WCF w/ netTcpBinding in a single web-role?
问题描述
我们有二进制 WCF
服务( NetTcpBinding的
)在Web角色和 asp.net
网站(利用 SignalR
过蔚蓝的背板)。由于极低的预算,我们要主持他们两个在Web角色(如网站不允许使用非标准HTTP(S)端口)。
因此,它是可行的举办他们两人在网络的作用,以保持SignalR / Web的界面功能,但也使用二进制WCF / NetTcpBinding的
模式<? / p>
编辑:
也许我应该问过摆在首位<一个href=\"http://stackoverflow.com/questions/34811555/how-to-host-both-asp-net-for-signalr-and-wcf-for-nettcpbinding-in-single-web\">How主办双方asp.net(用于SignalR)在单一的网络角色和WCF(用于NetTcpBinding的)和它们连接到托管IIS?
只要插座绑定不冲突 - 我不明白为什么这不应该是可能的。
在这里看到:
<一href=\"http://stackoverflow.com/questions/17371567/what-default-port-does-wcf-use-for-nettcp-when-hosted-by-iis\">what当IIS托管默认端口并为WCF使用nettcp?
https://msdn.microsoft.com /en-us/library/ms731810(v=vs.110).aspx
We have binary WCF
service (netTcpBinding
) in a web-role and an asp.net
website (to take advantage of SignalR
over azure's backplane). Due to the extremely low budget, we want to host them both in a web-role (as website doesn't allow non-standard-HTTP(S) ports).
So is it feasible to host them both in a web-role, to keep the SignalR/web-interface capabilities but also use the binary WCF/netTcpBinding
pattern?
Edit:
Maybe I should've asked in the first place "How to host both asp.net (for SignalR) and WCF (for netTcpBinding) in single web-role and wire them up to the hosting IIS?"
As long as socket binding does not conflict - I cannot see why that should not be possible.
See here: what default port does wcf use for nettcp when hosted by IIS?
https://msdn.microsoft.com/en-us/library/ms731810(v=vs.110).aspx
这篇关于是否可以同时承载网/ SignalR和WCF瓦特/ NetTcpBinding的单一网络的作用是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!