070-563 Free Dumps Study Materials
Question 13: You are creating a Windows application by using the .NET Framework 3.5.
The application accesses an external Windows Communication Foundation (WCF) service by using the
following contract.
<ServiceContractAttribute(SessionMode:=SessionMode.NotAllowed)> _
Public Interface IOrderService
End Interface
The service contract has multiple operations. The operations will be called by the Windows application
when required.
For a single invocation of the application, you plan to maintain the information of the application state
between subsequent method calls to the WCF service. The application state information cannot be
persisted once the application closes.
You need to ensure that the application can consume the WCF service.
What should you do?
A. Save the information of the application state in the Windows application.
B. Save the information of the application state in a Microsoft SQL Server 2008 database.
C. Save the information of the application state in the HttpContext.Current.Session property.
D. Use the binding and transport elements to support sessions for the WCF service in the Windows
application.
Correct Answer: A