Replies: 1 comment
-
Yes, I was thinking the same thing. Good one. 👍 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
.NET 6 uses a new hosting model. You can see that, when starting a new Web API project in VS.NET 2022, that the newly created project doesn't contain a
Startup
class anymore.The
Program.cs
file consists of top-level statements:As can be seen above,
HostBuilder
is no longer used (directly), insteadWebApplicationBuilder
is used.Although the existing/old model that is used by .NET Core and .NET 5 is still supported by .NET 6, I feel that the Arcus Web API template must be modified so that the new hosting model is used.
More information can be found here.
Beta Was this translation helpful? Give feedback.
All reactions