Simple API Key Authentication Example for ASP.Net Core
This is something I developed to learn and to provide a "proof of concept". It is an example of a very basic API Key authentication for ASP.Net Core.
The program has a single API key which is required in the header in order to get the weather forecast. That's it. I kept it simple while I was learning. As such, it may not represent best practices and may not be an appropriate solution in a production environment.
The following were helpful: