locked
http module acting like a windows service RRS feed

  • Question

  • User-522307627 posted
    Hi,
    Is it possible to write a module for a web application with the purpose of running a few tasks(ex: getting an updated stock quote) from time to time(recurrent) behind the curtain, without having to open a webpage?

    Thanks

    Thursday, April 7, 2005 10:39 AM

All replies

  • User-368937792 posted

    Yes, as a matter of fact I beleve the very forums we're using uses that concept.  Create a Module that creates a new System.Threading.Timer that points to a valid TimerCallback delegate in the IHttpApplication.Init method and dispose of the Timer in IHttpApplication.Dispose.

    Thursday, April 7, 2005 1:40 PM