Re:Ask HN: What would be your stack if you are building an M...
by pc86 on Thursday January 26, 2023 @12:12PM
(#34534716)
That's basically what I mean. I just want to deploy the app and not have to worry about anything OS-related, including IIS config, SSL, etc.
[ Parent
| on HN ]
Re:Ask HN: What would be your stack if you are building an M...
by bob1029 on Thursday January 26, 2023 @12:26PM
(#34534997)
That's exactly what I do - I build a monolith using the self-contained deployment feature and zip it up to the server to run.
The management of certificates, configuration, etc. is built directly into any product I work on. Outsourcing this stuff to IIS, et. al. is exactly how you wind up hating all of this tech in the first place.
Prerequisites are zero if you do this right. I can take a blank EC2 server, copy the binaries over and run them immediately. I don't even have to install any runtimes or SDKs.
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 ?