Skip to content

Refactor Program.cs for better startup structure#382

Merged
StuartFerguson merged 1 commit intomasterfrom
task/#372_refactor_createhostbuilder
Mar 31, 2026
Merged

Refactor Program.cs for better startup structure#382
StuartFerguson merged 1 commit intomasterfrom
task/#372_refactor_createhostbuilder

Conversation

@StuartFerguson
Copy link
Copy Markdown
Member

Extract logging and web host setup into separate methods for improved modularity and readability. Simplify CreateHostBuilder and remove redundant inline configuration, resulting in a cleaner and more maintainable startup process.

closes #372

Extract logging and web host setup into separate methods for improved modularity and readability. Simplify CreateHostBuilder and remove redundant inline configuration, resulting in a cleaner and more maintainable startup process.
@codacy-production
Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity . 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

TIP This summary will be updated as you push new changes. Give us feedback

@StuartFerguson StuartFerguson merged commit 1afb5b0 into master Mar 31, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

1 participant