How to establish a connection with Websocket in Windows Azure?

Does Azure support using WebSockets for .NET, if so, how can I initiate and process a connection to Websocket?

+4
source share
3 answers

Web sockets are now supported on Azure websites. To use them, go to the site settings page on the management portal and enable web sockets.

+3
source

This is currently not possible. You will only get websockets when Azure (cloud services or websites) supports .NET 4.5 on Windows Server 2012 (IIS8), which is not the case now.

Today, .NET 4.5 is only available on websites running Windows Server 2008 R2 (IIS7).

Note. . Technically, you can use other solutions (unlike IIS) to get web connections in your Azure application (e.g. Pokein , SuperSocket , ...)

0
source

As Sandrino says, this is not possible if you do not have win8 / 2012 with .net 4.5. However, this is if you are using SignalR (or WebSockets in 4.5, of course).

We have been using websockets on Azure for quite some time now and it works very well. You can try it on http://live.xsockets.net or on our really simple playground http://xfiddle.net

Relations Uffe

0
source

Source: https://habr.com/ru/post/1442636/


All Articles