Rider + .Net 6 + Blazor Wasm - is it supported?

Dear Support,

I am giving a try to the Rider Ide, but running into multiple issues.

I have VS background.

I am using the latest EAP version:

JetBrains Rider 2021.3 EAP 10
Build #RD-213.5744.263, built on November 30, 2021

Issues with .Net 6 Blazor Wasm .Net Core hosted app

- Is there any save code and auto refresh in the browser feature when running without debugging, like VS? I am not seeking for hot reload (it would be the best). I could find only the dotnet watch profile as a solution, which is working.
- Is it possible to debug the Wasm code? And with the same hosting profile? With dotnet watch it doesn't start so I have to switch back to IIS always (which is unacceptable). Is this behaviour expected? Or can you suggest me any guideline?

- Furthermore when starting the debug with IIS the selected Edge browser it always starts with incognito, which is the suggested way as I read, but in this case every time the annoying Edge sync profile popup appears, I have to accept the cookies of my site and I need to login.. so make the whole process effectively useless. It doesn't happen with VS.

 

Another Ide related issue I posted to stackoverflow:
menu - Rider how to comment on other tab than the main? - Stack Overflow

Thanks,

Istvan

 

0
1 comment

Dear Istvan,

Is there any save code and auto refresh in the browser feature when running without debugging, like VS?

The only option for now is using dotnet watch. However, there is a couple of known issues around it:
https://youtrack.jetbrains.com/issue/RIDER-52481
https://youtrack.jetbrains.com/issue/RIDER-29118
https://youtrack.jetbrains.com/issue/RIDER-69647

Is it possible to debug the Wasm code? And with the same hosting profile? With dotnet watch it doesn’t start so I have to switch back to IIS always (which is unacceptable). Is this behaviour expected? Or can you suggest me any guideline?

Yes, you can debug the WASM code, but it's not possible to do it along with `dotnet watch` running. We will hardly implement it in the near future - this is a tricky thing to do.

Furthermore when starting the debug with IIS the selected Edge browser it always starts with incognito, which is the suggested way as I read, but in this case every time the annoying Edge sync profile popup appears, I have to accept the cookies of my site and I need to login

The workaround here is to turn on Enable custom browser cli options in File | Settings | Build, Execution, Deployment | Debugger | Blazor WASM Debugging, and set custom user data directory in the Edge settings File | Settings | Tools | Web Browsers and Preview. Please note that this functionality is available only in Rider 2021.3, which will be released in a day or two.

Please let me know if you have any questions.

0

Please sign in to leave a comment.