简体   繁体   English

wcf和会话asmx重写

[英]wcf and session asmx rewrite

I have a web service that uses Session. 我有一个使用Session的Web服务。 I want to rewrite it as an WCF that can be hosted outside IIS. 我想将其重写为可以在IIS外部托管的WCF。

What is the best way to replace session using WCF that wont tie me to IIS in my rewrite? 使用WCF替换会话的最佳方法是什么,它不会在重写时将我绑定到IIS?

You can use wsHttpBinding with Reilable Messaging and sessions which can be hosted outside IIS. 可以将wsHttpBinding与Reilable Messaging和会话结合使用,并将其托管在IIS之外。 Have a look here: 在这里看看:

how to enable WCF Session with wsHttpBidning with Transport only Security 如何通过仅具有传输安全性的wsHttpBidning启用WCF会话

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM