Wednesday, July 7, 2021

Difference between GAC, Database, Disk deployments?

 

GAC (Global Assembly Cache):-

  • Plugin stored in  GAC does not support Dynamics 365 Online.
  • Plugin does not backed up with database, plugin  assembly stored in GAC of the server. So, database backup or restore will not restore your plugin.
  • You cannot add your plugin with your solution which means you always have to copy  and register dll when you want to deploy in another environment.
  • In case of GAC deployment you always need to IIS restart for any update of your plugin.
  • Registering plugin in GAC does not mean that you can access any external dll , you can only refer the dll which you have referenced at the time of plugin development.

Database Deployment:-

  • Support both Dynamics 365 online and On-premises.
  • Plugin is secured and it’s stored in Dynamics 365 database itself  you can backed up and restored the database with plugin.
  • You can include your plugin into your solution and move another environment by solution import.
  • When you update any plugin, you don’t need to do IIS reset to reflect the changes in the Application  level.
  • You can refer external dll from the disk and from GAC.

Disk Deployment:-

  • Does not support dynamics CRM online .
  • Similar like GAC does not backed up with database, plugin  assembly stored in  the server. So, database backup or restore will not restore your plugin.
  • You cannot add your plugin with your solution which means you always have to copy dll and register using plugin registration tool when you want to deploy in another environment.
  • In case of GAC deployment you always need to IIS restart for any update of your plugin.
  • You can refer external dll from the disk and from GAC.

No comments:

Post a Comment

Featured Post

Construction Result Summary Jun-2019