我是 ASP.NET Core 新手。我正在使用 ASP.NET Core 7。我读到在 ASP.NET Core 7 中他们摆脱了Startup.cs. 有人可以告诉我如何合并Startup.cs到Program.cs这个例子中吗?
Startup.cs
Program.cs
https://github.com/Azure-Samples/active-directory-aspnetcore-webapp-openidconnect-v2/tree/master/2-WebApp-graph-user/2-1-Call-MSGraph
c# asp.net-core .net-7.0
.net-7.0 ×1
asp.net-core ×1
c# ×1