Differences between sandbox solutions and field Solutions

Source: Internet
Author: User
Tags hosting com

Field Solution

The Farm solution is hosted in the IIS auxiliary process (w3wp.exe) and will affect the entire farmCode. When debugging A SharePoint project whose "sandbox solution" property is set to "Farm solution", the system's Iis ApplicationProgramThe pool is recycled before Sharepoint is withdrawn or deployed to publish any files locked by the IIS auxiliary process. Only the IIS application pool of the website URL service for the SharePoint project is recycled.

 

Sandbox Solution

The Sandbox solution is hosted in the SharePoint user code solution auxiliary process (spucworkerprocess.exe) and runs only affects the code of the solution's website set. Because the sandbox solution does not run in the IIS auxiliary process, neither the IIS application pool nor the IIS server needs to be restarted. Visual Studio attaches the debugger to the spucworkerprocess. The spusercodev4 service in SharePoint automatically triggers and controls the process. The spucworkerprocess can load the latest version of the solution without recycling it.

 

Any type of solution

Visual Studio attaches the debugger to a browser to enable client script debugging regardless of the solution. To achieve this, Visual Studio uses the script debugging engine. To enable script debugging, you must change the default browser settings when receiving a system prompt.

Visual Studio only attaches the debugger to the w3wp or spucworkerprocess running the current website. In addition, Visual Studio also attaches a hosting com Plus and workflow debugging engine.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.