CertyRush
Đang tải...
C CertyRush
Câu hỏi free preview

Câu 64: 70-486: MCSD Developing ASP.NET MVC 4 Web Applications

You are developing an ASP. NET MVC application that delivers real-time game results to sports fans. The application includes the following code. Line numbers are included for reference only. The source data for the game results is updated every 30 seconds. Testers report the following issues with the application: ✑ Th…

Nội dung câu hỏi

You are developing an ASP. NET MVC application that delivers real-time game results to sports fans. The application includes the following code. Line numbers are included for reference only. The source data for the game results is updated every 30 seconds. Testers report the following issues with the application: ✑ They report seeing other user's name when they sign in to the application. ✑ They report delays in seeing the latest game results. You need to correct the performance issues. Which two changes should you make to the code? Each correct answer presents part of the solution.

Minh họa câu hỏi

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.

  1. A. Replace the code at line 07 with the following codesegment:[OutputCache(Duration = 30, VaryByParam = "none", Location = OutputCacheLocation.Client, NoStore = true)] — đáp án hiện tại
  2. B. Replace the code at line 12 with the following code segment:[OutputCache(Duration = 30, VaryByParam = "none", Location = OutputCacheLocation.Server, NoStore = true)] — đáp án hiện tại
  3. C. Replace the code at line 07 with the following code segment:[OutputCache(Duration = 3600, VaryByParam = "none", Location = OutputCacheLocation.Server, NoStore = false)]
  4. D. Replace the code at line 12 with the following code segment:[OutputCache(Duration = 3600, VaryByParam = "none", Location = OutputCacheLocation.Client, NoStore = true)]

Cộng đồng

0 bình luận công khai. Tên thành viên được ẩn một phần.

Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.

Câu hỏi liền kề