开发者

Starting WCF Client in IIS

开发者 https://www.devze.com 2023-01-29 05:00 出处:网络
It is possible to have WCF Client that connects persistantly using duplex over net.tcp (netTcpBinding) from IIS?

It is possible to have WCF Client that connects persistantly using duplex over net.tcp (netTcpBinding) from IIS?

i.e. the normal way would be to host it in a console app or as a windows service, my question is, could one use a shared hosting type of environment to run a WCF Client application.

i.e. the application isn't ever acce开发者_Python百科ssible from the outside, the application just connects to another service and consumes a remote WCF service over the internet.


If the ASP.NET app is the client, you could try loading the WCF Client into an Application or Session variable.

I've done something slightly similar with a System Timer and it worked a treat.

0

精彩评论

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

关注公众号