Difference Between Sand Box Solution and Farm Solution
Sand Box Solution
|
Farm Solution
|
sand box solution deploy in content dbase
|
farm solution deployed in file system (hiv\template\layout)
|
sand box doesn't support to system.IO Therefore you Cannot read/write to the file system.
|
farm solution support to system.IO Therefore you Can read/write to the file system.
|
sand box solution support to deploy as site collection level
|
farm solution is used to deploy a s farm level
|
Visual web parts are not supported
|
Visual web parts are supported
|
No SP Security - Therefore no Elevated Privileges
No support for SPUtility.SendEmail, So you can't Send Mails using this class.
No Server side redirects, such as Response.Redirect, Server.Transfer, SPUtility.Redirect.
|
Here you can use SP Security
Here you can use SP Utillity.Send email
Here you can use redirects, like response .redirect, server.redirect, SPUtility.Redirect
|
You can't use SP Site object to get other site collections. (But you can use it to get current site as : SP Site onsite = SPContext.Current.Site)
|
Here you can use SP site object.
|
No Feature stapling supported.
|
Yes Feature stapling supported.
|
No Business Connectivity Services support
|
Yes Business Connectivity Services support
|
Comments