MS CRM Plug-in Debugger

Debugging Plug-in
During plug-in development, developer would want to test his plug-in before putting in production server to make sure it works as designed. One way to do it is to have a development environment to test plug-in which is great. However, the turn around time between deploy-test-debug-build-deploy is very significant. It would be nice if we can test plug-in locally without deploying it on CRM server. The approach I am going to show is to execute plug-in in a small EXE container. Since IPluginExecutionContext is just interface, we can mock the context in our test container.
 
 
Thanks to Sendhil for sharing this link.
Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s