From what I understand from the sparse documentation on MSDN, the way to do long running jobs in SharePoint is to use a SPWindowsService. I would like an example on how to create a custom windows service to run in the context of a SharePoint farm.
...
Hi there, I'm looking to pass parameters into a Windows Service not only upon launch but while it's still running as well. I've heard the best way to do this would be through the COM but I have no idea where to even get started. Are there any good places you can recommend where I can find some helpful information about how to get started...