Click here to Skip to main content
15,796,734 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i am trying to open exe from WPF application .i am using WCF service to open the exe is there any way to use WCF service wthout IIS/Self hosting .

What I have tried:

I tried using IIS and self its calling the service
Updated 31-Jul-19 6:42am
lmoelleb 31-Jul-19 8:09am    
What does "open exe" mean? Running it? If so, where is it supposed to run? On the same computer? If so, look into the Process class - that can be used to run an exe file. If this is not the solution you are looking for, you need to provide WAY more details.

Share this answer
Your question makes no sense. You said you've written a WPF app and you''re trying to launch and .EXE. OK, you can do that with the Process class[^].

Then you mention a WCF service and you're trying to launch "that .EXE" from that? What .EXE are you talking about? Where is the WCF service hosted? What .EXE are you trying to launch? Are you trying to launch "that .EXE" on the same machine as the WCF service?

If you're trying to run a WCF service, it MUST be hosted, either by IIS or by self-hosting. You have no other options.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900