开发者

WCF Session without Credentials

Is it possible to configure a WCF service to use sessions, and also n开发者_如何学JAVAot to require the client to send any credentials?

If so, how should the bindings section of the service's App.config file look?


See http://msdn.microsoft.com/en-us/library/system.servicemodel.channels.reliablesessionbindingelement.aspx to establish a session using the WS-ReliableMessaging spec. I don't see why this should require authentication.

<customBinding>
  <binding name="BasicWithWSReliable">
     <reliableSession />
     <httpTransport authenticationScheme="Anonymous"/>
  </binding>
</customBinding>
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜