Difference between Sandboxed and Farm Solutions in Sharepoint 2010
S.NoFarm SolutionSandboxed Solution1Where assemblies are kept ?
Assemblies are placed in the GAC or in the Bin directory of a SharePoint web application.Assemblies placed in the GAC are fully trusted,whereas assemblies placed in the bin directoryof a web application can be partially trusted.Assembly execution takes place in the web Server process (w3wp.exe).Where assemblies are kept ?
Any assemblies associated with a solution are extracted, kept in memory, and executed within a special worker process called SPUCWorkerProcess.exe. This isolatesthe execution of sandboxed solutions from the Operations of the underlying web process.
2Who has authority to install and deploy solutions ?
Solutions must be installed and deployed by a farm administrator.Who has authority to install and deploy solutions ?
Solutions can be installed and deployed by a site administrator .
3Is there any limitation on Sharepoint classes and objects when developing Farm Solution ?
There are no limitations on which SharePoint classes and objects can be used in farm solution Assemblies.Is there any limitation on Sharepoint classes and objects when developing Farm Solution ?
Developers must leverage a subset of the SharePoint API when developing sandboxed Solutions.
4Throttling of server resources can be done or not ?
Solutions will use however many server resources are necessary.Throttling of server resources can be done or not ?
Farm administrators have the ability to throttle the server resources used by a given solution.