How do I get the contents of a JSON file I added in the StartUp method to use it in one of my actions?

I’m using the Options Pattern from here: https://docs.microsoft.com/en-us/aspnet/core/fundamentals/configuration?tabs=basicconfiguration#using-options-and-configuration-objects

Leave a Comment