What is the difference between sandboxed and farm solution in SharePoint 2010

前端 未结 8 2011
攒了一身酷
攒了一身酷 2020-12-30 09:50

I am new to SharePoint 2010. What is the main difference between sandbox and farm solution. Can you give me 5 differences to remember. I googled, but there is lot of matter

8条回答
  •  被撕碎了的回忆
    2020-12-30 10:29

    One major difference is we can't create Aplication pages in Sandbox solutions.Beacuse Application pages are stored in the 14\TEMPLATES_LAYOUTS and when we deploy as sandbox we dont have permissions to the physical folder.

    • Also we cant create VISUAL web parts in Sandbox soultions.
    • We cant use code to connect to the external web services or to database in the sandbox soltion
    • Farm solutions are installed and deployed. Sandboxed solutions are uploaded and activated.

    Farm solutions, which are hosted in the IIS worker process (W3WP.exe), run code that can affect the whole farm. 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.

提交回复
热议问题