0

I dont know whether this is possible but it would be great if there is a solution for this:

I have an asp.net webpage. When the user opens a webpage. I would like that webpage to trigger to run a .net application running on the client machine. In addition, during that trigger, that webpage also passes some parameters as arguments to the .net application.

I hope to get some ideas how to achieve this issue somehow?

thanks in advance.

1

3 Answers 3

0

Pretty vague question, but you might look into either:

  1. SignalR - a long polling library for ASP.Net that lets you make calls to client side code from the server side "faking a persistently open connection"

  2. Node.js - a javascript library for the server-side.

I would suggest starting with SignalR

Edit:

https://github.com/SignalR/SignalR

http://chatapp.apphb.com/

Sign up to request clarification or add additional context in comments.

8 Comments

SignalR seems promising. I will take a look on it. great! Thanks a lot!
It's good. I used it to fake a little chat room application. amazing that i can be aware of all users running my client-side code and call to each of them... for instance, when someone posts something to the server, i can call each person's client side function to render the text on their page... its rad.
yes, it sounds like what I want to do as well. You gave me a light to more forward ;)
SignalIR is just a message-passing system. It won't let you run a client-side app, which is what the original question asks.
@one.beat.consumer wao. chatapp.apphb.com is so cool, is it open source? thanks
|
0

See this question: Running application from browser ASP.NET

In short you can't do this with HTML & JS, you may be able to with silverlight depending on what you want to do

4 Comments

the post more than half year ago. probably, there has been a solution solution :)
This is incorrect. There are plenty of ways, and will be more once the browsers support Web Sockets. Check SignalR and Node.js options.
fair enough, I've not really looked into them much
check it out - github.com/SignalR/SignalR - and google their chatroom example. its online now and you can often talk with the guy(s) who are coding it. Scott Hanselman has also blogged about it and done demos on it quite a bit. - chatapp.apphb.com
0

Do you have control over the client-side app? If so, Click Once is one approach. Silverlight is another.

For a general purpose solution, the app either needs to be registered with the browser for a specific MIME type (this is how the browser knows to start Acrobat Reader for PDF files, for example), or you would need to create and have your users install an Active-X plug-in (native C++ code, though).

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.