waggert
asked on
sending an exe over a webservice
I currently have a .Net dll that calls a web service and is passed back a string. Both are working fine. I would like to change the web service to pass back an exe file instead..
How do I pass back an exe from a web service?
Thanks,
Paul
How do I pass back an exe from a web service?
Thanks,
Paul
ASKER
There are remote machines around the country that have specific versions of sql db's. There's a local process that when kicked off it checks to see if there's a later version of the db available. If so, they hit a web service providing their current version as an int parameter. The web service then constructs a custom .net executable that will update the client's db according to whatever version they are currently on.
So, there are almost an endless number of possible version to version update exe's because the local process is kicked off by the user and thus random.. Ex. 1 to 2, 1 to 3, 2 to 40, whatever.. so those exe's need to be created on demand, programmatically, based on the client's needs.
Currently, the web service is set up to return a custom sql string to update the client's db. However, I just realized that I could have a .net exe do the same thing which would be much cleaner and eliminate a lot of code. The problem now is just figuring out how to return an exe to the client via web service..
Thanks,
Paul
So, there are almost an endless number of possible version to version update exe's because the local process is kicked off by the user and thus random.. Ex. 1 to 2, 1 to 3, 2 to 40, whatever.. so those exe's need to be created on demand, programmatically, based on the client's needs.
Currently, the web service is set up to return a custom sql string to update the client's db. However, I just realized that I could have a .net exe do the same thing which would be much cleaner and eliminate a lot of code. The problem now is just figuring out how to return an exe to the client via web service..
Thanks,
Paul
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
k, thanks Timbo, I will try that.
Paul
Paul
Also, look up the concepts of Smart Client updates:
http://msdn.microsoft.com/netframework/using/building/windows/analystreports/smartclient.aspx
Bob
http://msdn.microsoft.com/netframework/using/building/windows/analystreports/smartclient.aspx
Bob
ASKER
Thanks Timbo, works like a dream.. I had no idea it would be that easy.. .Net is awesome..
Thanks TLO, for your help as well.. Although the Smart Client updates won't work for this specific project I will most likely use them for others.. One more reason .Net is great.. :-)
Thanks!
Paul
Thanks TLO, for your help as well.. Although the Smart Client updates won't work for this specific project I will most likely use them for others.. One more reason .Net is great.. :-)
Thanks!
Paul
Bob