开发者

Some WCF Operations require authentication and some don't. How?

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜