c# - When to use a webservice over a windows service? -
i have data loading application has executed multiple times per day @ irregular intervals. planning write service kick off downloads , import data database server. there advantages using standard service on webservice or vice versa?
i think you're missing point here.
web services typically used form of communication or remote execution. call remote function on web-service either adjust behavior of machine it's running on or retrieve data it.
windows services background processes run on machine without "logged on user" being required. can perform tasks , things while user @ login screen, or elevated operations. can talk services adjust behavior or retrieve information, it's general purpose different webservice.
the biggest notable difference here web-services must called, don't run on own.
for application suggest using windows (standard) service, can have execute code once per day. use web-service if you've got else automate calls web-service , require response server detailing it's execution result (success/fail/warning/etc...)
Comments
Post a Comment