Click here to Skip to main content
15,305,361 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
Hi friends
I need to run an application remotely so that the application on my other machine so that it creates a folder in its own host. I tried WCF but am not sure it is possible to use it for creating a folder inside the host.
I appreciate any help and suggestion :)
ZurdoDev 24-May-13 8:57am
Most any .Net app can create a folder, the big question is will your app have permissions to do so.

1 solution

It sounds like you are trying to assemble an application with both a local and remote component, having the local instance send instructions to the remote.

Firstly, applications run using the security context of a user -- either the user who launched the program, or user that a service is configured to use. The application can perform any operations granted to that user. So yes it can create folders anywhere on the filesystem that the user has write permissions. This has nothing to do with WCF.

Secondly, you need to establish a means of communication between host and remote. WCF is one way of doing this. WCF is a bit complicated, but it allows many types of transport e.g. tcp, http, named pipes, etc. There are also many other ways to establish communication depending on your abilities and firewall issues. For example the remote host could run a simple web server. There are many examples on this site about how to establish a tcp listener. This may be easier than configuring WCF.
hosseinDolat 24-May-13 21:52pm
thanks for your suggestions and useful information. I will give it a try and explain the result here

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