Skip to content

Refactor Program.cs: modularize config and setup logic#246

Merged
StuartFerguson merged 1 commit intomainfrom
refactor/#240_refactor_createhostbuilder
Mar 29, 2026
Merged

Refactor Program.cs: modularize config and setup logic#246
StuartFerguson merged 1 commit intomainfrom
refactor/#240_refactor_createhostbuilder

Conversation

@StuartFerguson
Copy link
Copy Markdown
Member

Extracted logging, web host, and Sentry configuration into dedicated private static methods (ConfigureLogging, ConfigureWebHost, ConfigureSentry) to improve code readability and maintainability. No functional changes; this refactor enhances separation of concerns and organization in Program.cs.

closes #240

Extracted logging, web host, and Sentry configuration into dedicated private static methods (ConfigureLogging, ConfigureWebHost, ConfigureSentry) to improve code readability and maintainability. No functional changes; this refactor enhances separation of concerns and organization in Program.cs.
@StuartFerguson StuartFerguson merged commit 999a8b1 into main Mar 29, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Complexity] Method Program::CreateHostBuilder has 51 lines of code (limit is 50)

1 participant