-
-
Save justinyoo/ff998171e0740f07c548046b355e1dc2 to your computer and use it in GitHub Desktop.
Deserialising .NET Core Configuration Settings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"authentication": { | |
"azureAd": { | |
"aadInstance": "https://login.microsoftonline.com/", | |
"domain": "[TENANT_NAME].onmicrosoft.com", | |
"tenantId": "[TENANT_ID]", | |
"clientId": "[CLIENT_ID]", | |
"clientSecret": "[CLIENT_SECRET]", | |
"callbackPath": "[CALLBACK_URL]" | |
} | |
}, | |
"connectionStrings": [ | |
{ | |
"name": "MyDbContext", | |
"connectionString": "[CONNECTION_STRING]" | |
} | |
], | |
"logging": { | |
"includeScopes": false, | |
"logLevel": { | |
"default": "Debug", | |
"system": "Information", | |
"microsoft": "Information" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment