Skip to content

Update the worker template to use CreateApplicationBuilder - #43114

Closed
IEvangelist wants to merge 1 commit into
dotnet:mainfrom
IEvangelist:worker-template-update
Closed

IEvangelist wants to merge 1 commit into
dotnet:mainfrom
IEvangelist:worker-template-update

Conversation

@IEvangelist

@IEvangelist IEvangelist commented Aug 5, 2022 •

Copy link
Copy Markdown
Member

Update the worker template to use CreateApplicationBuilder

Update both the Program.cs and Program.Main.cs files for the Worker template to use the CreateApplicationBuilder API for consistency.

Fixes #43113

/CC @bradygaster @davidfowl

When this is merged, we can update the docs accordingly.

@IEvangelist
IEvangelist requested a review from Pilchie as a code owner August 5, 2022 14:56
@ghost ghost added the area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates label Aug 5, 2022
@davidfowl

Copy link
Copy Markdown
Member

See #43056

@IEvangelist IEvangelist closed this Aug 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update the Worker template to use the Host.CreateApplicationBuilder API.

2 participants