Itemupdating which wasn t
For more details on the actual F5-experience, I encourage you to read MSDN, SDK and all the blogs out there.
You are presented with a web page (VS 2010 launches IE for you as well), where you now can easily test your Event Receiver.
It is a companion tool to Item Import and uses the DSpace simple archive format to specify changes in metadata and bitstream contents.
Currently we don’t cancel the event or do anything else – let’s leave that to your imagination.
As easy as 1-2-3, you’ve created a new event receiver in Share Point 2010 – and created a Custom Error Page upon which your users will land when they’re presented with the error – something that wasn’t really possible in 2007.
I’ve got an event handler on a Share Point list that’s fairly long running, and this then raised a question in the office – do these settings control event firing for the currently running event handler, or for the entire list? A quick check on twitter suggested the same – that it was the thread (thanks @Chris O_Brien).
The breakpoint is simply added because you easily should see that your code executes and works as expected.
By pressing F5, Visual Studio will take care of the build, packaging and deployment of your Event Receiver.
I can’t think why you’d want to do that, but there you go.