Search code examples
c#websocketblazorhttpclientupnp

Blazor UPnP setup


I'd like to programmatically set up port forwarding from within a browser-based Blazor client (net60) so it can receive requests from the Internet. Legacy solutions use the Socket to achieve this, but in Blazor, there's no Socket available. Anybody already gone through this?


Solution

  • I went with a hybrid solution where the user uses a port forwarding application to punch the router holes needed by the blazor app.