Click here to Skip to main content
13,044,935 members (39,194 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Hello all,

I have a web site and to this site I need to add a windows service to do some processes periodically. Is it possible to integrate something like this?

What I am thinking is including this service within my ASP.Net project.
I will create a web page which will be working as a configuration page. From that page i will change the win service interval how often it will send emails.. etc. When changes made in this page the database will be updated. The service will read these values from the database and depending on the values it will complete the tasks or I can add entries in the Cache and set an absolute expiry date time, or set a duration after which the item is removed from the cache to schedule this web service.

Is this a good way to integrate this functionality or any other better ways to implement this? Some example links will be really helpful. Thanks a lot.
Posted 28-Dec-11 9:46am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

You can't really integrate a Windows service with a web page, but using a database to specify the data used by the service is certainly viable, and is the way i would do it.
wonder-FOOL 28-Dec-11 17:28pm
thanks John. I appreciate it.
Espen Harlinn 30-Dec-11 9:11am
Good reply :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170713.1 | Last Updated 28 Dec 2011
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100