5 ms·
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.
by pc86 4y ago
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.
- bob1029 4y agoThat'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.
- kbrannigan 4y agoHow 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?
- bob1029 4y agoModern .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/servers/kestrel?view=aspnetcore-7.0 https://learn.microsoft.com/en-us/aspnet/core/fundamentals/s... https://learn.microsoft.com/en-us/aspnet/core/fundamentals/minimal-apis?view=aspnetcore-7.0 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.
- seattle444 4y agoC# is heavily influenced by golang now. Run with 0 dependencies. Web server bundled.
- soulbadguy 4y ago> C# is heavily influenced by golang now Source ?