How can I read Authorization header information from a REST based WCF service?
+3
A:
You are trying to read the http header.
OperationContext.Current.OutgoingMessageProperties
or
OperationContext.Current.IncomingMessageProperties
codemeit
2008-12-30 08:06:01
A:
Actually since you ask for a REST based WCF service I think you should use
WebOperationContext.Current.IncomingRequest.Headers
in order to get the HTTP headers in the request.
Cellfish
2010-06-23 16:58:40