AspNetCore.Docs.Samples/fundamentals/middleware/rate-limit/WebRateLimitAuth/appsettings.json

24 lines
596 B
JSON

{
"ConnectionStrings": {
"DefaultConnection": "Server=(localdb)\\mssqllocaldb;Database=aspnet-WebRateLimitAuth-53bc9b9d-9d6a-45d4-8429-2a2761773502;Trusted_Connection=True;MultipleActiveResultSets=true"
},
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"AllowedHosts": "*",
"MyRateLimit": {
"PermitLimit": 6,
"Window": 9,
"ReplenishmentPeriod": 1,
"QueueLimit": 2,
"SegmentsPerWindow": 4,
"TokenLimit": 8,
"TokenLimit2": 12,
"TokensPerPeriod": 4,
"AutoReplenishment": true
}
}