You need to ensure that the generated proxy does not block the calling thread when executing a service method

You are creating an application using Visual Studio 2010. The application consumes a
Windows Communication Foundation (WCF) service. You are adding a service reference to
the WCF service. You need to ensure that the generated proxy does not block the calling
thread when executing a service method. What should you do when adding the service
reference?

You are creating an application using Visual Studio 2010. The application consumes a
Windows Communication Foundation (WCF) service. You are adding a service reference to
the WCF service. You need to ensure that the generated proxy does not block the calling
thread when executing a service method. What should you do when adding the service
reference?

A.
Select the Reuse types in all referenced assemblies option.

B.
Select the Generate asynchronous operations option.

C.
Set the Collection type to ObservableCollection.

D.
Select the Always generate message contracts option.



Leave a Reply 0

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