Running Blazor in production, lessons learned - Jimmy Engström - NDC London 2023

preview_player
Показать описание
We have been running Blazor in production for over two years now.
Everyone in our team is a C# developer, so when we went into our latest project Blazor was a natural choice, even though Blazor was only a week old.
Looking at my peers working in the same space, I am convinced that it saved our project by switching to Blazor.

Even though it has been mostly smooth sailing we have learned a lot during the years.
In this session, I will give you some of the tips, tricks, and learnings we have collected over the years, when to choose what, and how to avoid pitfalls converting your exiting project to Blazor.

Check out our new channel:
NDC Clips:
@ndcclips

Check out more of our featured speakers and talks at
Рекомендации по теме
Комментарии
Автор

I like that you mention the saying, "Blazor is for people who don't want to learn new things." I came to Blazor after using react, typescript, node and webpack for front end work and PHP for back end. Being able to use the exact same language and tools for the back end as well? Icing on the cake. Excellent talk!

Dorgrin
Автор

Great presentation. Thanks a lot Jimmy. I bought your book.it's amazing. As a dot bet senior developer, Blazor was my dream, I will never use any other frameworks for my new projects. Blazor is the best framework i have ever worked on.

imadabab
Автор

Be careful with just throwing everything into components. There is a small overhead for each component. So if you have a 1000 component on a site, it will slow it down. I've been there myself.

I've used blazor a couple of places in production :)

Panzerfury
Автор

After 30 minutes of just listening to how Blazor works and nothing about any lessons learned in production I stopper watching.

Автор

Thank you for nice talk. However, I don't think that WASM footprint was compared properly. In my opinion, Blazor WASM example given is really abstract one. You did compare it with Facebook saying that Blazor is just 1MB vs 16MB on social network's side. Facebook is pretty heavy application by itself, so no doubts it has high payload. In such case, would be nice to see comparison with something similar created in Blazor WASM(in terms of complexity) and not just by comparing some abstract application.

dmitryborovych
Автор

Always found front end tools a mess. Weird errors, difficult to debug. Nothing is obvious, too much magic.
Blazor is front end development for back end developers.

Biker
Автор

Even his drink is purple :) Nice talk thank you

JamesClemones
Автор

"Paul-Sebastian Manole" Yes. Dev experience maybe is not so good but I think the future on WASM and from all languages biggest abilities to shoot on Blazor

avisalon
Автор

What I can't stand is the slow iterative feedback. Blazor feels like developing for Webforms compared to Vite + any JS frontend lib.

PaulSebastianM
Автор

I was interested on Blazor as an escape of the JS nightmares, but "unfortunately" (for good or bad), Blazor is going towards the same approaches. Honestly, the more you think, the more server side rendering makes sense for a good deal of web apps. That is why things like HTMX with Razor Pages look like a better option that I am more interesting on trying these days

XXnickles
Автор

Your experience with blazor seems not to be related to blazor, but rather with the shift on going to singel page applications.

ErnaSolbergXXX
Автор

How does Blazor server handle things like drag and drop? Does it download some JS that it runs in the browser? Or do people still use some JS when using Blazor server pages? Seems like overkill to go back to the server for DOM manipulation when a little JS will do the job. I currently use vanilla JS, Razor, lots of AJAX to make the pages feel "live". Thinking of switching...but was surprised when he said mixing and matching razor and blazor wasn't a good idea b/c connections get dropped.

georgebeierberkeley
Автор

you did not talk anything about prod -_-

daniel
Автор

Actually there's 0 real lessons learned in this video. Don't waste your time

loudascloudloudascloud
Автор

Blazor Web Assembly has the same paradigm and problems as the OLD OCX controls. Downloading a full app is stupid. Might as well do desktop. Because it will not work correctly on any non-supported (phone) browser, and it will have security and version problems (DLL hell redux).

foobarmaximus
Автор

Im sure blazor has its uses, but ill pass for the moment. Actually working with javascript and other frontend tech has given me huge insights into programming. Skipping that would have been detrimental for me.

Unfortunately, like with other autogen frontend stuff, i feel like this just puts a huge wizard of oz curtain in front of what you are trying to accomplish ( like linq to sql ) and leaves room for bad code and ineffiency.

justinbryson
Автор

Blazor is dead in 3 years. It is simply a mess, weird magic tags that produce stupid HTML.
Just the idea that everything requires a constant connection to the server, imagine the resource cost.

rentefald
Автор

Swedish Companies are using Blazor! So OK then. Good enough for me! lolol

foobarmaximus