Ex2 (integrado): decorator de cache para IWorkshopRepository + TTL por Options

This commit is contained in:
Arthur Faria
2025-10-14 19:44:18 -03:00
parent 047c1a7ddb
commit fc6f5fd1de
8 changed files with 222 additions and 2 deletions

View File

@@ -8,7 +8,8 @@
"Jwt": {
"Issuer": "CampusWorkshops",
"Audience": "CampusWorkshops.Api",
"Key": "some-key"
"Key": "some-key-that-is-super-secret-always-secured"
},
"Cache": { "DefaultTtlSeconds": 15 },
"AllowedHosts": "*"
}