first commit

This commit is contained in:
2026-06-29 07:36:04 +02:00
commit 5e5b875e37
108 changed files with 13347 additions and 0 deletions
@@ -0,0 +1,47 @@
{
"Serilog": {
"Using": ["Serilog.Sinks.Console", "Serilog.Sinks.File"],
"MinimumLevel": {
"Default": "Information",
"Override": {
"Microsoft.EntityFrameworkCore.Database.Command": "Information"
}
},
"WriteTo": [
{
"Name": "Console",
"Args": {
"theme": "Serilog.Sinks.SystemConsole.Themes.AnsiConsoleTheme::Code, Serilog.Sinks.Console",
"outputTemplate": "{Timestamp:HH:mm:ss.fff zzz} [{Level}] {Message:lj}{NewLine}{Exception}"
}
},
{
"Name": "File",
"Args": {
"path": "logs/log-.log",
"rollingInterval": "Day",
"outputTemplate": "{Timestamp:HH:mm:ss.fff zzz} [{Level}] {Message:lj}{NewLine}{Exception}"
}
}
],
"Enrich": ["FromLogContext"]
},
"OpenApiInfo": {
"Version": "1.0.0",
"Title": "Dotnet.Samples.AspNetCore.WebApi",
"Description": "🧪 Proof of Concept for a Web API (Async) made with .NET 8 (LTS) and ASP.NET Core 8.0",
"Contact": {
"Name": "GitHub",
"Url": "https://github.com/nanotaboada/Dotnet.Samples.AspNetCore.WebApi"
},
"License": {
"Name": "MIT License",
"Url": "https://opensource.org/license/mit"
}
},
"RateLimiter": {
"PermitLimit": 60,
"WindowSeconds": 60,
"QueueLimit": 0
}
}