What should you recommend?

You are designing an ASP.NET MVC 2 Web application. The Web application will display
information from remote third-party Windows Communication Foundation (WCF) services
on each page. You have the following requirements: • Retrieve information from the WCF
services. • Specify a timeout period while retrieving information from third-party services. •
Cache responses from the third-party services for retrieval by multiple users. You need to
recommend an approach for retrieving information from the WCF service. What should you
recommend?

You are designing an ASP.NET MVC 2 Web application. The Web application will display
information from remote third-party Windows Communication Foundation (WCF) services
on each page. You have the following requirements: • Retrieve information from the WCF
services. • Specify a timeout period while retrieving information from third-party services. •
Cache responses from the third-party services for retrieval by multiple users. You need to
recommend an approach for retrieving information from the WCF service. What should you
recommend?

A.
Implement the IAsyncResult interface on the models for the views.

B.
Implement the IHttpAsyncHandler interface on the models for the views.

C.
Use an asynchronous method.

D.
Use AJAX to asynchronously call the third-party services and display information.



Leave a Reply 0

Your email address will not be published. Required fields are marked *