I'm creating a wcf service in .NET 3.5, which I'm hosting in IIS 7.5.
In order to ensure that all calls goes through this specific service, I have set up a rewrite rule in the Url Rewrite module in the IIS to match the wildcard '*', and rewrite the url to something like '/MyService.svc'.
In my wcf service I would like to be able to get the original url of the service call. I have checked the flag "Append query string" in the rewrite rule, but I am unsure how to get the url in my host code.
Anybody able to help me out here?
Thanks in advance
View Complete Post