File Location (For Local Development Environment)

C:\Users\user01\AppData\Roaming\Microsoft\UserSecrets\e13a4f3c-0111-4fcc-bba1-11d7e67a1b6d\secrets.json

Example

{
    "SendGridUser": "test@test.com",
    "SendGridKey": "123456"
}

Note:

  • Need to create the same entry in configuration when deploying application to Azure.
  • Each project will have a user secret file.
  • Change the name of the project will create a new user secret file.

Last modified: August 26, 2021

Author

Comments

Write a Reply or Comment