I am trying to create a WCF service I can consume with my PCL application.
The WCF service will be IIS hosted with SSL and custom username/password authentication.
I see that PCL only supports BasicHttpBinding. What is the simplest way to create a WCF service that will work with something like this:
var temp = new MyWebServiceClient(); temp.ClientCredentials.UserName.UserName = "username"; temp.ClientCredentials.UserName.Password = "password"; var result = temp.GetSomething("");
Right now I am trying to use
clientCredentialType="Basic" but am having a lot of trouble getting custom auth to work properly. Does anyone have any suggestions?