Enhanced logging with Serilog, including request logging and structured exception handling during startup. Added support for the Options Pattern with new configuration classes: `DocumentOperatorSettings`, `RedisSettings`, and `ApiKeySettings`. Introduced `TenantInfo` class for tenant management. Updated project files to include new dependencies and removed unused `Configuration` folder reference.
11 lines
378 B
C#
11 lines
378 B
C#
namespace DocumentOperator.Infrastructure.Configuration;
|
|
|
|
public class DocumentOperatorSettings
|
|
{
|
|
public const string SectionName = "DocumentOperatorSettings";
|
|
|
|
public string TempFolderPath { get; set; } = string.Empty;
|
|
public int TempFileRetentionHours { get; set; }
|
|
public int MaxPdfSizeMB { get; set; }
|
|
public bool EnableDetailedLogging { get; set; }
|
|
} |