Posts

Showing posts from May, 2014

Develop and Debug in Sandbox Isolation Mode (its faster)

If you ever want your plug-ins to work on CRM Online then you need to make sure you're plug-ins work in sandbox isolation mode.  And you will be surprised to learn  what works and doesnt work  when in sandbox mode.  These are just a few of the things I've run into that don't work in sandboxed plug-ins Calling a web-service using  IP address or localhost . Creating the WCF service proxy class by calling its constructor. CRM LINQ queries   Calling a web service using default credentials The best way to avoid being surprised by any of these issues is to make sure you do all development in testing in Sandbox mode.  You don't want to be surprised when you deploy your plug-in to CRM Online and find out you're using some .NET function that isn't supported. Also,   it is now actually easier to debug plug-ins when they are sand-boxed.  When  registering a plug-in , you have three options of where the plug-in can be stored. On Disk - The plug-in assembly is st