4
I need to program in web some resources that perform local impression, where text and commands are sent to a specific device without the user interaction. For example the issuance of labels on Zebra and Argox equipment and coupon printing nonfiscal in Bematech MP20 printers.
What is the most efficient way to resolve this issue with C#?
The only possibility I thought was to create a support application to be installed on the desktop, but I’m not sure, would be two possibilities:
1) Develop an application as a WCF service installed on the desktop and call the web application. (I believe that in this case there would have to be firewall configuration and port targeting, to allow access and this would not be practical due to the volume of users accessing from different environments)
2) Create a server service (ASMX) and a desktop application that periodically consults the service to check for activity to perform, then perform the task locally. (But it worries me how much this service will be occupied even when in the impression)
Do you think any of these options are feasible? How would you solve?
Did any of the answers solve your question? Do you think you can accept one of them? Check out the [tour] how to do this, if you haven’t already. You would help the community by identifying what was the best solution for you. You can accept only one of them. But you can vote on any question or answer you find useful on the entire site.
– Maniero