Heroku Support for .NET 10

(heroku.com)

96 points | by runesoerensen 17 hours ago ago

33 comments

  • cultofmetatron 15 hours ago ago

    I lament what could have been with heroku. I did some back of the envelope calculations for what it would have cost for my own startup to run on it and it came out to significantly more than what it costs us on aws INCLUDING our dedicated devops guy. They really killed its utility for anything bigger than a hobby project.

    • czhu12 13 hours ago ago

      This is exactly why we built https://canine.sh, to try to rebuild Heroku in the open source

      We begged heroku for years to lower their prices but they just kept increasing it.

      I even showed a rep a side by side comparison of heroku vs raw AWS costs and it was 8x. Absolutely couldn’t justify

    • sleepy_keita 14 hours ago ago

      Yeah. It used to be the go-to for starting simple projects. We have quite a bit of other options in this space now, though - GH Pages, Cloudflare workers, Vercel, Netlify, etc etc...

      • cpursley 4 hours ago ago

        Those are static site providers. For actual server paas that can run docker containers, render.com and fly.io are what heroku could have evolved to.

    • kirillkosolapov 8 hours ago ago

      As the founder of a local cloud very similar to Heroku, I understand Heroku's limitations. It's a balance between control and convenience. The simpler everything is, the better it's suited for small projects, but the less control you have for complex projects. Unless you're just running a hobby project, you'll be using Kubernetes and similar services with full control and the complexity that comes with it. Heroku uses AWS, which means they can't make computations cheaper, otherwise the economics don't add up.

      In my experience, we (I won't advertise) have prices several times lower, and we try very hard to accommodate more serious projects, but 99% of projects are small and consume less than 200 MB of RAM. This is simply the nature of this market and product.

      • cpursley 4 hours ago ago

        I’ll bite, what’s your product. I’m always interested in these types of platforms.

    • catlover76 14 hours ago ago

      > I lament what could have been with heroku. I did some back of the envelope calculations for what it would have cost for my own startup to run on it and it came out to significantly more than what it costs us on aws INCLUDING our dedicated devops guy.

      That's...nuts. o_O

      Are you doing something special, do you guys already have a lot of traffic?

      • dtech 8 hours ago ago

        No, Heroku is just bonkers expensive

  • bastawhiz 14 hours ago ago

    I suppose congrats to Salesforce for inventing the most expensive way to run .Net 10?

    • keyle 12 hours ago ago

      $1 per function call is possible. /s

      • SeriousM 8 hours ago ago

        Isn't that what make.com tries to achieve? Already at 1c per node invocation...

  • runesoerensen 10 hours ago ago

    I wrote this post - for anyone curious, Heroku's .NET support is built on our open source .NET Cloud Native Buildpack (CNB), which is written in Rust and produces standard OCI images.

    You can use it anywhere, even locally, for free. The example in the post uses the .NET 10 file-based app feature we added support for today, so if you want to try the same functionality locally, you can do something like this:

      # Create a minimal .NET 10 file-based app
      echo 'Console.WriteLine("Hello HN");' > Hello.cs
    
      # Build an OCI image using the .NET CNB
      pack build hello-hn --builder heroku/builder:24
    
      # Run it with Docker
      docker run --rm -it --entrypoint hello hello-hn
    
      # Output:
      Hello HN
    
    The "classic" Heroku buildpack shown in the demo video is just a thin wrapper around the CNB implementation: https://github.com/heroku/buildpacks-dotnet
    • jf 10 hours ago ago

      I came here to see if AppHarbor was still running and was pleased to see this post :D

      • runesoerensen 9 hours ago ago

        Hi Joel! I guess you could say AppHarbor's spirit lives on - ".NET on Heroku" feels like a pretty fitting successor to "Heroku for .NET", right?

        Also, the AppHarbor blog is technically still running, so there's that :)

        Hope you're doing well!

  • tlhunter 11 hours ago ago

    Day 1 support for a new runtime is impressive.

    How long does it take AWS Lambda to support the latest Node.js LTS release?

  • jve 7 hours ago ago

    There is also .NET 10 release post for more general discussion on .NET 10 that somehow fell off the ranking: https://news.ycombinator.com/item?id=45888620

  • mythz 14 hours ago ago

    How does running on expensive clouds become newsworthy?

    • oofbey 13 hours ago ago

      TIL: Heroku is still online. A shadow of its former self but still there.

    • christophilus 14 hours ago ago

      I upvoted it before reading, thinking it was Haiku (OS) not Heroku (overpriced SaaS thing). Maybe others did the same?

  • kwanbix 13 hours ago ago

    .net is probably one of the top 10 worst names in history or is it only me?

    • andsoitis 9 minutes ago ago

      Some fun ones:

      - Colgate Kitchen Entrees

      - Ayds Diet Candy

      - Gerber in Africa (in many regions, it is customary for labels to show what's inside. Having a baby on the bottle is just weird)

      - Chevrolet Nova (no va means "don't go")

      - Clairol Mist Stick (in Germany. In German, Mist means manure)

      - Pee Cola (Ghana)

      - Puffs Tissues (Germany) (in German slang, Puff means brothel)

      - Nokia Lumia (prostitute in Spanish slang)

      - ISIS Chocolates (Belgium)

      - Hitachi's Woopie Washing Machine (cute to a Japanese ear, but not to that of an English speaker)

    • pjc50 2 hours ago ago

      No, that's Microsoft's other work in the XBox line. Try saying "Xbox Series X" and "Xbox Series S" and "XBox One S" to ten normal people and asking them to find the correct matching product in a store.

    • runjake 12 hours ago ago

      Probably. But I got over it 25 years ago. I think of it as “dotnet” in my head which seems better.

      • jumpkick 28 minutes ago ago

        Do people say .net in some way other than "dotnet"? Or did I misunderstand?

      • locusofself 12 hours ago ago

        this is the way .. I mostly just think of it as c# too (I know f# etc exists but nobody I know is using it)

    • rk06 12 hours ago ago

      No, you are not alone.for non-tech population, it may make sense that .NET 5 is continuation of .NET 4. But the tech crowd knows .net 5 is to .net 4 is what angular 2 is to angular 1.

      With .net 4 still in active use, the naming makes it harder

      • runesoerensen 11 hours ago ago

        Might be more confusing when you consider that ".NET 5" is actually the continuation of ".NET Core 3.1", not ".NET Framework 4.x"[0].

        Microsoft has historically been pretty bad at naming stuff (sometimes hilariously so, see Microsoft PlaysForSure[1] for an example - spoiler: it surely didn't play for long).

        The rebranding from .NET Core 3.1 to .NET 5, and from .NET 4.x to .NET Framework, did make sense to me though - and increasingly so as development continues on ".NET > 5" with yearly releases, while ".NET Framework 4.x" is in maintenance mode.

        [0]:https://learn.microsoft.com/en-us/dotnet/core/whats-new/dotn...

        [1]:https://en.wikipedia.org/wiki/Microsoft_PlaysForSure

        • oaiey 4 hours ago ago

          .NET Framework was always called .NET Framework and not renamed from NET 4 to .NET Framework. There was a time where .NET was applied as a prefix/suffix to everything Microsoft released. Microsoft Windows Server .NET. that had nothing to do with the framework/CLR/programming platform but with Internet connected features.

        • rk06 10 hours ago ago

          the drop of .NET core branding definitely makes it worse. as the other projects(like asp.netcore, efcore) just can't drop "core" from their names on a whim.

          in my opinion, they should have kept "core" branding, but shortened it to ".NET" for marketing and only for marketing.

          in a better world, Microsoft would ditch the name ".NET" altogether and invent a new one. like LVM (lightweight virtual machine)

          • oaiey 4 hours ago ago

            No. Was hard enough to convince people of .NET Core away from the .NET Framework. Adding a completely different name and I would have several hundred java devs now instead of beautiful .net 10 on Linux.