Settings

Theme

Heroku Support for .NET 10

heroku.com

117 points by runesoerensen 2 months ago · 47 comments

Reader

cultofmetatron 2 months 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 2 months 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 2 months 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 2 months 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 2 months 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.

    • mycall 2 months ago

      Is there some layers that run over kubernetes that makes it work similar to heroku in ease? That would either be the best or the worst of both worlds, unsure.

    • cpursley 2 months ago

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

  • netdevphoenix 2 months ago

    It's hard to compare, surely as heroku is basically aws + virtual 24/7 generic dev ops guy. Aws will always be cheaper because heroku itself runs on it. Afaik, the USP of heroku is deployment ease for small/medium projects. If you need complex setups, you need to roll your own in aws.

  • catlover76 2 months 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?

runesoerensenOP 2 months 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
bastawhiz 2 months ago

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

  • keyle 2 months ago

    $1 per function call is possible. /s

    • SeriousM 2 months ago

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

      • weird-eye-issue 2 months ago

        I agree the pricing is ridiculous, but to be fair, it's a different use case because automation tools like that are primarily geared for marketing teams and other non-technical users to connect different systems together. So you're mostly paying for the built-in integrations themselves rather than compute

tlhunter 2 months 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 2 months 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 2 months ago

How does running on expensive clouds become newsworthy?

kwanbix 2 months ago

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

  • pjc50 2 months 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 2 months ago

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

    • jumpkick 2 months ago

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

      • runjake 2 months ago

        I worded that badly, but what I meant is I almost never use ".net", I use "dotnet". Eg, when I'm typing up documentation or an email.

    • locusofself 2 months 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 2 months 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

    • runesoerensenOP 2 months 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 2 months 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.

        • runesoerensenOP 2 months ago

          Fair enough - I meant that, at least in Microsoft's own communication, they started more consistently referring to .NET Framework 4.x to differentiate it from first .NET Core and later .NET.

          While it was always called .NET Framework, it was very commonly referred to simply as .NET (e.g. .NET 4.5) - and the "Microsoft .NET" logo was widely used in .NET Framework branding/marketing.

      • rk06 2 months 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 2 months 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.

        • orphea 2 months ago

          I don't agree. "Core" is another Microsoft-classic crappy nondescriptive piece of naming. I'm glad it went away.

  • andsoitis 2 months 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)

    • kwanbix 2 months ago

      Well, Suzuki Pajero which in (some?) spanish (dialects) means Suzuki Wanker.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection