BlazorConduit icon indicating copy to clipboard operation
BlazorConduit copied to clipboard

Upgrade to .NET 5

Open JoeyMckenzie opened this issue 5 years ago • 4 comments

With the latest release candidate of .NET 5, I'd like to update the project from .NET Core 3.1 and tackle the move to C# 9 at the same time to utilize some of the new features (a.k.a. record types).

JoeyMckenzie avatar Sep 15 '20 15:09 JoeyMckenzie

I'd be very curious to see the result. The current version has a very big initial download size: 22MB!

image

Any idea when the demo can be updated to the last version of Blazor? Comparing frameworks is not very useful if you stick to outdated versions. Thanks in advance.

JohanHeyvaert avatar Oct 18 '22 13:10 JohanHeyvaert

@JohanHeyvaert you're more than welcome to open a PR to address updating the target framework. I've left this project largely unmaintained due to inactivity on it, but I think it would be great to keep it somewhat up-to-date. I don't see myself contributing much here in the foreseeable future, but will peek on PRs and issues every now and again.

JoeyMckenzie avatar Oct 18 '22 21:10 JoeyMckenzie

Currently I don't have any experience with Blazor. But I would be interested to learn it IF its performance is decent. So I wanted to compare this Realworld implementation with the other ones (React, Angular, Vue, Solid). For now Blazor seems to be a big no no. But I thought it could be better with a more recent version.

JohanHeyvaert avatar Oct 19 '22 06:10 JohanHeyvaert

As for performance, if you can swallow the fact that initial page loads are quite hefty and rely on web assembly loading, then the tradeoff is primarily (I'd argue) more about the DX. Newer versions of .NET have decreased the initial load size from the looks of it, though has a quite a ways to go to catch the frameworks already in place. I, personally, probably wouldn't use Blazor WASM for production, though there are reasons for doing so especially if you're team is 100% .NET and do not prefer JS-based frontend frameworks.

If you already have apps in production, then it's probably not worth it to migrate to Blazor anytime soon if initial load is a concern and you tend to use a lot of web APIs that haven't reached parity with their web assembly counter parts (that will naturally impact Blazor's performance). I would like someone to still take the reigns on this and get the project up to .NET 7.

JoeyMckenzie avatar Oct 24 '22 22:10 JoeyMckenzie