Simple way of running a background process from asp.net
Posted on 2013-09-18
Sometimes in asp.net you want to initiate a process that may take some time - and so don't want to hold the user up while it finishes, or which it just isn't necessary that it finishes before the page returns to the user (e.g. send an email).
Therefore you need some way to pass some parameters through to another process and have it just run as a background task.
I've been looking round for some simple way to do this, but haven't really come across anything. I had assumed Windows Workflow Foundation might be the answer but I've read a fair amount on it and can't see it really does what I want - to be honest it seems less to do with running some background process and more to do with managing workflows.
Ideally I'd like this to be reasonably straight forward, and use something which already exists within Windows - I'd prefer not to have to install anything extra on a target server machine.