Wednesday, 15 April 2015

.Net Threading And Services

How to create
http://conceptualcsharp.blogspot.ca/p/about-service.html


Setting up service and timers example
http://www.aspfree.com/c/a/C-Sharp/Timer-Objects-in-Windows-Services-with-C-sharp-dot-NET/


Timer thread example
http://stackoverflow.com/questions/2405619/thread-sleep-and-windows-services

Windows service with theads
http://www.daniweb.com/software-development/csharp/threads/149562/windows-service-with-threads


Thread timer
http://csharptips.wordpress.com/2010/08/24/thread-timer/

Getting started - threading
http://www.albahari.com/threading/



Registering Service

sc create <NAME> binpath= "FullServicePath.exe"

sc delete <name>     delete any service -- BE CAREFUL!

http://stackoverflow.com/questions/1279383/installing-multiple-instances-of-the-same-windows-service-on-a-server

http://svn.apache.org/repos/asf/subversion/trunk/notes/windows-service.txt

Or Use


Command Prompt: run as administrator

switch to c:

cd Windows\Microsoft.NET\Framework\v4.0.30319

Then run the following to install or uinstall

installutil C:\Service.exe