Microsoft
70-519 · Question #76
You are designing an ASP.NET MVC 2 Web application. A page of the Web application will display data retrieved from a Web service. The Web service performance is unpredictable. You have the following…
The correct answer is A. Derive the controller from the AsyncController class. B. In the view, set the Page directive Async attribute to true. See the full explanation below for the reasoning.
Question
You are designing an ASP.NET MVC 2 Web application. A page of the Web application will display data retrieved from a Web service. The Web service performance is unpredictable. You have the following requirements:
- Display a progress indicator while retrieving data.
- Display data in the same page from which it is retrieved.
You need to recommend a solution that meets the requirements. What are two possible solutions you could recommend? (Each answer presents a complete solution. Choose two.)
Options
- ADerive the controller from the AsyncController class.
- BIn the view, set the Page directive Async attribute to true.
- CUse the jQuery.ajax() function.
- DUse the Ajax.BeginForm() method.
How the community answered
(19 responses)- A74% (14)
- C21% (4)
- D5% (1)
Community Discussion
No community discussion yet for this question.