Posted 2 December 2020, 3:18 am EST
I’m currently learning ASP.NET and I’m building my first Blazor Server app. I’m having trouble figuring out where and how to incorporate my API key for an API I’m trying to utilize in my app.
Right now I’m able to make REST calls to an open API. I’m using an HttpClient factory for that. Now I’m trying to access a private API which I have a personal key for but I can’t figure out where to actually put the key*. I’m also having a hell of a time finding results on Google because of a ton of blog spam (and also articles for Blazor WebAssembly keep showing up - even more than Blazor Server…).
Thanks!