back to article Farewell .NET 7, support ends in May – we hardly knew you

Support for Microsoft's .NET 7 software framework ends in May, a mere 18 months after its 2022 release – a reminder that the days of enterprise-pleasing long-term updates are receding into the past. .NET 7 made its debut on November 8, 2022, and unlike its predecessor, is a Standard Term Support (STS) release meaning that its …

  1. Roland6 Silver badge

    What was the point of releasing .NET 7

    With only 18 months of support and no guarantee the APIs will be supported in future releases there is no point in developing software that uses .NET as you are highly unlikely to get any reasonable return on investment.

    1. Filippo Silver badge

      Re: What was the point of releasing .NET 7

      Okay, but we really ought to put in perspective what "not supported" means exactly, in practice.

      Just for reference, I made a bunch of .NET 3.0 software, way back then, and it's still working fine on the latest Win11 machines.

      I suppose it might "have vulnerabilities", in theory, but it's not web-facing, it doesn't run as admin, and, anyway, the same could be said of any software that hasn't been recompiled against the latest libraries in 20 years.

      It also could be recompiled on .NET 8 or whatever with minimal changes, if I wanted to. Yeah, they don't guarantee the APIs will be identical for decades, but in practice that's very nearly true in most cases. Which is about the same deal or better as what you can get on every platform under the sun.

      For comparison, I was also making Win32 programs in C++ in the same period, and running them on Win11 was about the same effort. The executables would mostly work, some pain with recompiling with the latest toolchain. I honestly doubt there's any platform where you wouldn't get at least that, except on extremely static platform that seldom see major updates.

      1. Jurassic.Hermit

        Re: What was the point of releasing .NET 7

        I'm still running SyncToy which runs on, I think, .Net 2.1x

        Very simple, lovely little tool, in fact, indispensible.

        1. DJV Silver badge

          Re: SyncToy

          I moved over to using FreeFileSync instead - even lovelier!

      2. FIA Silver badge

        Re: What was the point of releasing .NET 7

        It also could be recompiled on .NET 8 or whatever with minimal changes, if I wanted to. Yeah, they don't guarantee the APIs will be identical for decades, but in practice that's very nearly true in most cases.

        You can't assume this though, as you'll then end up hitting the case where it isn't.

        Our net3 -> 6 migration at work used some of those APIs, and it wasn't a 5 minute job.

        6 to 8 was much easier, but there are other teams that have come across issues with that too.

        Even when the APIs are unchanged and it does appear to 'just work', there's still a round of testing and validation to go through. Also, with anything above the 'trivial' level you're more than likely to have at least one dependency you need to upgrade as well. That's another source of 'I hope they haven't changed the APIs too much'.

    2. abend0c4 Silver badge

      Re: What was the point of releasing .NET 7

      I think this was more of an issue earlier in the lifecycle - there were more cases of incompatible changes as a result of rethinking some of the fundamentals. That seems largely to have stabilised.

      The "big thing" in .NET 7 was ahead-of-time native compliation which is not something many people will be using and was feature-incomplete. It's probably best to regard the ShortStandard Term Support versions as feature previews which allow you to start the development process, but to deploy using versions with greater longevity.

      Externally, there doesn't seem to be much new at all in .NET 9, but I suppose it's an opportunity to get some of the internal changes exercised by a wider audience.

    3. NerryTutkins

      Re: What was the point of releasing .NET 7

      Microsoft has made it quite clear that odd numbered .NET releases will have relatively short term support, while even ones will be long term releases.

      So this is a total non issue. Anyone who developed on .NET 7 would likely be in a team that is constantly developing and upgrading an active product and needed or wanted to integrate new features without waiting for .NET 8. And when .NET 8 came, it would probably have been simple to recompile to that (I found even .NET 6 code easily compiled without changes to .NET 8).

      Anyone building something that wants long term support should use .NET 8 and stick with that even when .NET 9 comes out.

      Is it really that hard to understand?

  2. Ashto5

    Quick Turn Around

    The world of.net moves at a very quick pace.

    If anything it will make developers etc think about long term solutions.

    All of my .net7 just compiled happily under .net8 much as I expected.

    Stay on top and limit tech debt.

    THAT is the job.

  3. ldo

    Nobody Seems To Use Dotnet For Anything Important

    Name one thing Microsoft itself uses Dotnet for: It won’t even used it in Microsoft Office.

    Remember, the Vista trainwreck was largely caused by an attempt to use Dotnet to build lower-level components of the OS. When they threw those out and started again, that delayed the release by about 18 months.

    1. Jumbotron64

      Re: Nobody Seems To Use Dotnet For Anything Important

      I may be mistaken but isn’t Microsoft moving to Rust ?

      1. ldo

        Re: isn’t Microsoft moving to Rust ?

        That, too, sounds like bad news for Dotnet, don’t you think?

        1. NerryTutkins

          Re: isn’t Microsoft moving to Rust ?

          I am not sure Rust and .NET are oriented towards the same tasks.

          .NET is widely used for web development, and Blazor (which sits on .NET) seems very much the future in terms of where Microsoft is going with that. I very much doubt any of that will end up using Rust.

          1. ldo

            Re: Blazor (which sits on .NET) seems very much the future

            You do know Microsoft has been trying to hire Rust programmers, don’t you? They even say publicly they’re being hired to get rid of C♯ code.

    2. abend0c4 Silver badge

      Re: Nobody Seems To Use Dotnet For Anything Important

      A lot of infrastructure stuff is written in .Net, but you only asked for one example:

      https://devblogs.microsoft.com/dotnet/microsoft-teams-permission-service-migration-to-dotnet-6/

      1. ldo

        Re: Nobody Seems To Use Dotnet For Anything Important

        Interesting link, but it only describes one small part of Teams, the “Permission Service”. Don’t they use Dotnet for the rest of it? If not, why not?

  4. Michael Hoffmann Silver badge
    Joke

    .net 7?!

    You lucky bastards! You lucky, lucky bastards! Proper architects pets aren't ye? You must have slipped them a few quid eh? What wouldn't I give to use .NET 7! I sometimes lie awake at night dreaming of using .NET 7.

    I got thrown in to help out at a project that uses .NET 3.5.1 ! I asked for one cross instead (first door on the left), because using an antique version of .NET is more painful than crucifixion.

    1. Michael Hoffmann Silver badge
      Facepalm

      Re: .net 7?!

      Downvoters don't know their Monty Python, I s'pose.

      1. Anonymous Coward
        Anonymous Coward

        Re: .net 7?!

        There is little enough proper python around now, without parading this distorted garbage!

        1. deadlockvictim

          Re: .net 7?!

          Are you suggesting that dot Net requires more bishops (Leicester is good but I'd prefer Bath & Wells) to make it more surreal?

    2. Anonymous Coward
      Anonymous Coward

      Re: .net 7?!

      Some time ago I built a set of tools in .net 2 (because they had to run on multiple machines not under our control and that was the lowest common denominator). Now in theory those tools would still work but the lack of support for later versions of TLS in old frameworks meant that (due to my having sloped off to a new job) the rest of the team had to take on the job of migrating to a newer framework (where the same problem still exists - can't go straight to the bleeding edge because the target landscape is a mixed bag so again it's pick a compromise version and plant a flag, repeat again at some point in the future).

      Management are super happy about all of this because the toolset it replaced ran in VB6 (yes, yes I know) for donkeys years without complaint. <shrug> progress.

  5. spireite Silver badge

    Do Devs really want to do reguar updates?

    In my circle of Devs, the last thing they want is to get in a regular cycle of upgrades....

    Taking Open Source as the example, it's hard work keeping pace.

    Incidentally, I know ,NET is still used plenty but almost exclusively it's 99% in the Windows ecosystem. I haven't come across anyone using it outside of POC in Linux.

    1. trevorde Silver badge

      Re: Do Devs really want to do reguar updates?

      I've worked on quite a few projects which used .NET on Linux without problems.

    2. HandleBaz

      Re: Do Devs really want to do reguar updates?

      I expect most .NET will be running on linux sooner rather than later, as people start shifting to containerized apps.

      My current employer is shifting from Oracle based monoliths to .NET microservices running on Alpine-based containers.

      Half of the devs aren't even running windows boxes for their dev machines.

  6. Vader

    Do Microsoft themselves use .NET at all?

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon

Other stories you might like