This pull request introduces several new projects and enhances existing functionality in the Thor solution. The key changes include the addition of new projects (Thor.AppHost and Thor.ServiceDefaults), updates to project references, and enhancements to the Thor.Service project.
New Projects Added:
Thor.AppHost project: Added to the solution and configured with a new Program.cs and launchSettings.json. (Thor.sln, src/Thor.AppHost/Thor.AppHost.csproj, src/Thor.AppHost/Program.cs, src/Thor.AppHost/Properties/launchSettings.json) [1][2][3][4][5]
Thor.ServiceDefaults project: Introduced to provide default configurations for services, including health checks and OpenTelemetry. (Thor.sln, src/Thor.ServiceDefaults/Extensions.cs, src/Thor.ServiceDefaults/Thor.ServiceDefaults.csproj) [1][2][3][4]
Enhancements to Thor.Service:
Added Thor.ServiceDefaults as a project reference and updated Program.cs to include service defaults and map default endpoints. (src/Thor.Service/Thor.Service.csproj, src/Thor.Service/Program.cs) [1][2]
Updated dependencies and cleaned up unused imports in Program.cs. (src/Thor.Service/Program.cs) [1][2]
Added a new Serilog package for OpenTelemetry support. (src/Thor.Service/Thor.Service.csproj)
Minor refactoring for consistency in variable names. (src/Thor.Service/Program.cs)
Configuration Files:
Added appsettings.json and appsettings.Development.json to the Thor.AppHost project for logging configuration. (src/Thor.AppHost/appsettings.Development.json, src/Thor.AppHost/appsettings.json) [1][2]
This pull request introduces several new projects and enhances existing functionality in the
Thor
solution. The key changes include the addition of new projects (Thor.AppHost
andThor.ServiceDefaults
), updates to project references, and enhancements to theThor.Service
project.New Projects Added:
Thor.AppHost
project: Added to the solution and configured with a newProgram.cs
andlaunchSettings.json
. (Thor.sln
,src/Thor.AppHost/Thor.AppHost.csproj
,src/Thor.AppHost/Program.cs
,src/Thor.AppHost/Properties/launchSettings.json
) [1] [2] [3] [4] [5]Thor.ServiceDefaults
project: Introduced to provide default configurations for services, including health checks and OpenTelemetry. (Thor.sln
,src/Thor.ServiceDefaults/Extensions.cs
,src/Thor.ServiceDefaults/Thor.ServiceDefaults.csproj
) [1] [2] [3] [4]Enhancements to
Thor.Service
:Thor.ServiceDefaults
as a project reference and updatedProgram.cs
to include service defaults and map default endpoints. (src/Thor.Service/Thor.Service.csproj
,src/Thor.Service/Program.cs
) [1] [2]Program.cs
. (src/Thor.Service/Program.cs
) [1] [2]src/Thor.Service/Thor.Service.csproj
)src/Thor.Service/Program.cs
)Configuration Files:
appsettings.json
andappsettings.Development.json
to theThor.AppHost
project for logging configuration. (src/Thor.AppHost/appsettings.Development.json
,src/Thor.AppHost/appsettings.json
) [1] [2]