In previous versions of Windows Communication Foundation, if we wanted to have multiple authentications for a single service, we were creating separate endpoint for that particular WCF Service. But WCF 4.5 supports Multiple Authentications at single endpoint. So, we can configure single endpoint of a WCF Service to support multiple authentications (e.g. Windows, Basic, Anonymous, etc).
Multiple Authentication can be achieved in two simple ways:
- In IIS, host the WCF Service and enable multiple authentications like Anonymous, Basic or Windows Authentication.
- In configuration file, update security mode settings as follows:
© 2015, www.techkatak.com. All rights reserved.