Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to .NET 5 #6

Open
JoeyMckenzie opened this issue Sep 15, 2020 · 4 comments
Open

Upgrade to .NET 5 #6

JoeyMckenzie opened this issue Sep 15, 2020 · 4 comments
Labels
enhancement New feature or request

Comments

@JoeyMckenzie
Copy link
Owner

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 JoeyMckenzie added the enhancement New feature or request label Sep 15, 2020
@JohanHeyvaert
Copy link

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.

@JoeyMckenzie
Copy link
Owner Author

@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.

@JohanHeyvaert
Copy link

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.

@JoeyMckenzie
Copy link
Owner Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants