Skip to content

Commit

Permalink
Update Program.cs (#36103)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
IEvangelist authored Jan 21, 2022
1 parent 8b93d9e commit 85ac505
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
})
.Build();

await host.RunAsync();
host.Run();

0 comments on commit 85ac505

Please sign in to comment.