简体   繁体   中英

Starting WCF Client in IIS

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

ie 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.

ie the application isn't ever accessible 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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