We have a customer that will be creating many sites based on a site definition.
The sites include a list. We would like to connect a workflow to that list such that the workflow starts whenever a new item is added to the list.
We are using SharePoint Foundation 2010 and developing the workflow with Visual Studio 2010.
What is the best way of doing this?