I have a开发者_运维知识库 WCF Service that requires a username and password. But not all operations require a username and password. How is this type of authentication achieved (basically on an operation level)?
Authentication is performed on an endpoint basis. If you need two authentication models then you will need two different endpoints. The cleanest approach would be to use two separate service contracts
精彩评论