多做题,通过考试没问题!

微软认证考试

睦霖题库>其他计算机考试>微软认证考试

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
答案解析:
进入题库查看解析

微信扫一扫手机做题