1

I have a Blazor web assembly hosted in an ASP.NET Core 7 project.

I'm using Windows 10, and Microsoft Visual Studio Enterprise 2022 (64-bit) - current version is 17.5.1.

I want to run it by Visual Studio 2022 on dev tunnels and view that site on my mobile.

I created tunnel but when I start the project by F5 in debug mode VS get error : Unable to launch browser Could not open wss://

My VS 2022 is logged in to my Microsoft account.

I have installed .NET 6.0 WebAssembly Build Tools and .NET WebAssembly Build Tools in my VS 2022.

How to run the Blazor project on a dev tunnel?

enter image description here

enter image description here

enter image description here

enter image description here

M Komaei
  • 7,006
  • 2
  • 28
  • 34
  • 1
    Did you manage to solve this? I am facing a similar issue, except I need to get a webhook back from an external source... If you can manage to do your mobile tests within your same lan, you could open the ports to your local machine on the lan? – Brett JB Apr 04 '23 at 08:28
  • @BrettJB Looks like an issue has been raised here:https://developercommunity.visualstudio.com/t/Port-tunneling-doesnt-work-with-Blazor/10162604 – Brownish Monster Apr 19 '23 at 09:51
  • I could run the project by running the NekoRay application and set a vless or trojan protocol and check the VPN Mode checkbox. But it can not show any thing on browsers on windows or android. – M Komaei Apr 19 '23 at 20:36

0 Answers0