Microsoft
70-519 · Question #187
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. In the view, set the Page directive Async attribute to true. B. Use the Ajax.BeginForm() method. 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
- AIn the view, set the Page directive Async attribute to true.
- BUse the Ajax.BeginForm() method.
- CDerive the controller from the AsyncController class.
- DUse the jQuery.ajax() function.
How the community answered
(29 responses)- A83% (24)
- C3% (1)
- D14% (4)
Community Discussion
No community discussion yet for this question.