SharePoint 2010 中的沙盒解决方案和场解决方案有什么区别 [英] What is the difference between sandboxed and farm solution in SharePoint 2010

查看:79
本文介绍了SharePoint 2010 中的沙盒解决方案和场解决方案有什么区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是 SharePoint 2010 的新手.沙箱和场解决方案之间的主要区别是什么.你能告诉我 5 个不同之处要记住吗?我用谷歌搜索,但有很多事情要理解.作为一个创业者,我想知道基本的区别.感谢您的帮助.

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 to understand. As a start up guy, i want to know the basic difference. Thanks for your help.

推荐答案

农场解决方案:托管在 IIS 工作进程 (W3WP.exe) 中的场解决方案运行的代码会影响整个场.当您调试已设置沙盒解决方案属性的 SharePoint 项目时.

Farm Solution: 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.

沙盒解决方案:沙盒解决方案托管在 SharePoint 用户代码解决方案工作进程 (SPUCWorkerProcess.exe) 中,运行的代码只能影响解决方案的网站集.由于沙盒解决方案不在 IIS 工作进程中运行,因此 IIS 应用程序池和 IIS 服务器都不必重新启动.Visual Studio 将调试器附加到 SharePoint 中的 SPUserCodeV4 服务自动触发和控制的 SPUCWorkerProcess 进程.SPUCWorkerProcess 进程不需要循环加载最新版本的解决方案.

Sandbox solution: 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.

有关更多信息,请参阅此链接

For more please refere this link

您也可以参考此了解沙盒解决方案 goodlink

You can also refere this to know sandbox solutions goodlink

这篇关于SharePoint 2010 中的沙盒解决方案和场解决方案有什么区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆