Use the dotnet user-secrets command to keep secrets (API keys, etc.) separate from our program source code. That way, we can access APIs from our program, using a key, and we can prevent those keys from getting propagated to GitHub, where they may be publicly visible.
This video is part of a playlist on consuming and creating RESTful JSON APIs with C# Razor Pages.
Source code is freely available on GitHub at https://github.com/discospiff/PlantDi...