Closed dmartensson closed 4 years ago
@Tratcher should I remove the section Using ASP.NET Core Hosting on an OWIN-based server which features Nowin?
As far as I can see there are no cross platform server suggested that supports websockets, since kestrel does not have that.
Kestrel supports Upgrades, and WebSockets are supported on top of that via middleware. Do you mean there's no OWIN WebSocket middleware?
@Tratcher should I remove the section Using ASP.NET Core Hosting on an OWIN-based server which features Nowin?
It's still useful as an example. @dmartensson any suggestions for an active project to replace it with?
Hi
No, unfortunately I have not found any I could recommend and no guide to websockets on kestrel.
For most parts I can just start a webapi project under IIS, but in this case I was trying to build a webserver into a library and that proved to be a bit more of a problem ;)
A quick search found these but I have not tested any of them yet so I do not know if they are solving the problem: https://suave.io https://github.com/unosquare/embedio
Best regards
David
Den fre 3 juli 2020 kl 00:12 skrev Chris Ross notifications@github.com:
As far as I can see there are no cross platform server suggested that supports websockets, since kestrel does not have that.
Kestrel supports Upgrades, and WebSockets are supported on top of that via middleware. Do you mean there's no OWIN WebSocket middleware?
@Tratcher https://github.com/Tratcher should I remove the section Using ASP.NET Core Hosting on an OWIN-based server https://docs.microsoft.com/en-us/aspnet/core/fundamentals/owin?view=aspnetcore-2.1#using-aspnet-core-hosting-on-an-owin-based-server which features Nowin?
It's still useful as an example. @dmartensson https://github.com/dmartensson any suggestions for an active project to replace it with?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/dotnet/AspNetCore.Docs/issues/19034#issuecomment-653240808, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAE4ER4B4UI6K6URS3XNWKTRZUA5BANCNFSM4ONNO6XQ .
Here are the websocket docs: https://docs.microsoft.com/en-us/aspnet/core/fundamentals/websockets?view=aspnetcore-3.1
You don't need OWIN for cross platform support, Kestrel already covers that.
Hi
are you sure it works with Kestrel. According to the documentation you linked IIS or HTTP.sys is a prerequisite
Prerequisites
-
Any OS that supports ASP.NET Core:
If the app runs on Windows with IIS:
If the app runs on HTTP.sys https://docs.microsoft.com/en-us/aspnet/core/fundamentals/servers/httpsys?view=aspnetcore-3.1 :
For supported browsers, see https://caniuse.com/#feat=websockets.
Den fre 3 juli 2020 kl 02:28 skrev Chris Ross notifications@github.com:
Here are the websocket docs: https://docs.microsoft.com/en-us/aspnet/core/fundamentals/websockets?view=aspnetcore-3.1
You don't need OWIN for cross platform support, Kestrel already covers that.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/dotnet/AspNetCore.Docs/issues/19034#issuecomment-653271508, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAE4ER3KUNLRJJYOMDDSTC3RZUQZBANCNFSM4ONNO6XQ .
Yes websockets works with kestrel 😄 .
Then that might be mentioned as many threads I found suggested that it was not supported, so I did not even bother trying. :)
That says If the app runs on Windows with IIS:
.
The doc never mentions Kestrel because Kestrel doesn't have any prerequisites for WebSockets, it just works. It might be worth mentioning Kestrel for clarity though.
The Nowin project references is discontinued according to the owner so this guide should be revised as it should use active solutions.
As far as I can see there are no cross platform server suggested that supports websockets, since kestrel does not have that.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.