简体   繁体   中英

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 was 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:

  1. use two service and they must be client of each other (Hard way)
  2. 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.

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