Câu 25: 70-486: MCSD Developing ASP.NET MVC 4 Web Applications
HOTSPOT -You are developing an ASP. NET Core application. You have the following code: You create a folder named Content in your project. You add a controller action that uses authorization and returns a FileResult object. The application must meet the following requirements: ✑ Use Kestrel as the server. ✑ Serve stati…
Nội dung câu hỏi
HOTSPOT -You are developing an ASP. NET Core application. You have the following code: You create a folder named Content in your project. You add a controller action that uses authorization and returns a FileResult object. The application must meet the following requirements: ✑ Use Kestrel as the server. ✑ Serve static files from the wwwroot folder and publicly cache the files for five minutes. ✑ Serve static from the Content folder to authorized users only. ✑ Serve a default.html file from the wwwroot folder. You need to configure the application. How should you complete the code? To answer, select the appropriate options in the answer area.NOTE: Each correct selection is worth one point. Hot Area:
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
-
A. Lựa chọn A bằng hình ảnh — đáp án hiện tại
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.