WCF (Windows Communication Foundation) Question:
Download Questions PDF

Could the IIS-hosted WCF service make use of HTTP transport security if the IIS virtual derectory that contains the service does not support it?

WCF (Windows Communication Foundation) Interview Question
WCF (Windows Communication Foundation) Interview Question

Answer:

IIS-hosted WCF services can make use of HTTP transport
security (for example, HTTPS and HTTP authentication
schemes such as Basic, Digest, and Windows Integrated
Authentication) as long as the IIS virtual directory that
contains the service supports those settings. The HTTP
Transport Security settings on a hosted endpoint’s binding
must match the transport security settings on the IIS
virtual directory that contains it

Download WCF (Windows Communication Foundation) Interview Questions And Answers PDF

Previous QuestionNext Question
Explain What is DataContract and ServiceContract?Do we have to use the relative addresses when hosting in the IIS or the absolute addresses? Why?