试题详情
多项选择题 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.)

A、Use basicHttpBinding for both the client application and the service.

B、Create the persistence provider database and configure the persistenceProvider element of the service behavior to point to that database.

C、Use wsHttpContextBinding for both the client application and the service.

D、In the method to add an item to the shopping cart, serialize the shopping cart contents after adding the current item and storing it in a Session variable.

  • B,C
  • 关注下方微信公众号,在线模考后查看

热门试题