PrepAway - Latest Free Exam Questions & Answers

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?

PrepAway - Latest Free Exam Questions & Answers

A.
<claimTypeRequirements>
<add claimType="http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress" isOptional="faIse"/>
</claimTypeRequirements>
<issuer address="http://schemas.xmlsoap.org/ws/2005/05/identity/issuer/personal"/>

B.
<claimTypeRequirements>
<add claimType="http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress"/>
</claimTypeRequirements>
<issuer address="http://schemas.xmlsoap.org/ws/2005/05/identity/issuer/personal"/>

C.
<claimTypeRequirements>
<add claimType="http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress"/>
</claimTypeRequirements>
<issuer address="http://schemas.xmlsoap.org/ws/2005/05/identity/issuer/managed"/>

D.
<claimTypeRequirements>
<add claimType="http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress" isOptional="faIse"/>
</claimTypeRequirements>
<issuer address="http://schemas.xmlsoap.org/ws/2005/05/identity/issuer/self"/>


Leave a Reply