Skip to content

Instantly share code, notes, and snippets.

@Odonno
Last active June 8, 2020 13:14
Show Gist options
  • Save Odonno/ab0f76a1d7bc6a862212321790727fa7 to your computer and use it in GitHub Desktop.
Save Odonno/ab0f76a1d7bc6a862212321790727fa7 to your computer and use it in GitHub Desktop.
.NET Core Azure Templates - appsettings.json
{
"Logging": {
"LogLevel": {
"Default": "Warning"
}
},
"AllowedHosts": "*",
"HealthChecks-UI": {
"HealthChecks": [
{
"Name": "AspNetCoreAzureTemplates",
"Uri": "https://localhost:5001/healthz"
}
],
"Webhooks": [],
"EvaluationTimeInSeconds": 10,
"MinimumSecondsBetweenFailureNotifications": 60
},
"HealthCheck": {
"SignalR": {
"Values": "https://localhost:5001/values"
}
},
"ApplicationInsights": {
"InstrumentationKey": "<INSTRUMENTATION_KEY>"
},
"AzureAd": {
"Instance": "https://login.microsoftonline.com/",
"Tenant": "<TENANT>",
"ClientId": "<CLIENT_ID>",
"ClientSecret": "<CLIENT_SECRET>",
"Roles": {
"Reader": "READER",
"Writer": "WRITER"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment