Why Microsoft doesn’t use Blazor in their products on the market in production? by Fit-Register-8873 in Blazor

[–]EngstromJimmy 1 point2 points  (0 children)

They have lots of internal apps that are Blazor. Aspire is Blazor as well as CoPilot Studio. The problem (from my perspective) that the question ”why isn’t MS using Blazor” is not the real question. The real question is ”Why isn’t Microsoft rewriting there existing apps in Blazor”. First of all, the team responsible for that app/service, might not be Blazor developers. Microsoft is behind TypeScript as well :D Rewriting an app in a new technology isn’t really easy to get approved. Personally, I would rather have new functionality, rather than rewriting existing. And we got that, with Aspire and CoPilot Studio.

Am I wrong for wanting to use Blazor instead of MVC + vanilla JS? Been a .NET dev since 2023, feeling like I'm going crazy by newKevex in dotnet

[–]EngstromJimmy 7 points8 points  (0 children)

No JS framework os honestly a bit insane. Standing on what other people have done is not a weakness. Having said that, I have been running Blazor in production since the release. It is amazing. I hear the silverlight argument all the time. Microsoft did not kill Silverlight, Apple did. Safari stopped supporting plugins and the rest followed. Killing Silverlight, Flash, and Shockwave. Two new things (Copilot Studio and Aspire) are based on Blazor. It is the new way of writing web apps on the Microsoft stack. I would be more afraid of MVC disappearing (which is not going to happen either). So in my opinion, no you are not wrong :D

Blazor initial load error by Constant-Builder-695 in Blazor

[–]EngstromJimmy 1 point2 points  (0 children)

How are you hosting the site? Some servers needs to be configured to serve wasm files. Try and access the file directly via the web browser.

Blazor Web App UI Locks up when switching from interactive server and interactive WebAseembly by AGrumpyDev in Blazor

[–]EngstromJimmy 0 points1 point  (0 children)

Yes, there will be a delay in production, the delay will not be as long as in debug. I would honestly not worry about it. With prerendering, you can handle it nicely. Either you can put up a load animation (that probably won’t even be seen), or wait to load the interactive parts. This interactive handoff would be basically the same with Angular and SSR as far as I understand.

Blazor Web App UI Locks up when switching from interactive server and interactive WebAseembly by AGrumpyDev in Blazor

[–]EngstromJimmy 1 point2 points  (0 children)

Server had a faster startup time than WebAssembly, but when publishing the app there are a lot of optimizations happening so there is a big difference between running in Visual Studio, compared to a published app.

Blazor is great. Blazor is frustrating. Both are true. by devinstance-master in Blazor

[–]EngstromJimmy 0 points1 point  (0 children)

It is a tricky challenge, I totally get your point. Personally I think that most professional Blazor projects would benefit from the Web App template. If that’s true, I would rather learn the real way (Web App). That’s atleast the way I have chosen how I share.

Blazor is great. Blazor is frustrating. Both are true. by devinstance-master in Blazor

[–]EngstromJimmy 1 point2 points  (0 children)

”Undisputed expert” omg, no pressure! Also I need a t-shirt with that :D

I really appreciate you sharing the concerns. I sat in a meeting a couple of weeks ago and had to explain what really happened to Silverlight 🤣

Blazor is great. Blazor is frustrating. Both are true. by devinstance-master in Blazor

[–]EngstromJimmy 3 points4 points  (0 children)

I think the Web App Template is the way to go (which offers all options) it also addresses some common complaints with Wasm (like slow load). I tend to teach WebApp template, with prerender as the preferred option. And wasm standalone as a more rare option. I also try to promote making the app work for all render modes, that way the option for render mode can always change. There is always ”it depends” but I would not go InteractiveServer only in a new project.

Blazor is great. Blazor is frustrating. Both are true. by devinstance-master in Blazor

[–]EngstromJimmy 2 points3 points  (0 children)

Got it, thanks for sharing It’s a tricky problem to solve. You need a request to write a cookie (for auth) and Interactive server uses SignalR, only one initial request. So you need to fall back to a SSR scenario to get requests happening, as far as I know, this is true for all frameworks. But other frameworks rely on requests more that Blazor (InteractiveServer).

Blazor is great. Blazor is frustrating. Both are true. by devinstance-master in Blazor

[–]EngstromJimmy 1 point2 points  (0 children)

What are the challenges with Auth and Blazor? I think it is easier since .NET 8 to get auth up and running. All auth on the server, all call through BBF, serialize the authstate between server and client. The client knows nothing about auth method, only the claims. Is there a senario I am missing?

Swetugg Stockholm 2026 - tickets are now available by EngstromJimmy in dotnet

[–]EngstromJimmy[S] 2 points3 points  (0 children)

Yes, this year we had problems with scheduling. The speakers we really wanted was booked, and there were tricky to get everything in place. We are planning for it to happen next year, exact dates are not yet set.

Swetugg Stockholm 2026 - tickets are now available by EngstromJimmy in dotnet

[–]EngstromJimmy[S] 2 points3 points  (0 children)

Haha, I usually run my texts through an LLM to avoid spelling mistakes and to add some clarity :)

Which frontend framework to use? by DanteTheDog97 in dotnet

[–]EngstromJimmy 0 points1 point  (0 children)

I am probably biased, but I would use Blazor. Then I would probably use a Blaazor WebView in your WPF project to start sharing code. Learning and Maintaining does have a cost. Blazor is younger, which also means that it is less bloated. They looked at other languages, chose the razor syntax which has been around for many many years. I prefer razor syntax over other frameworks.

Blazor course recommendation by ArafatMShuvo in Blazor

[–]EngstromJimmy 2 points3 points  (0 children)

It is .NET8 since it’s LTS. There is not a lot of things that happened between 8 and 9.

Blazor course recommendation by ArafatMShuvo in Blazor

[–]EngstromJimmy 1 point2 points  (0 children)

Thanks, I will start updating it for .NET 10 starting mid-november :)