Skip to content

Commit 85ac505

Browse files
authored
Update Program.cs (#36103)
I think most of the other top-level programs/templates call `Run()` instead of `await RunAsync()`. For the sake of consistency we should probably use `Run`. Related to the evolution of templates with .NET 6: - #33853
1 parent 8b93d9e commit 85ac505

File tree

1 file changed

+1
-1
lines changed
  • src/ProjectTemplates/Web.ProjectTemplates/content/Worker-CSharp

1 file changed

+1
-1
lines changed

src/ProjectTemplates/Web.ProjectTemplates/content/Worker-CSharp/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
})
88
.Build();
99

10-
await host.RunAsync();
10+
host.Run();

0 commit comments

Comments
 (0)