My first article of 2019!
This article accomplishes quite a few things:
- Determining the rPi version and capabilities.
- Imaging an OS onto a USB drive.
- Setting up SSH so we can use PuTTy and WinSCP to communicate to the rPi.
- Installing Postgres and creating a test database.
- Installing .NET Core 2.2 and testing out Postgres connectivity, both from a Windows box and directly on the rPi.
- Creating an “echo” HTTP server.
- Installing and configuring nginx for HTTP.
- Configuring nginx as a reverse proxy to our .NET Core “echo” server.
- Configuring nginx with a test certificate.
And the big accomplishment here is that we did all this without using ASP.NET Core. Frankly, it’s damn hard to find any articles that are not related to ASP.NET Core with regards to nginx, setting up HTTPS, etc., so hopefully the reader will appreciate the bare-metal approach that I’ve taken here. My next article will dive more into creating a real website (a port from an existing website), working with performance issues (that horrid 8 second connect delay to Postgres) and who knows what else.