How to access client application from web application with service application
I would like to write a Web Application that can interact with 3D Cad program for our company. So I wa开发者_运维问答s thinking that I would create a program that would be locally installed on the client machines which would send and receive data back and forth from Client App to Web App. I would like to use xml for moving the data back and forth too. Does anyone suggestions or can this even be done?
In this case you need 2 way communication
between app and service. and for solving that there are two way:
- use
two service
and they must be client of each other (Hard way) - use
Duplex Services
. (you can use WCF-Duplex services - it's not simple)
in this case you must handle too many issue's.(take look at this)
As example:
app need to notify self on your service and service save address of active client's. so every time service want's to call one of client, service must find client's address in active-client's and then call that.
Let me know if this help you.
精彩评论