PrepAway - Latest Free Exam Questions & Answers

What should you do?

Your company has an existing Windows Communication Foundation (WCF) service that allows business partners to place orders.
The service uses netMsmqBinding. You find that processing every order in its own transaction is causing a delay.
You need to ensure that the service is configured to process multiple orders in one transaction. What should you do?

PrepAway - Latest Free Exam Questions & Answers

A.
Use <serviceThrottling> service behavior and set the maxConcurrentCalls attribute.

B.
Use <transactedBatching> endpoint behavior and set the maxBatchSize attribute.

C.
Use <dispatcherSynchronizationBehavior> endpoint behavior and set the maxPendingReceives attribute.

D.
Use <synchronousReceive> endpoint behavior.

Explanation:
<transactedBatching>
(http://msdn.microsoft.com/en-us/library/ms731319.aspx)

<transactedBatching> A transport that is configured with transaction batching attempts to batch several receive operations into one transaction.
By doing so, the relatively high cost of creating a transaction and committing it in every receive operation is avoided.

<serviceThrottling> Specifies the throttling mechanism of a Windows Communication Foundation (WCF) service.
Throttling controls place limits on the number of concurrent calls, instances, or sessions to prevent over-consumption of resources.
A trace is written every time the value of attributes is reached. The first trace is written as a warning.

One Comment on “What should you do?


Leave a Reply