Adds a local observability stack and container wiring

This commit is contained in:
BinaryAlley committed 2026-08-22 06:27:55 -07:00
1 parent 6af3d4f5e5
commit 0f903e6ff2
10 files changed
+315 -3

No files matched your search

@@ -25,7 +25,8 @@ internal static class PresentationWebLayerConfiguration
// add the configuration sources to the configuration builder
configuration.AddJsonFile("appsettings.json", optional: false, reloadOnChange: true);
configuration.AddJsonFile("appsettings.development.json", optional: true, reloadOnChange: true);
configuration.AddEnvironmentVariables(); // environment variables should override the configuration files
serviceCollection.AddOptions<ServerConfigurationDto>()
.Bind(configuration.GetRequiredSection(ServerConfigurationDto.SECTION_NAME))
.ValidateFluently()