hu3 5 hours ago

I have a lot of respect for the .NET team. They often publish great in-depth articles and their pursuit for performance is relentless (e.g. see Kestrel and Entity Framework evolution).

And ASP.NET is one of the few large projects which managed to survive a large breaking changes. Almost to Python 2->3 level. You had to change how your web app behaved completely if you relied on their magic session which worked hard to keep state synched between back and front.

Feels good to have 3 trillion dollars interested in improving the stack you use and actually care.

Developers! Developers! Developers!

  • yndoendo 3 hours ago

    Last time I tried Entity Framework it was slow. Replaced it with Dapper and a simple custom migration system. This took database validation and seeding from 10 seconds to less than 2 seconds during startup on low powered hardware with SQLite. The queries created by Entity had pointless cascade of multiple join statements.

    I have been reaching for GO with simple tooling and HTTP back end. .NET is useful for other solutions.

    I have had too many issues with their frameworks, like WPF, needing to implement Win32 hacks. Example, .Net 9 was the first Windows version that properly returns all network interfaces. Older runtimes only expose Enabled NICs. I still have to maintain Windows 7 support for some solutions.

    • vjvjvjvjghv 2 hours ago

      We are also running into more and more performance issues with EF. There are ways to tune it but I am not sure if it’s worth learning this for EF or if it’s not better to just go for straight SQL. Seems MS has this tendency to create abstractions that then don’t work 100%. I see this with .NET too. Often you have to go down to Win32 for apps that are tightly coupled with Windows and hardware.

zem 4 hours ago

one thing that struck me was that the foundation for this effort was the linux distro build system. in other words, the work they put into making .net open-source and cross-platform eventually made everyone's lives easier.

N_Lens 5 hours ago

.NET was a solid choice for backend builds before Node became so popular (And .NET is generally more performant than Node).

I hope this churn in .NET builds is temporary because a lot of people might be looking to go back to something stable especially after the recent supply chain attacks on the Node ecosystem.

  • chokolad 5 hours ago

    > I hope this churn in .NET builds is temporary because a lot of people might be looking to go back to something stable especially after the recent supply chain attacks on the Node ecosystem.

    Can you elaborate a bit? This article talks about internal machinery of building .net releases. What does that have to do with "this churn", whatever that is?

    • a1o 4 hours ago

      My guess is if you build with .NET Framework you can just forever run your builds, but if your source code is based on newer .NET you have to update to a new version each year, and deal with all the work in upgrading your entire project, which also means everyone in your team is also upgrading their dev environment, and now you have new things in the language and the runtime to deal with, deprecation and all that. Plus lots of packages don’t update as fast when version changes occurs, so chances are you will probably take more work and use as few dependencies as possible if at all, which may cause a lot of work. Instead it’s best to, if you need to depend on something, to be a very big Swiss Army knife like thing.

      I think node is just more flexible and unless .NET Framework like forever releases or much longer term support make a come back, there’s no good trade off from node, since you don’t even get more stability.

      • gregmac 3 hours ago

        > if your source code is based on newer .NET you have to update to a new version each year

        .NET has a really refreshingly sane release life cycle, similar to nodejs:

        - There's a new major release every year (in November)

        - Even numbers are LTS releases, and get 3 years of support/patches

        - Odd numbers get 18 months of support/patches

        This means if you target LTS, you have 2 years of support before the next LTS, and a full year overlap where both are supported. If you upgrade every release, you have at least 6 months of overlap

        There's very few breaking changes between releases anyway, and it's often in infrastructure stuff (config, startup, project structure) as opposed to actual application code.

        • wolpoli 3 hours ago

          > Odd numbers get 18 months of support/patches

          The recently fixed the friction with odd number releases by providing 24 months of support.

        • fijiaarone 3 hours ago

          Ah, but if you use node.js you get breaking changes every other day from dependencies on dependencies you didn’t even know you had.

      • Krutonium 3 hours ago

        I think it's important to remember that Dotnet projects can use code built for older releases; to an almost absurd degree, and if you don't go to before the .NET Framework divide, you largely don't even need to change anything to move projects to newer frameworks. They largely just work.

        The .Net platform is honestly the most stable it has ever been.

      • zmj an hour ago

        Recent experience report: I updated four of my team's five owned microservices to .net 10 over the past two weeks. All were previously on .net 8 or 9. The update was smooth: for the .net 9 services, I only had to update our base container images and the csproj target frameworks. For the .net 8 services, I also had to update the Mvc.Testing reference in their integration tests.

        It's hard for me to imagine a version increment being much easier than this.

      • acedTrex 4 hours ago

        The past three years of dotnet upgrades have been completely painless for me.

      • neonsunset 2 hours ago

        Note how practitioners of .NET praise it and non-practitioners (users of .NET Framework) criticize it.

    • da_chicken 4 hours ago

      What do you mean? The .Net ecosystem has been generalized chaos for the past 10 years.

      A few years ago even most people actively working in .Net development couldn't tell what the hell was going on. It's better now. I distinctly recall when .Net Framework v4.8 had been released and a few months later .Net Core 3.0 came out and they announced that .Net Standard 2.0 was going to be the last version of that. Nobody had any idea what anything was.

      .Net 5 helped a lot. Even then, MS has been releasing new versions of .Net at a breakneck pace. We're on .Net 10, and .Net Core 1.0 was 9 years ago. There's literally been a major version release every year for almost a decade. This is for a standard software framework! v10 is an LTS version of a software framework with all of 3 years of support. Yeah, it's only supported until 2028, and that's the LTS version.

      • Rohansi 2 hours ago

        The only chaos occurred in the transition from .NET Framework to .NET (Core). Upgrading .NET versions is mostly painless now because the breaking changes tend to only affect very specific cases. Should take a few minutes to upgrade for most people.

  • anonymous908213 5 hours ago

    Not sure about the past tense here. .NET is still excellent and getting even better with every release. What instability are you talking about? There was the leap to .NET Core which was majorly breaking, but that was almost 10 years ago now.

    • frank_nitti 3 hours ago

      If they’re in a team similar to some I’ve worked with, engineers are barely getting comfortable with the shift away from .NET Framework (!)

      There are legions of developers for whom Visual Studio on Windows is the only place they have ever been comfortable. And upgrading between versions of .NET is a point-click exercise between the various UIs (Visual Studio Installer, “Get New Components or Features”, and the NuGet package manager)

      The advent of .NET Core happened to coincide with initiatives to adapt:

      * toward the cloud and away from IIS and Windows Server

      * toward Git and away from TFS

      * toward remote CI/CD and away from “drag my files into inetpub”

      * toward SPAs and away from ASP.NET XAML programming (Blazor notwithstanding)

      * toward a broader toolkit where the familiarity with OSS and open specs is advantageous, and away from Visual Studio as the center of the universe (though it still arguably reigns supreme in its class of IDEs)

      Coming from the Linux/Docker world before going deep in .NET, I was both resented and leaned on heavily for these teams’ transitions. Most of my teammates had never read the contents of their .csproj or .sln files, or run a build command from a terminal and read its log output. They were annoyed by my requests to do so when helping them troubleshoot; some just rejected the idea outright (“there’s no need to look at VS internals here”, “we shouldn’t need to run DOS commands in today’s world, VS should hable this!”)

      I can definitely sympathize with developers who were sold on what seemed like a promise that deep VS/IIS/etc knowledge would be the rock-solid foundation for business software for the rest of their careers. During the uprooting process, other promises like “netstandard2.0 will be forever for your core libraries and all future .NET runtimes!” end up with asterisks the following year.

      I am 100% in agreement that .NET dev team is doing an amazing job, but it’s precisely because of their continued shakeups when they see major opportunities to improve it from the ground up, and probably the same reason that others feel wary of it

  • arnonejoe 3 hours ago

    I love C#. When combined with JetBrains Rider it may be the most satisfying dev experience I’ve had in my career.

  • smt88 2 hours ago

    .NET churns less than any other major stack. Every upgrade since Core 2 (released in 2017) has been minimally painful or, more recently, painless.

  • croes 2 hours ago

    Is nuget any different from npm

  • martinald 5 hours ago

    This isn't really anything user facing. It's just yet again an example of why monorepos are better.

    • jerezzprime 5 hours ago

      Anything is a monorepo if you submodule hard enough lol

  • tonyhart7 5 hours ago

    .Net need a "node" level of developer experience and perfomance of rust/zig since node/python ecosystem rewrite make it more perfomance than ever

    I cant see .net win againts those odds tbh

    • smt88 2 hours ago

      .NET has a far better developer experience than Node and is nearly as fast as Rust if written for performance, certainly much faster than Node or Python

      • tonyhart7 37 minutes ago

        numbers speak for themselves

    • smashedtoatoms an hour ago

      [flagged]

      • tonyhart7 40 minutes ago

        downvoted for saying truth

        who tf needs .Net when there are Go, Node(bun), Rust/Zig etc

        1. Net is not faster than (Rust, Zig)

        2. ecosystem is smaller (Node,Python)

        3. less developer experience (Go,Node)

        there is no need to fill up the gap

  • SamuelAdams 5 hours ago

    I love working with dotnet, but lately I’ve been writing more backend applications in Python. The code is simpler, testing is simpler since method privacy doesn’t really exist, and code is quicker to deploy because you do not have to compile it.

    This could also change but in my experience AI is better at generating Python code versus dotnet.

    • martinald 5 hours ago

      Problem is though Python is slow at runtime. May not matter for many use cases, but I've worked with a lot of startups that suffered terrible reliability problems because they chose Python (or Rails, or Node to some extent) and the service cannot handle peak time load without a lot of refactoring and additional app servers.

      Depending on your framework Python is at best ~3x slower (FastAPI) and at worst ~20x (Django) than asp.net on the techempower benchmarks, which maps pretty well to my real world experience.

      • casper14 5 hours ago

        Can confirm. Just finished load testing a FastApi service. Now the biggest selling point is that a lot of real backend never experience the level of load where this actually matters

      • mynameisash 4 hours ago

        I don't spend a lot of time building services, but the last few I've done, I actually went straight to Rust. The downside is that it's quite slow to develop -- I probably don't have the knowledge that others do, but it seems that frameworks could really use some work. That said, I love that I can find and fix most my problems during development. Building a service in Python means I'm constantly fixing issues in production.

        .NET is certainly better than Python, but I'm not very happy with the type system and the code organization versus my Rust projects.

      • jtbaker 3 hours ago

        Not saying that it’s necessarily the right choice, but it opens up contributions to code to a broader user base and making those rapid iterations that tools like fastapi allow can be pretty important when proving out a concept early on.

        Horses for courses… also, a Horizontal Pod Autoscaler and Load Balancer setup is pretty cheap.

      • WD-42 4 hours ago

        Most web apps are waiting on the DB anyway. Rarely have I seen the speed of the actual framework make any meaningful difference.

    • sanex 5 hours ago

      If you don't want your methods to be private make them public?

      • carry_bit 4 hours ago

        Just make them internal and use [InternalsVisibleTo] on the assembly.

    • UltraSane 5 hours ago

      I'm moving from Python to Java because of how much easier it is to actually use all CPU cores in Java and strict typing prevents so many bugs and it is much faster. I don't think it is actually that much more complicated than Python in 2025.

      • martinald 5 hours ago

        Agreed. It's sort of crazy how little people understand about multicore software design given nearly everyone is using machines with >8 CPU cores these days (even a cheap android phone tends to have 8 cpu cores these days).

        In python and node it is _so_ painful to use multiple cores, whereas in .net you have parallel for loops and Task.WhenAll for over a decade. Java is similar in this sense that you don't have to do anything to use multiple cores and can just run multiple tasks without having to worry about passing state etc between 'workers'.

        This actually becomes a really big problem for web performance, something I'm deeply passionate about. Not everything is just IO driven holdups, sometimes you do need to use a fair bit of CPU to solve a problem, and when you can't do it in parallel easily it ends up causing a lot of UX issues.

        • fijiaarone 3 hours ago

          On most cloud deployments, you get one shared “virtual” core — whatever that means.

          • UltraSane 3 hours ago

            No you get how ever many you choose and are willing to pay for. 1vCPU is not good for very much.

        • UltraSane 3 hours ago

          Even Guido van Rossum admits that if he had known how common high core count CPUs would become he wouldn't have chosen to use the GIL

      • mlhpdx 4 hours ago

        That’s one reason I’ve preferred .Net. Put ahead of time compilation on top and it is glorious.

      • zem 4 hours ago

        out of curiosity, why not kotlin? I had the impression it was the jvm language to reach for by default these days.

        • a57721 2 hours ago

          I am doing backend in Kotlin, but I must admit that Java has been catching up quickly, and it seems like Kotlin has been shifting its focus to Kotlin Multiplatform. Modern Java is a good, pleasant language and a safer bet.

          Gradle with Kotlin DSL is nice, what's annoying is Gradle's constant API reshuffling for the sake of it that breaks plugins. Some plugins also introduce pointless breaking changes just to have a fancier DSL.

          The IDE support is not an issue in practice, in my opinion, because IDEA is the best IDE for both Java and Kotlin. The official Kotlin LSP was released 6 months ago, but I haven't tried it.

        • UltraSane 3 hours ago

          I'm dabbling and like it but there is just SO MUCH JAVA code. There are 1000 Java examples for every 1 Kotlin. Maybe LLMs make this less of an issue now though.

        • lock1 4 hours ago

          Has too much sugar, and without JetBrains IDE you're stuck with a plain text editor. Not sure if it's generalizable to normal Kotlin or not, but learning Gradle Kotlin DSL made me want to rip my hair out when trying to understand what happens under the hood.

ZeroConcerns 5 hours ago

Oh, wow, I didn't expect that the best thing I'd read about software engineering, like, this year would come out of Microsoft! Don't get me wrong: I like .NET, especially its recent incarnation, but until just now, I would have expected its robustness to be an against-all-odds under-the-radar lucky escape from the general enshittification that seems to be the norm for the industry.

Reading something like this, which outlines a coordinated effort (diagrams and even a realistic use case for agentic LLM usage and all!) to actually and effectively make things better was a breath of fresh air, even if towards the end it notes that the remarkable investment in quality will not be in full force in the future.

Even if you don't care about .NET and/or Microsoft, this is worth reading, doubly so if you're in charge of re-engineering just about anything -- this is how it's done!

yodon 5 hours ago

Must have been an amazing effort to be involved in.

cadamsdotcom 5 hours ago

> We’re asking how much it will cost to build 3-4 major versions with a dozen .NET SDK bands between them each month.

Why so many variants?

  • martinald 5 hours ago

    Well you've got .NET 8 (LTS), .NET 9 (standard support), .NET 10 (LTS). These are all supported at once.

    Then you've got the .NET SDK/aspnet/runtime (on x64/arm32/arm64 linux/mac/windows), and also the various SDK packages themselves.

    • cadamsdotcom 5 hours ago

      3**4 = 81 builds - but aren’t all of those independent and thus parallelizable?

      • martinald 5 hours ago

        No, read the article. It needs to build some "sub" SDKs to build the final 'full' SDK packages. That's the whole point; they want to get to a state where they can do that.

Yokohiii 4 hours ago

I can see that high level overviews of complex systems are useful to get some insights, but in the same way I have the feeling that this mentality of high level, abstract organization is the root of the problem. If you have a complex system and simplify the components into abstractions, you will repeatedly run into difficulties because you've actively ignored the dirty bits. It's an top down approach that tries to tackle all issues, but an bottom up approach could even eradicate myriads of issues.