First, let’s say I don’t want to use duplex channel and this is not a Client to Server senerio. I should called… Client to Client?
I have two Form Application: App1 on my computer and App2 on another computer
Each of them should be hosting a WCF Service, App1 has App2’s WCF Reference and App2 has App1’s WCF Reference.
I wonder if I can do like that above, so I can have senerio:
- In App1, click button open connection to App2’s WCF, send message to
App2 - App2’s WCF recevie message, display on the form.
- App1 close connection. (App1 application is not closed)
- App2, click button open connection to App1’s WCF, send message to
App1 - App1’s WCF recevie message, display on the form.
- App2 close connection. (App2 application is not closed)
So in above senerio, you can see both application is running, they can freely to establish their own connection to another application’s WCF.
I wonder if that’s even possible? Because I am thinking when I establish a connection to WCF, it should create a new process on the established WCF side.
And is it even possible to have a FormApplication running like that to use WCF receving message?
This scenario is possible – though there could be some “quirks”:
You don’t provide enough information to suggest alternatives…