Click here to Skip to main content
15,890,282 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I know some basic lessons of share point 2010.I can create small sample sites.But I can't understand the basic differences between farm solution and sandbox solution.Can anybody help me?
Posted

Sandbox solution: Everything including sharepoint service, database, auhthentication etc should be installed in same machine.

Farm solution: Sharepoint service, database, other services can be distributed in different machines and thus creates a sharepoint farm.

Here I have tried to provide some useful links to have knowledge on sharepoint.

http://mahmudisblogging.blogspot.com/2011/10/sharepoint-server-2010-learning-steps.html[^]
 
Share this answer
 
Farm solutions

Which are hosted in the IIS worker process (W3WP.exe), run code that can affect the whole farm. When you debug a SharePoint project whose Sandboxed Solution property is set to "farm solution," the system's IIS application pool recycles before SharePoint retracts or deploys the feature so as to release any files locked by the IIS worker process. Only the IIS application pool serving the SharePoint project's site URL is recycled.

Sandboxed Solutions

Sandboxed solutions, which are hosted in the SharePoint user code solution worker process (SPUCWorkerProcess.exe), run code that can only affect the site collection of the solution. Because sandboxed solutions do not run in the IIS worker process, neither the IIS application pool nor the IIS server must restart. Visual Studio attaches the debugger to the SPUCWorkerProcess process that the SPUserCodeV4 service in SharePoint automatically triggers and controls. It is not necessary for the SPUCWorkerProcess process to recycle to load the latest version of the solution.

Reference: MSDN
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900