沙盒解决方案和场解决方案的不同( 来自MSDN Library)
来源:互联网 发布:蘑菇街销量软件 编辑:程序博客网 时间:2024/05/17 02:22
When you compile a SharePoint solution, it deploys to the SharePoint server and a debugger attaches to debug it. The process used to debug the solution depends on the setting of the Sandboxed Solution property: sandboxed solution or farm solution.
For more information, see Sandboxed Solution Considerations.
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, 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. Becausesandboxed 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.
With either solution type, Visual Studio also attaches the debugger to the browser to enable client-side script debugging. Visual Studio uses the script debugging engine for this purpose. To enable script debugging, you must change the default browser settings when you are prompted.
Visual Studio attaches the debugger only to the W3WP or SPUCWorkerProcess processes running the current site. Visual Studio also attaches the managed COM Plus and workflow debugging engines.
Concepts
Other Resources
- 沙盒解决方案和场解决方案的不同( 来自MSDN Library)
- 怎样使PB5和PB6共存,来自MSDN的解决方案!(转)
- 沙盒解决方案与场解决方案之间的差异
- 沙盒解决方案与场解决方案之间的差异
- SharePoint 沙盒解决方案 VS 场解决方案
- 缓存图片解决方案(来自stackoverflow)
- Cisco和H3C的两种不同动态VPN解决方案
- Cisco和H3C的两种不同动态VPN解决方案
- Cisco和H3C的两种不同动态VPN解决方案
- 有关FileUpload类的描述和简单实例(来自msdn技术资源库)
- 一个lib和dll的例子 来自MSDN
- msdn上不能下载大文件的解决方案
- MSDN或CHM文件无法使用时可能的解决方案
- LibPaBOD(a LIBrary for PArt-Based Object Detection in C++)我在运行中遇到的问题和解决方案
- Jquery不同版本共用的解决方案(插件编写)
- MSDN Library for vs 2010 下载和安装(终于知道原来是这样安装的)
- 如何设置Visual Studio的项目和解决方案目录(环境目录:Include, Library, Executable, etc.)
- 级联关系(内容大部分来自JavaEE轻量型解决方案其余的是我的想法)
- 一个高效的hash str map 的实现
- php给$_POST,$_GET过滤单引号与双引号安全函数
- 对于骨架类(AbstractInterface)的理解
- 关于XML文件的异常:The processing instruction target matching "[xX][mM][lL]" is not allowed.
- 无法启动 Apache2.2 服务(位于 本地计算机 上)。 错误 1067: 进程意外终止
- 沙盒解决方案和场解决方案的不同( 来自MSDN Library)
- delphi 实现无窗口移动
- 列出所有安装程序的例子
- startActivityForResult 和startActivity的区别
- MFC由多文档转换为单文档
- Expression Blend实例中文教程系列文章汇总
- 查询Oracle表空间信息
- java语法——监听器
- eax, ebx, ecx, edx, esi, edi, ebp, esp