r/csharp • • Jun 10 '24

When A .NET Developer Learns Blazor

Post image

[removed] — view removed post

201 Upvotes

40 comments sorted by

17

u/[deleted] Jun 10 '24

So is Blazor any good?

31

u/edgeofsanity76 Jun 10 '24

Yeah it is. But if you think it means you don't have to learn JS or CSS or HTML then think again.

It's like MVC but components based that has it's render pipeline server side or will compile to a web assembly for portability.

5

u/gloomfilter Jun 10 '24

What really puts me off it is that every presentation I've seen on Blazor pitches "..without a single line of javascript", as the major advantage. As someone who's equally at home with FE and BE development, it just seems strange to pitch it that way.

6

u/TheOtherManSpider Jun 10 '24

Maybe I'm old (generation X), but a lot of my peers specialized in desktop and server because Javascript was so awful back in the day. It's better now, but I wouldn't call it good by any stretch. Being able to use Blazor without any Javascript is definitely a selling point to me, even if it's only 98% true.

1

u/gloomfilter Jun 10 '24

Gen X too, and I think JS is great..., for me if the main selling point of technology B is that you don't have to use technology A, that doesn't really attract me if I'm fine with technology A.

2

u/edgeofsanity76 Jun 10 '24

It's pretty quick to get quite an advanced site up and running but there is literally a JS interop library built into blazor so you can call functions via JS. So not sure why they pitch that. To get properly dynamic pages you need JS.

1

u/hergendy Jun 10 '24

Maybe because you can build a proper web application even without using JS, it will not be the next big hit, the best user experience or whatever, but it will work just fine for what it is.

1

u/autokiller677 Jun 10 '24

Not having to do JS is a major selling point for me. Coming from years of developing with strongly typed languages, a robust type system and a great dependency management, not having to descent into some JS framework is a big win.

That said, yeah, you still need some JS when doing Blazor. But the stats on the repo of the project my company is currently working on is less than 2% JS, and the rest nice C#.

Oh well, and of course CSS. Never gonna get away from that hellhole it seems.

15

u/Bobbar84 Jun 10 '24

I love Blazor. It's so easy to get a SPA up and running and hosted it feels like cheating.

2

u/welcome_to_milliways Jun 10 '24

Point of reference, I made ProblemFinder last weekend. 90% completed in a day, and with occasional tweaks the past week. I’m pretty happy with it (as an MVP).

It’s a static Blazor Web Assembly app, statically deployed to Cloudflare (no back end).

2

u/SilverTroop Jun 10 '24

I wouldn't put any faith on Microsoft sticking to it for any reasonable period of time, which automatically takes it out of contention for any serious project

1

u/autokiller677 Jun 10 '24

Fair point, but it’s not like the JS community is known for keeping the same framework for a long time.

Web is just „fast paced“. Lots of stuff changing quickly.

0

u/SilverTroop Jun 10 '24

But blazer is different enough from anything else out there that if it stops being supported you’re in deep trouble. Not to mention that we’re not in 2015 anymore, most major frameworks aren’t going anywhere and will surely keep being supported. On the other hand, Microsoft’s track record with creating “Microsofty” solutions for industry problems that are already solved by others and then abandoning them is terrible.

0

u/Top3879 Jun 10 '24

Only for prototyping and intranet apps. I would never use it for public facing production stuff.

6

u/edgeofsanity76 Jun 10 '24

Well not sure why. We have a fintech app running perfectly well with thousands of concurrent users

1

u/Khomorrah Jun 16 '24

Do you mind sharing the site? I’m curious to see more than hobby projects running blazor.

1

u/[deleted] Jun 10 '24

Only if you can't do actual front end work. It's far less capable and complete than the popular front end frameworks

0

u/Khomorrah Jun 10 '24

It’s okay. I wouldn’t personally pick it again but I don’t mind working with it at my job.

3

u/lweinreich Jun 10 '24

This is me... Old c# backend developer currently youtubing my way through Blazor and I love it.

1

u/Romucha Jun 10 '24

Is WPF considered front-end, I wonder?

1

u/iMotorboater Jun 10 '24

Lmao yes 😆 Built SPAs without being forced to use JS and I love it. If the initial WASM download is eventually optimized into a trivial size then it’s basically perfect

0

u/JohnnyEagleClaw Jun 10 '24

Hahaha 😂 👍

-31

u/[deleted] Jun 10 '24

Front end, full stack meaningless and shitty terms made by people who have never programmed

8

u/shiko098 Jun 10 '24

Why are they meaningless and shitty terms? I'm genuinely curious why you have this opinion.

-8

u/[deleted] Jun 10 '24

because some people dont know that not all front end is web, same with full stack

11

u/shiko098 Jun 10 '24

Why does that matter though? Just because someone doesn't understand that point doesn't make the terms meaningless.

-7

u/[deleted] Jun 10 '24

if the terms means something entirely else that it seems to say then you can say it is meaningless, it is my opinion, i guess you are a web dev if you don’t agree, right?

-1

u/scandii Jun 10 '24 edited Jun 10 '24

all front end is web development, because front end development is the umbrella term we use for web development.

furthermore, full stack means someone that can program in both web technologies and backend technologies such as C#.

I get that you think that the term should extend to all graphical user interfaces in say desktop or smartphone applications by the reasoning of them too having front ends, but it doesn't. you can dislike this all you want but it doesn't change the fact that front end developer is an established industry term that means web developer. don't believe me? try to find a job posting that says otherwise.

my personal guess as to why the terminology ended up this way is that as a C# dev you can already make say WPF applications so there is no need to make a distinction in job postings if you want someone to work on a desktop application and people making smartphone apps are called app developers in their job postings so they don't need to be called front end developers either.

2

u/_XxJayBxX_ Jun 10 '24

This is very interesting to me. I could have been mistaken with this, but what I’ve been learning in my degree path is that front end is all UI work whether that is web app, mobile app, desktop app etc. if what you are saying about the job market is true and that there is a significant distinction in the actual terminology here then it is really good to know. Thank you

1

u/scandii Jun 10 '24

yes, that is the confusing part. that a front end is any user facing interface, while a front end developer is actually only a web developer even if the term logically should include any front end developer.

2

u/_XxJayBxX_ Jun 10 '24

Ok I’ll keep that in mind. Thank you

2

u/Envect Jun 10 '24

I get that you think that the term should extend to all graphical user interfaces in say desktop or smartphone applications by the reasoning of them too having front ends, but it doesn't.

Those are still frontends. The world is bigger than just web development.

-1

u/scandii Jun 10 '24

yes, I am fully aware of this fact as I even listed other front ends for your benefit. that doesn't change the fact that the term front end development does not apply to these types of front ends. welcome to industry terminology, it is not always logical.

2

u/Envect Jun 10 '24 edited Jun 10 '24

You're as bad as the person you were responding to. I'm not going to argue semantics with you. The term is used more broadly than in job titles.

0

u/scandii Jun 10 '24

I mean, it is a semantics issue to begin.

2

u/Envect Jun 10 '24

Sure. And I'm not going back and forth about it. You're certain you're correct, I'm certain I've had many conversations with many developers that confirm you're wrong. Let's leave it at that.

1

u/[deleted] Jun 10 '24

[removed] — view removed comment

8

u/RICHUNCLEPENNYBAGS Jun 10 '24

Nah give me a real freak who loves that shit so I don’t have to do it