News for hackers. Stuff that matters.
Re:Ask HN: What would be your stack if you are building an M... by kbrannigan on Thursday January 26, 2023 @12:35PM (#34535184)
How do you setup your webserver. This is the most challenging part for me.

Here's my process. Build locally, publish, upload to server, dotnet run... Now what?

Re:Ask HN: What would be your stack if you are building an M... by bob1029 on Thursday January 26, 2023 @12:56PM (#34535624)
Modern .NET contains the web server. It's not an external thing anymore. You include a .NET library to host your stuff. Check out the minimal api reference:

https://learn.microsoft.com/en-us/aspnet/core/fundamentals/s...

https://learn.microsoft.com/en-us/aspnet/core/fundamentals/m...

Literally everything runs inside your process now, including the database if you go for SQLite.

Re:Ask HN: What would be your stack if you are building an M... by seattle444 on Thursday January 26, 2023 @01:34PM (#34536394)
C# is heavily influenced by golang now. Run with 0 dependencies. Web server bundled.
Re:Ask HN: What would be your stack if you are building an M... by soulbadguy on Friday January 27, 2023 @04:01AM (#34544075)
> C# is heavily influenced by golang now

Source ?