c# - Running Method on Client ASP MVC -


i know how call method. client. have custom printer runs on iis asp.net.

ex: method call printer.print(); inside api of printer referenced on project , published iis.

using printerdll;  public actionresult index(){    printerdll.printer freenter = new printerdll.printer();    freenter.open();    return view(); } 

now works if access site network.

but runs on server driver installed.

if driver installed in clients computer possible call method in clients computer instead of server? if so, possible call without using activex call needs internet explorer access?

you asked not-so-easy way. other's may have ideas how improve on this. if have idea improvement go ahead , leave comment or edit answer.

the broad strokes are:

  • make new protocol scheme, like: myawesomeness://
  • write application registered protocol handler newly created scheme.
  • in web page issue ajax call myawesomeness://url/data
    • this invoke aforementioned app , can take there.

some light reading asynchronous pluggable protocols.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -