r/csharp • • Mar 16 '23

Fun When A .NET Developer Learns Blazor

Post image
1.2k Upvotes

153 comments sorted by

View all comments

37

u/spca2001 Mar 16 '23 edited Mar 16 '23

I don’t know a .net dev that doesn’t know how to build ui. 90% of the time company’s had license for a UI control set from telerik or others as well

38

u/crozone Mar 16 '23

Wake me up when I can render WinForms to a HTML canvas

13

u/RamBamTyfus Mar 16 '23

Actually going from WinForms to Blazor with a component library is usually not that painful.
You can even use Blazor directly inside of a WinForms app. This way you can slowly change your code and make a move to the web when needed in the future.

2

u/[deleted] Mar 16 '23

Man i miss winforms. Web dev i so painfully slow for anything complex most of the time.

6

u/zaibuf Mar 16 '23

Telerik also exists for Blazor :) https://www.telerik.com/blazor-ui

3

u/spca2001 Mar 16 '23

Yeah most control libraries from the top 5 have a Blazor pack

1

u/zeta_cartel_CFO Mar 16 '23

I use to like Telerik for their controls and was a fan of their products - That is until they took a nice open source project and made it closed source.

https://github.com/BlazorRepl/BlazorRepl

→ More replies (1)

6

u/ShogunDii Mar 16 '23

Please let's not go back to the abomination that is WebForms

3

u/spca2001 Mar 16 '23

I didn’t know you couldn’t , haven’t used winforms in 20 years though

2

u/LondonPilot Mar 16 '23

Didn’t it get killed off with .Net Core? I never knew i could feel nostalgia for a technology i never used and which was universally thought of as crap, but apparently i can!

9

u/RamBamTyfus Mar 16 '23

No, it is fully supported and in active development. https://github.com/dotnet/winforms

Maybe you mean Webforms? WinForms is not crap, it is limited but simple.

3

u/LondonPilot Mar 16 '23

You are absolutely right - I mis-read it as Webforms.

I know full well that WinForms is alive - I use them regularly at work! I just need to learn to read apparently. Thanks for the correction!

2

u/zeta_cartel_CFO Mar 16 '23

I remember watching some post-Microsoft conference video live stream - where one of the product manager's said that they absolutely have no plans to stop supporting Winform anytime soon. Simply because of the sheer number of applications that are still out there in the corporate enterprise world that were built using Winform. Same goes for .Net framework 4.x. The framework is feature complete. But they won't kill it off anytime soon. Because of 1000s of customers worldwide that have applications still using .net framework 4.x. (and asp.net webforms)

→ More replies (2)

3

u/pvladov Mar 19 '23

It is actually possible to have desktop-like controls in Blazor rendered in an HTML canvas. Take a look at the Nevron Open Vision component suite: https://www.nevron.com/products-open-vision

It's a cross-platform component suite that works on WinForms, WPF, Xamarin.Mac and Blazor WebAssembly from single codebase. In Blazor it renders desktop-like controls in an HTML canvas. Here's a link to the Blazor examples: https://blazorexamples.nevron.com/

Disclosure: I'm one of the developers working on the Nevron Open Vision suite.

9

u/Eirenarch Mar 16 '23

I can build UI that works. It just happens that once people see it they ban me from writing the UI portions of the project, at least the CSS part

8

u/zaibuf Mar 16 '23

My company has plenty that only deals with api, cloud and databases and never touch any UI.

-13

u/spca2001 Mar 16 '23

Yeah but most .net devs at least know razor, it’s half of interview questions sometimes .

11

u/[deleted] Mar 16 '23

Never touched it. Never will. 10 years with .net. 30 overall.

→ More replies (7)

0

u/[deleted] Mar 16 '23

No?

-6

u/spca2001 Mar 16 '23

You are telling me that there are .net devs , getting paid that don’t know how to hookup a basic grid with paging and searching? That’s like the most basic thing in development

5

u/ExtremeKitteh Mar 16 '23

Yes. Just like there are front end devs that don’t know how cloud infrastructure works.

True full stack developers that know the entire SDLC are rare. At least in my experience.

Many companies still segregate front and back end teams much to their disadvantage.

-2

u/spca2001 Mar 16 '23

I’ve been with .net since it’s inception and I’ve never seen a dev who couldn’t build a simple site, and I worked for a lot of large companies in my carrier. I also interviewed a ton of devs and even if you are going to be building simple apis , if you don’t know how to at least build a login page you are not getting hired. Like thats the most basic thing there is

3

u/ExtremeKitteh Mar 16 '23

I have. Plenty. I know how to do these things because I’m interested in both front and back end roles, but most of the people in my job two roles ago wouldn’t be able to do it because they were backend engineers their whole life.

→ More replies (7)

2

u/[deleted] Mar 16 '23

What makes you think razor is "half of interview topics sometimes" for most c# developers?

→ More replies (1)
→ More replies (7)