r/Blazor • u/SeekingSolace2008 • Nov 07 '21
Blazor stability *vent*
I truly hope Microsoft can FIX the stability of the Blazor WASM environment. I'm building a Blazor application on 2019, and it is failing in unchanged code with zero useful information.
Once more, I have to toss my code base and start from scratch. It sucks and wastes SO MUCH TIME.
12
3
1
u/VirtualPAH Nov 09 '21
I'd look at using Visual Studio 2022 and upgrade everything to .Net 6, which won't work on VS2019.
Could well be breaking changes as you've upgraded along the way, so could try creating a new project and comparedefault skeleton config to current to see if anything needs altering or updating.
As Blazor is so new hopefully now we have official release of .Net 6 (no longer preview or release candidate) with long term support, upgrading to that will solve all problems or at least give a clean slate to get support about.
I've had to scratch projects in the past when moving up the Blazor versions towards .Net 5 as they were improving things so much quickly there were inevitably breaking changes.
Didn't take me long to create a new project using the latest visual studio template and copy the source code files over, but hopefully moving to VS2022 and .Net 6 won't require that kind of action anymore.
Alternatively could look at rolling back the VS2019 updates or nuget package installs to see if the problem goes away then use that stable version without any further updates until ready to move to VS2022 and .Net 6.
-1
Nov 08 '21 edited Nov 08 '21
Wait, are you counting on Microsoft to release software that isn't permanently POC? They just announced they are going to drop UWP for crying out loud. If you want something stable from Microsoft, go learn WinForms.
I realize this is controversial on this sub, but that's my experience with pretty much all Microsoft products be it Windows, Blazor, UWP or WPF.
3
1
u/GroundTeaLeaves Nov 08 '21
They are dropping UWP? Not that I like it at all, but Microsoft has been trying so hard to get people to use it and they don't seem to understand why people don't like it.
2
Nov 08 '21
Yeah you can read about it here. People who could did use UWP, but there’s just not anyone developing Windows specific desktop apps these days. But them dropping UWP for whatever new framework M feels like using today is just a hilariously good representation of Microsoft
0
Nov 07 '21
[deleted]
-1
u/SeekingSolace2008 Nov 07 '21
Current code-base compiles, but will not run. I get a bogus type '' is not supported for UseIdentityServer(). This code has not changed, and now throws this error. I have read several articles on the issue, and none of the solutions resolve the issue. At this point, I have concluded this code-base is dead, and need to restart.
4
u/webdevguyneedshelp Nov 07 '21
You should use vs 2022 preview. It's buggy but it at least works. I couldn't use 2019 for blazor
6
9
u/j-sakamoto Nov 07 '21
I think almost all people who are Blazor WASM app developers feel it's stable enough.
I guess your case is one of the unfortunate edge cases.
Just curious, would you explain what problem you encountered more precisely?
Can you disclose a part of your Blazor WASM program code somewhere?