hi please answer me.
how to provide security wih wcf service using username and password without using ssl and certificates.
Thanks
RK
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Amit PatelPosted May 29, 2012, 10:56 AM
You can also call by code.
string uri = "http://loaclhost:8989/MyService";
EndpointIdentity epid = EndpointIdentity.CreateUpnIdentity(@"MACHINE\user");
EndpointAddress epaddr = new EndpointAddress(uri, epid); ServiceReference1.Service1Client client = new ServiceReference1.Service1Client(epaddr);
Happy Coding
Thanks