Which code fragment should you insert at line 03?

You are creating a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. You write the following code fragment for the configuration setting. (Line numbers are included for reference only.)

01 <wsHttpBinding>
02 <binding name=”simple”>
04 </binding>
05 </wsHttpBinding>

You need to ensure that the service uses transport security and allows access to anonymous client applications. Which code fragment should you insert at line 03?

You are creating a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. You write the following code fragment for the configuration setting. (Line numbers are included for reference only.)

01 <wsHttpBinding>
02 <binding name=”simple”>
04 </binding>
05 </wsHttpBinding>

You need to ensure that the service uses transport security and allows access to anonymous client applications. Which code fragment should you insert at line 03?

A.
<security mode=”Transport”>
<transport clientCredentialType=”Basic” />
</security>

B.
<security mode=”Transport”>
<message clientCredentialType=”None”/>
</security>

C.
<security mode=”Transport”>
<message clientCredentialType=”Certificate”/>
</security>

D.
<security mode=”Transport”>
<transport clientCredentialType=”None” />
</security>



Leave a Reply 0

Your email address will not be published. Required fields are marked *