hi,
I have an application which sends a dotnet binay file from client to
server. Is it possible to execute the dotnet binary in the server(I
have CLR here)
In java if we have the class file we can execute it in any machine. Is
it possible to do the same with dotnet.Is the dll file enough to run
it in a different machine.
Thanks
sendhil
Girish Bharadwaj - 16 Oct 2003 22:20 GMT
> hi,
> I have an application which sends a dotnet binay file from client to
[quoted text clipped - 7 lines]
> Thanks
> sendhil
Yes. (depending on the fact that you dont have any addtional
dependencies). One of the marketecture terms MS used for .NET was the
"XCOPY" install..

Signature
Girish Bharadwaj
Shashank Welankar - 17 Oct 2003 07:04 GMT
You can simply
Do
System.Dignosticas.Process.Start(assembly path)
to run the binary.
Then you can also use WaitForExist method of the process object to wait till
the process runs
Shashank
> hi,
> I have an application which sends a dotnet binay file from client to
[quoted text clipped - 7 lines]
> Thanks
> sendhil
Nick Hertl - 20 Oct 2003 22:45 GMT
> hi,
> I have an application which sends a dotnet binay file from client to
[quoted text clipped - 7 lines]
> Thanks
> sendhil
something else to watch out for if you run a .NET binary remotely is
Security exceptions. When you run remotely, depending on the
trust-level of the source, you may not have permission to do simple
things that you might otherwise take for granted. You can view or
change these restrictions through the .NET Configuration tool in
Administrative Tools. But for example, if you run an app remotely
even from another machine on your local intranet, you can't call to
unmanaged code (COM Interop), control threads (Thread.Suspend()), or
pretty much anything besides "Run Code"
Max - 21 Oct 2003 11:00 GMT
> hi,
> I have an application which sends a dotnet binay file from client to
> server. Is it possible to execute the dotnet binary in the server(I
> have CLR here)
You can make it a service, register in on server and start via SCM