Dynamics CRM 2011: Abstracting Plugin Setup

Originally published at http://bit.ly/RIxgt9

How people do it today…

Often times when looking at Dynamics CRM plugin code that someone else has written – or that I have written in the past, I’m presented with a large collection of setup and validation code at the start of the Execute method. Overtime it becomes obvious that this is simply cluttering up our core Plugin code with what is really overhead infrastructure work.