PrepAway - Latest Free Exam Questions & Answers

What should you do?

You are creating a Windows application by using the .NET Framework 3.5.
The application will access an external Windows Communication Foundation (WCF) service by using the
following contract.
[ServiceContract(SessionMode=SessionMode.NotAllowed)]
public interface IOrderService
{
}
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?

PrepAway - Latest Free Exam Questions & Answers

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.


Leave a Reply