nerdexam
Microsoft

70-513 · Question #109

You are developing a Windows Communication Foundation (WCF) service to provide shopping cart support. ASP.NET compatibility mode is not enabled. The shopping cart information must be retained across…

The correct answer is B. Create the persistence provider database and configure the persistenceProvider C. Use wsHttpContextBinding for both the client application and the service. See the full explanation below for the reasoning.

Question

You are developing a Windows Communication Foundation (WCF) service to provide shopping cart support. ASP.NET compatibility mode is not enabled. The shopping cart information must be retained across user visits to the store until the user explicitly empties the cart or submits the cart contents to order. You need to implement the service as a DurableService. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

Options

  • AUse basicHttpBinding for both the client application and the service.
  • BCreate the persistence provider database and configure the persistenceProvider
  • CUse wsHttpContextBinding for both the client application and the service.
  • DIn the method to add an item to the shopping cart, serialize the shopping cart contents

How the community answered

(34 responses)
  • A
    6% (2)
  • B
    82% (28)
  • D
    12% (4)

Community Discussion

No community discussion yet for this question.

Full 70-513 Practice