Different Ways of Supplying Credentials for WCF Service

The credentials that are required for communication between a client application and a service are exchanged when the communication is first established. If a client application requires a service to provide its credentials before it accepts response messages, it is often impractical to provide credentials in code on the server side.