Q23.webp
M

Q23.webp

Kizspy | Question: 23
(Choose 1 answer)
The following .NET 8 code is in Program.cs. What is its purpose?
var app = builder.Build();
// ...
app.UseAuthentication();
app.UseAuthorization();
// ...
app.Run();
A. It registers the authentication services.
B. It adds the authentication and authorization middleware components to the request pipeline.
C. It configures the default authentication scheme.
D. It is redundant and has no effect.
FJOVERFLOW.COM
  • Like
Reactions: namnamnam1305

Thông tin

Category
PRN232
Thêm bởi
Minh Châu1
Ngày thêm
Lượt xem
2,591
Lượt bình luận
11
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom