adding ApiKey to a ASP.NET Core app

black

Posted on
Oct 31 2024

The docs show two blocks of code. Should I use both? Or just one of them? Here is the screenshot: enter image description here


Jared

Raygun

Posted on
Oct 31 2024

Hello!

Thank you for reaching out. You only need to use one configuration block, either the appsettings.json configuration or the in-code configuration.

I can see that distinction isn't very clear in the docs. We will look into improving that!

Cheers, Jared


Reply