.net7 Web API User Secrets not loading

135 Views Asked by At

I have followed the instructions as per the Microsoft Documentation.

the secrets are not loading for some reason. I'm MacOS using Visual Studio

I tried adding manually using builder.Configuration.AddUserSecrets<Program>();

1

There are 1 best solutions below

0
CMyd On

It was my mistake, I had a typo. Everything is working fine. I did not have to make any changes