M
Marc Gravell
I need to tie together two apps; a thin (HTML) client and a smart-client
(running on the user's machine) deployed with click-once.
My question is: does anybody know of a good way to communicate between the
two?
The thin client is HTML generated from an asp web-site (not asp.net) [can
easiy be edited as required]
The smart client is C# / win form / .Net 2
The user is not an administrator, and ideally few or no changes would be
required
Must also work on internet zone to support extranet usage
Current ideas:
1: HREF to a second .application with params on query-string; this exe
accepts the params and uses remoting to talk to the main exe (and then
exits)
2: (preferred option) Smart-client starts up a simple web-server (e.g.
HttpListener or similar); thin client posts to
http://localhost/somewhere?someparams [problem: this triggers cross-domain
security warnings; don't want to have to trust the web site]
3: Some kind of control embedded on the page? Not sure if this can be
deployed easily? (don't want COM overhead)
4: other?
At the minimum I need to be able to send data in the forwards only
(html->smart) direction. Being able to process the response would be a "nice
to have". I do not need to be able to push from the smart-client to the web
page (thankfully).
Any suggestions? Surely somebody has had to do something similar?
Many thanks in advance,
Marc
(running on the user's machine) deployed with click-once.
My question is: does anybody know of a good way to communicate between the
two?
The thin client is HTML generated from an asp web-site (not asp.net) [can
easiy be edited as required]
The smart client is C# / win form / .Net 2
The user is not an administrator, and ideally few or no changes would be
required
Must also work on internet zone to support extranet usage
Current ideas:
1: HREF to a second .application with params on query-string; this exe
accepts the params and uses remoting to talk to the main exe (and then
exits)
2: (preferred option) Smart-client starts up a simple web-server (e.g.
HttpListener or similar); thin client posts to
http://localhost/somewhere?someparams [problem: this triggers cross-domain
security warnings; don't want to have to trust the web site]
3: Some kind of control embedded on the page? Not sure if this can be
deployed easily? (don't want COM overhead)
4: other?
At the minimum I need to be able to send data in the forwards only
(html->smart) direction. Being able to process the response would be a "nice
to have". I do not need to be able to push from the smart-client to the web
page (thankfully).
Any suggestions? Surely somebody has had to do something similar?
Many thanks in advance,
Marc