Is it possible to run an executable from a web service?

北慕城南 提交于 2019-12-08 07:44:51

问题


I have a web service and I would like to call an .exe file from within it.

Is this possible? If so, how is it done?


回答1:


I have done that is c# 3.5 with WCF. You can run a exe from a web service. The exe will run on the machine the service is host and with the user the service has been configured. You only have to write a normal Process.Start(...) code.

So the answer is yes you can and, of course, the exe will run on the web service host and not the client. If you need more details, be more specific in your question.



来源:https://stackoverflow.com/questions/717657/is-it-possible-to-run-an-executable-from-a-web-service

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!