wcf - Ways to invoke a Windows application through a http URL? -


i have windows desktop application i'd users able invoke through url. main idea can launch installed app command-line parameters through, say, link in email. additionally, optimal implementation handle situation user doesn't already have app installed, fall-through download link. (likely download location machine on users network, not web address).

at risk of making x , y problem here's i've considered:

to invoke already-installed application, i've considered implementing custom protocol handler (msdn article), give them url myapp://whatever?blar=123. if don't have application installed, url won't work, , won't redirected download application.

i've considered wcf rest listener service runs in background, links can use http , formulated http://some-network-machine/whatever?blar=123, if app installed, trap call , launch application, , if it's not installed, call fall through "some-network-machine" serve download page. i'm learning wcf, don't know if possible (handling calls intended different machine)?

to summarize: i'd users able invoke application through url, , if application isn't installed, have them directed download page application. thoughts, expertise or similar experiences appreciated.

you how spotify it.

(spotify free music streaming service in europe @ moment: http://www.spotify.com should not have heard of it. has quite few social / sharing features)

for example, can copy , share http links such

http://open.spotify.com/track/6dhrdglyff01vz17bl2o7o

which try , open spotify:track:6dhrdglyff01vz17bl2o7o link. should not have application installed fail, , can use information on page install application.


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -