asp.netfacebookwcfwcf-hosting

Can IIS hosted WCF services perform background tasks?


I know that probably this question would be asked to many times but... The wcf services hosted on iis7 in an asp. Net Web site can do things automatically? Like post a message to a pre-configured wall on Facebook given the permission to the application in a pre scheduled time?
For this to happen a client must send a request or it can do it alone?


Solution

  • The lifetime of a WCF service is typically determined by requests from a client i.e. if there is no client making requests then there is no service running.

    Possible solutions: