Asked by:
for plugin deployment, Difference between GAC, DataBase, Disk deployments

Question
-
for plugin deployment, Difference between GAC, DataBase, Disk deployments
Thanks
Raghu
Wednesday, July 27, 2011 6:18 AM
All replies
-
- Proposed as answer by VishalSwamiMicrosoft employee Wednesday, July 27, 2011 12:21 PM
Wednesday, July 27, 2011 7:56 AMModerator -
in terms of usage. I would always choose Database for the plugin. It has advantages of being safely being stored in the database and then is proabably backed up. I I also had problems replacing the dll's on disk because they were in use when you tried to copy over them and you have to remember where you placed them on the server.
The only time I installed a plugin to disk was because I wanted to run remote debugging on the plugin and you need the physical dll for that.
Ben Hosking
Check out my CRM Blog
Linked-In Profile
Follow Me on Twitter!Tuesday, August 2, 2011 8:32 PM -
Hi,
Adding few additonal notes along with David post:
GAC Deployment
1. Does not support CRM 2011 online deployments
2. You can reffer external dll assemblies used in Plugin only if they are registered in GAC
Database Deployment
1. Supports CRM online 2011 deployment
2. You can reffer external dll assemblies used in Plugin only if they are registered in GAC
Disk deployments
1. Does not support CRM 2011 online deployments
2. You can reffer external dll assemblies from the disk and from GAC
Jehanzeb Javeed
http://worldofdynamics.blogspot.com
Linked-In Profile |CodePlex Profile
If you find this post helpful then please "Vote as Helpful" and "Mark As Answer".Tuesday, August 2, 2011 10:16 PM -
Difference between GAC, Database and Disk plugin deployments options in microsoft dynamics crm
Difference between GAC, Database and Disk deployments
GAC Deployment
- Plugin assebly registered in GAC
- Plugins do not backed up with database
- Plugins cannot be added to the solution
- Plugins needs IISRESET to refresh
- Does not support Dynamics CRM online
- You can refer external DLL assemblies used in Plugin only if they are registered in GAC
DB Deployment
- Plugin uploaded into the database
- Plugins backed up with database
- Plugins can be added to the solution
- Plugins do not need IISRESET to refresh
- Supports Dynamics CRM online deployment
- You can refer external DLL assemblies used in Plugin only if they are registered in GAC
Disk deployments
- Plugin assembly saved on CRM server hard disk
- Plugins do not backed up with database
- Plugins cannot be added to the solution
- Plugins needs IISRESET to refresh
- Does not support Dynamics CRM online
- You can refer external DLL assemblies from the disk and from GAC
Note:
- With ILMerge external referenced assemblies can be merged together to deploy as a single plugin assemly. This will remove the restriction with Dynamics CRM online deployments, but large assemblies are slow to load.
Misconception:
- You need to deploy plugin dll on the CRM server to enable remote debugging, but this is not required for database deployment, you will need to put pdb file in C:\Program Files\Microsoft Dynamics CRM\Server\bin\assembly folder on crm server.
Benefits of Database Deployment
- Only database assemblies can be packaged in solutions
- Zero service interruption to update a database assembly
- Simplified organization backup / import.
- Disk assemblies will not support multiple versions
- All assemblies consolidated into a single place
- Sandbox and CRM Online only support database assemblies
Suresh Maurya
If you find this helpful then please "Vote as helpful" and mark as "Answer"
http://msxrmtools.com- Edited by Suresh_K_Maurya Friday, May 27, 2016 10:03 AM
Friday, May 27, 2016 9:56 AM