What should you recommend?

You are designing a Windows Forms application that allows users to search a product catalog and place orders. You have the following requirements: Display a progress indicator while the application is searching the catalog.
Ensure that users can cancel search operations.
You need to recommend an approach that meets the requirements.
What should you recommend?
A. Use a BackgroundWorker component to perform the search.
B. Implement the search as a Windows Communication Foundation (WCF) service by using the AsyncPattern property of the OperationContract attribute.
C. Implement the search as a duplex service.
D. Execute the search on the user interface thread. Provide a Cancel button to cancel the search.

microsoft-exams

Leave a Reply

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


The reCAPTCHA verification period has expired. Please reload the page.