Saturday, January 23, 2010

Creating web event receivers in SharePoint 2010

I have just created web event receiver in Visual Studio 2010 and deployed to SharePoint 2010. Visual Studio 2010 makes it very easy to build, develop, and deploy to SharePoint sites.

Inheriting the SPWebEventReceiver, you can create some funky event receivers for multiple web events, i.e. WebProvisioned gets triggered when a site is provisioned/created !


This is the elements file !


No different from creating a event receiver for an item, content type, or list, the process and files required are practically the same :)

No comments: