Do we have to use the relative addresses when hosting in the iis or the absolute addresses? Why?



Do we have to use the relative addresses when hosting in the iis or the absolute addresses? Why?..

Answer / Km Anjali Chaudhry

When hosting a WCF service in IIS, you should use relative addresses instead of absolute addresses. This is because IIS rewrites all URLs to start with the application's root URL. Using relative addresses ensures that the correct endpoint address is used when clients call the service.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More WCF Interview Questions

explain duplex ws binding? : Wcf data services

1 Answers  


What is address in wcf and how many types of transport schemas are there in wcf?

1 Answers  


WCF: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?

1 Answers  


can you explain fault contracts? : Wcf data services

1 Answers  


WCF:What hosting functionality is unique for the Vista OS?

1 Answers  


How to do authentication in wcf?

1 Answers  


What is a soa service?

1 Answers  


What are the mep in wcf?

1 Answers  


tell me what was the code name for wcf? : Wcf data services

1 Answers  


What is the one-way mode in wcf?

1 Answers  


What is the difference between web service and wcf service?

1 Answers  


WCF:Is there an error in the Msmq address the "net.msmq://MyHost/private$/MyQueue"?

4 Answers  


Categories