Best guidance for One time user authentication & wcf service -
i new in wcf service , have seen people send user credential when made function call of wcf service below way. private static void main(string[] args) { servicepointmanager.servercertificatevalidationcallback = new remotecertificatevalidationcallback( delegate { return true; }); var client = new wcfserviceclient(); client.clientcredentials.username.username = username; client.clientcredentials.username.password = password; console.write(client.getdata(1)); client.close(); console.read(); } i want pass user credential once , after authentication user can call service function many time without credentials. guide me how design kind of service. looking small sample code me learn & implement. thanks you need enable sessions on service , client can establish session service. can happen while same channel used communicate service. in above code, example, session terminated when called close(). in order establish security...