Most active commenters

    ←back to thread

    .NET 10

    (devblogs.microsoft.com)
    484 points runesoerensen | 14 comments | | HN request time: 0.678s | source | bottom
    Show context
    jitbit ◴[] No.45888669[source]
    For us, every .NET upgrade since .NET 5 has gone surprisingly smoothly and reduced CPU/RAM usage by 10–15%.

    We were even able to downgrade our cloud servers to smaller instances, literally.

    I wish .NET was more popular among startups, if only C# could get rid of the "enterpisey" stigma.

    replies(26): >>45888799 #>>45888804 #>>45889332 #>>45891939 #>>45896032 #>>45898279 #>>45898305 #>>45898358 #>>45898503 #>>45898877 #>>45899062 #>>45899235 #>>45899246 #>>45899326 #>>45899445 #>>45899481 #>>45899858 #>>45900544 #>>45900791 #>>45900829 #>>45903218 #>>45904345 #>>45904435 #>>45905041 #>>45906073 #>>45907122 #
    1. pier25 ◴[] No.45904345[source]
    > I wish .NET was more popular among startups, if only C# could get rid of the "enterpisey" stigma

    There are plenty of real issues that are not the enterprise stigma.

    I built a backend web api this year with it and C# is fantastic. EF Core is truly one of the best ORMs I've ever used. That said, I regret that decision and won't be using it again for any new projects.

    Honestly it looks like Microsoft is distracted and doesn't really know what to do with .NET. Everywhere you look there are tons of half baked projects like Blazor, Identity or Kiota and progress in .NET is super slow. It's probably going to get worse now with all the AI crap.

    replies(6): >>45904474 #>>45904483 #>>45905122 #>>45905539 #>>45905817 #>>45906088 #
    2. hvb2 ◴[] No.45904474[source]
    > That said, I regret that decision and won't be using it again for any new projects.

    Genuinely curious, why?

    3. shortrounddev2 ◴[] No.45904483[source]
    Just stick with the classic frameworks. Razor works great as does MVC WebAPI
    replies(1): >>45904677 #
    4. pier25 ◴[] No.45904677[source]
    I tried Razor. It's mature, has tons of features, and it's very fast. But it only really solves rendering HTML.

    You will still need to integrate Vite somehow to use modern CSS, TS, etc. And if you do that, why even use Razor to begin with?

    Also, hot reload is garbage. C# will never get close in speed or features to something like Vite.

    replies(1): >>45906253 #
    5. mpweiher ◴[] No.45905122[source]
    > EF Core is truly one of the best ORMs I've ever used. That said, I regret that decision and won't be using it again for any new projects.

    Hmm...there appears to be an interesting story and/or reason there...care to share?

    6. giancarlostoro ◴[] No.45905539[source]
    I'm the same. I'm both a Python and C# developer. I use Python for all my personal projects, and given the choice, for MOST projects I'll always pitch Python first, Django gives me the strengths of something like ASP .NET / EF Core, but without feeling like they're building more abandonware. I really love Blazor and heck even MAUI, but will they still be there in 10 years? Probably, will Microsoft have some new project that replaces them? probably.

    Then there's Django. Rarely changes, only for the better. Upgrading Django versions is usually painless too. The ORM is fine enough.

    replies(1): >>45906204 #
    7. mrsmrtss ◴[] No.45905817[source]
    >Everywhere you look there are tons of half baked projects like Blazor

    We used Blazor years ago and it worked flawlessly already then. Hard to believe it's worse today. And what's wrong with Identity?

    >progress in .NET is super slow

    Compared to what?

    8. wvenable ◴[] No.45906088[source]
    I had high hopes for Blazor but it didn't really materialize. Instead I'm just sticking with Angular.

    I don't think Microsoft doesn't know what to do with .NET. I think it continues on a very logical and direct path. But they have no idea what to do with UI on any platform. Luckily they haven't even deprecated any of the existing options and on the web, at least, you have all the same options as every other platform.

    replies(2): >>45906602 #>>45907414 #
    9. toyg ◴[] No.45906204[source]
    It is ironic when companies like Microsoft and Google end up showing the sort of "permanent reimplentation" behaviour that used to be typical of opensource, whereas certain opensource projects persist seemingly forever. Python, Django, Emacs - these things will likely see the end of the galaxy; meanwhile, big companies now build and discard key projects every other year.
    10. shortrounddev2 ◴[] No.45906253{3}[source]
    If youre intent on writing everything on the frontend in javascript then you can just have a frontend app and use webapi MVC on the backend. Personally, in my personal projects, I find I iterate faster if I dont't write any javascript. Every page is just static HTML and any interaction is done via CSS (which you can do perfectly well in razor pages) or html forms. Managing page state is a huge time sink and IMO not worth it, but it's what pays the bills lol
    11. rblatz ◴[] No.45906602[source]
    I avoided Blazor, despite multiple people on my teams pushing for it. It always felt like it fit in the same space as web forms and silverlight. A product created to fill a gap of developers that wrote desktop apps and don't want to learn how to write front end code for the web. Plus it binds you to the product lifecycle of a .net side project that likely will be abandoned.

    While Blazor has some cool stuff built in, the cool stuff never felt worth the risk of building a product around it.

    replies(1): >>45907788 #
    12. to11mtm ◴[] No.45907414[source]
    Blazor honestly is great for 'I need to write a simple backend control plane for whatever'. I.e. internal only stuff where you care about just shipping something functional and don't care too much how it all looks/etc.

    Further you go away from that circle, the less enticing it is.

    replies(1): >>45907653 #
    13. AshleyGrant ◴[] No.45907653{3}[source]
    Why is that? Do you speak from real-world experience?

    Not trying to push back. We're planning to use it for some new projects we have coming up on our team of .NET devs who can't seem to grok Angular or React and the entire ecosystem of tooling required, so I'm looking for reasons we shouldn't use it aside from Blazor being rather unpopular compared to Angular/React/other JS libs

    14. wvenable ◴[] No.45907788{3}[source]
    Honestly, I was wishing that Blazor was in the same space as web forms.

    There is a market for front-end development that isn't steeped in the hell of actual front-end development. Blazor is almost the right idea but I think this incarnation is a dead end. Somebody needs to gather up all the pieces and figure it out for real.