With Sharepoint 2010,you could now track when a web is added, provisioned, moved and deleted. Deleting,Adding, Provisioning & Moving are synchronous events and Deleted, Added,Provisioned & Moved events areasynchronous events. If you open up visual studio 2010 & select SharePoint2010, you could see the ‘event receiver’ template that we are looking for. We have listed some 6 event handlers for giving an idea of how it looks. A sample code for using such event is given below. For instance, if you want to trigger an event while adding a sub-site, you could use the below code.