What is the WCF equivalent of HttpContext.Current.Request.RawUrl?

You can get the endpoint currently targeted and the Uri for it by doing: OperationContext.Current.RequestContext.RequestMessage.Headers.To which I think is the same thing as: OperationContext.Current.IncomingMessageHeaders.To This is a System.Uri object, and I believe you can just get the OriginalString or PathAndQuery, or whatever parts you want from it.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)