PRN221_-_SP_2023_-_FE_153.webp
hirosi212

PRN221_-_SP_2023_-_FE_153.webp

(Choose 1 answer)
Suppose that you want to configure the root folder for Razor Pages to be something other than the default.What the following code should you put in ConfigureServices method of Startup.cs file?
A. public void ConfigureServices (IServiceCollection services)
services.AddRazorPages().AddRazorPages Options(options => { options. RootDirectory = "/Content";});
B. public void ConfigureServices (IServiceCollection services)
{
services.AddRazorPages().AddRazorPages Root Directory (options => { options. RootDirectory = "/Content";});
}
}
C. public void ConfigureServices (IServiceCollection services)
services.AddRazorPages();
}
D. public void ConfigureServices (IServiceCollection services){
services.AddRazorPages().AddRazorPages Options("/Content");}
}
Exit 36

Thông tin

Category
PRN221
Thêm bởi
hirosi212
Ngày thêm
Lượt xem
1,375
Lượt bình luận
4
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom