问题
Does XMPP has more advantaces agains SignalR? They both using http long polling mechanism and I can not decide shall I use XMPP for my chat aplication or shall I use SignalR and keep everything ion my IIS server?
回答1:
SignalR uses several transports see the explanation here How SignalR works internally?. Advantages of XMPP are the fact that greater number of other clients that just work out of the box (gchat, pidgin etc). But you could use both for your application if you wanted.
回答2:
SignalR has a pile of ways for real time communication. WebSocket!! have you not heared about it? SignalR only use long pooling when nothing else is availabe on your old computer.
来源:https://stackoverflow.com/questions/11616917/xmpp-bosh-vs-signalr