问题描述
我有一个窗口服务器。 Currenlty在我的本地服务器上运行。
现在我有了一些新的要求,我修改了服务代码。现在我有了新的服务代码的EXE文件。我想要将该exe文件用于已经运行的窗口服务。
为此,我只是停止正在运行的servcie,然后用新修改的exe文件替换现有的EXE文件。然后启动servcie。
所以我的问题是,它是在Windows servcie中使用修改过的exe而不卸载servcie的正确方法吗?并且它是否正常工作?
还建议我正确的工作解决方案。
谢谢
I have a window servcie. Currenlty its running on my local server.
Now i have some new requirement and i modified the service code.Now I have new EXE file for the servcie.I want to use that exe file for the window servcie that is already running.
So for that I just stop the running servcie and then replace the existing EXE file with new modified exe file. And then start the servcie.
So my question is, IS it the right way to used modified exe in windows servcie without uninstalling the servcie? and also is it working fine or Not?
Also suggest me the proper working solution.
Thanks
推荐答案
这篇关于C#中的Windows Servcie的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!