I have developed a WCF Service that upon request, will create a worker thread and begin a sometimes extensive process of working with large amounts of data.
I require both this processing ability and the RESTful abilities of WCF Services to be able to be used.
Example: Storing a Thread Globally, and being able to access it in the RESTful Call.
However, from my understanding, doing this in IIS is not advised and IIS will terminate long-running applications, and it is advised to run this as a Windows Service hosted WCF Service.
Yet, we rely on the ability to use Web Deploy / Publishing via Visual Studio and is integral to our development process.
How can I have the best of both worlds?