This program is from www.codeproject.com
I forgot the exact source.
Server-side programs, I generally use in the Windows service call Open mode, so that both the interface can be seen, but also to avoid the system logoff, the program followed the exit. and can support boot boot.
Used only in Windows Server 2003 and. net2.0 environments, other run environments are not tested
Click the service program to achieve self-installation and self-unloading, it is very convenient to use.
In the configuration file, set the location address of the server-side program
A server-side program is another program used to communicate with clients. Windows Services is used to open this server-side program
The configuration file for the Windows service program is as follows
<?xml version="1.0" encoding="utf-8" ?>< Configuration>
Location of the server-side program <add key="FileName" value="F:\AppServer\ AppServer.exe"/> </appSettings></configuration>
When the service starts, it will open the server-side program on this address
To see the program interface, you need to set up the service after installation
In the service, locate this service and click the Right button property.
source File Download
"Source download" share a Windows service that supports self-installing self-uninstallation