|I just struggled mightily to get my ASP.NET Core WebAPI running on Debian Linux on a DigitalOcean Droplet.
A few of the things it involves are:
1) building .NET Core WebApi
2) properly deploying .NET Core WebApi
3) installing and configuring nginx (web server) to forward requests to .NET Core WebApi --this is far too short of a item in the list for how difficult I found it to be).
This is necessary because the .NET Core Web API runs at localhost:5000 and nginx faces outward on your public IP Address.
I had tried this a few years ago & failed. Years. I gave up.
Now today, I finally got it working & I understand what I did.
Success! Or, Just, Well, Ok
At the moment I got it working I was like, "well, meh..."
The Point!Once You Solve Something Then It Seems Easy
This is especially true in Software Development World.
The Additional Pain
When you go to tell someone about the things you had to do to get it going their response will be:
A) Glazed-over eyes & boredom
B) "Oh, yeah, that's an easy one that I solved long ago. I guess you're kind of slow, right?"
Columbus Suffered This Also
After sailing around the world and returning the various important people be like, "well, what did you really do? Just kept sailing is all."*
The story goes that Columbus told them he'd explain it all to them if they could balance an egg on its end without any outside support help.
Their best engineers tried for hours.
Finally he came in and took the egg and turned it on its end and very gently cracked the outer shell without cracking all the way through. This flattened the end of the egg and it rested on its end.
This is the same thing with circumnavigating the world the first time.
Once you know it can be done and you know the solution it seems dead simple.
This too, is all of Software Development.
* Egg of Columbus - Wikipedia[^]