9.13.2012

Sandboxed vs Farm Solutions

Difference between Sandboxed and Farm Solutions in Sharepoint 2010


S.No
Farm Solution
Sandboxed Solution
1
Where 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 isolates
the execution of sandboxed solutions from the Operations of the underlying web process.

2
Who 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 .
3
Is 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.
4
Throttling 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.

No comments:

Post a Comment