PrepAway - Latest Free Exam Questions & Answers

Tag: 70-503

Which code segment should you use?

You are creating a Windows Communication Foundation service by using Microsoft .NET Framework 3.5.
The service will contain an enumeration named OrderState.
The OrderState enumeration will contain the following four values: Processing, Cancelled, Confirmed, Closed.
The client application must be able to set the state of an Order entity to only the following two values: Cancelled, Closed.
You need to create the data contract for OrderState.
Which code segment should you use?

Which code fragment should you insert at line 03?

You are creating a Windows Communication Foundation client application by using Microsoft .NET Framework 3.5.
The client application consumes the Web Services Enhancements (WSE) 3.0 Web service.
The Web service uses standard WSE 3.0 to transfer binary data to the client application.
The client application uses the following binding configuration.
(Line numbers are included for reference only.)

01 <customBinding>
02 <binding name="custom" >
03
04 <httpTransport maxBufferSize="700000" 04 maxreceivedMessageSize="700000" />
05 </binding>
06 </customBinding>

You need to ensure that the client application receives binary data from the WSE 3.0 Web service.
Which code fragment should you insert at line 03?

Which code fragment should you insert at line 05?

You are creating a client application by using Microsoft .NET Framework 3.5.
You use Windows Communication Foundation (WCF) to create the application
The client application uses a Personal Information Card to provide
authentication information to the WCF server.
You write the following code fragment.
(Line numbers are included for reference only.)

01 <wsFederationHttpBinding>
02 <binding name="requireCardSpace">
03 <security mode="MyMessage">
04 <message>
05
06 </message>
07 </security>
06 </binding>
09 </wsFederationHttpBinding>

You need to ensure that one of the claims in the Personal Information Card contains an e-mail address.
Which code fragment should you insert at line 05?


Page 11 of 11« First...7891011