Hi,
I am trying to call a wcf service which is implementing forms authentication and membership provider.
So for each wcf call from client, we need to add a custom header passing username and password.
In asp.net we can use OperationContextScope for adding custom message header to each wcf request.
ServiceClient client = new ServiceClient();
client.Open();using (OperationContextScope scope = new OperationContextScope(client.InnerChannel))
{
HttpRequestMessageProperty Go to the complete details ...