You develop a Windows Communication Foundation (WCF) service that uses basic authentication for client credentials. This service is currently configured to use message security. The service is hosted on a server in workgroup mode.Users report that their passwords are stolen when they use public computers.You need to ensure that messages are secure and users are authenticated.You prevent the service from being called over HTTP through Microsoft Internet Information Services (IIS) configuration.What should you do next?()
A. Use the transport security mode and specify None for transport client credential type.
B. Use the transportWithMessageCredential security mode and specify Basic for the transport client credential type.
C. Use the message security mode and specify Basic for the transport client credential type.
D. Use the transportWithMessageCredential security mode and specify None for the transport client credential type.
第1题:
You are developing a Windows Communication Foundation (WCF) service. The service configuration file has a element defined. You need to ensure that all security audit information, trace logging, and message logging failures are recorded.Which configuration segment should you add to the element?()
A.
B.
C.
D.
第2题:
A. NetTcpContextBinding
B. BasicHttpContextBinding
C. NetTcpBinding
D. NetMsmqBinding
第3题:
A. Set the authorization Manager Type attribute of the service Authorization behavior to Message.
B. Set the include Exception Detailsln Faults attribute of the service Debug behavior to true.
C. Set the Mode attribute of the security configuration element to Message.
D. Set the message Authentication AuditLevel attribute of the service Security Audit behavior to Failure.
第4题:
You are developing a Windows Communication Foundation (WCF) service. The service operation takes a customer number as the only argument and returns information about the customer. The service requires a security token in the header of the message. You need to create a message contract for the service.Which code segment should you use?()
A.
B.
C.
D.
第5题:
A.
B.
C.
D.
第6题:
You are developing a data contract for a Windows Communication Foundation (WCF) service. The data in the data contract must participate in round trips. Strict schema validity is not required. You need to ensure that the contract is forward-compatible and allows new data members to be added to it. Which interface should you implement in the data contract class?()
A.ICommunicationObject
B.IExtension
C.IExtensibleObject
D.IExtensibleDataObject