Timer Vs Windows Services


hi team,
             advised use windows services instead of timers questions answer. please tell me technical reason same? benefits of using windows services , demerits of using timer based application scheduled applications. please see below link previus question.

http://social.msdn.microsoft.com/forums/en-us/architecturegeneral/thread/b2accb23-8c27-4592-b282-adf50a165a29



regards,
zamsheer

hi,

there 3 timers in .net , available in types of applications. here article them.....

http://msdn.microsoft.com/en-us/magazine/cc164015.aspx


they way see can either have windows service application uses timers poll time. thats it. need both application working; windows service host, sitting in background, , using timer tick every 5 minutes. there no need discuss 1 needed need both.

the other option write console application , set run scheduled task; every 5 minutes. easy set up.

these 2 approaches equivalent.


Architecture  >  Architecture General



Comments

Popular posts from this blog

Azure DocumentDB Owner resource does not exist

BizTalk Server 2013 Azure VM Log Shipping and HA for hosts

How to Share webservice object to all user