.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

SharePoint's Sandbox: Developing, Deploying and Monitoring Sandboxed Solutions in SharePoint 2010

Posted By:      Posted Date: August 21, 2010    Points: 0   Category :ASP.Net

The challenge in SharePoint development has always been the balance between creating and deploying solutions that you can trust not to damage or impair a SharePoint farm. A new feature in SharePoint 2010, called Sandboxed Solutions, enables farm administrators to feel comfortable that the SharePoint farm is safe, gives site collection administrators the authority to manage applications in their site collection, and provides developers with the flexibility to create solutions they know will be deployed in a safe and rapid manner.

Paul Stubbs

MSDN Magazine November 2009

View Complete Post

More Related Resource Links

Deploying Branding Solutions for SharePoint 2010 Sites Using Sandboxed Solutions

Learn to create sandbox-compatible branding solutions using custom master pages, CSS files, and images that can be deployed to SharePoint 2010 farms.

Sample: Deploying Branding Solutions for SharePoint 2010 Sites Using Sandboxed Solutions

Explore the code as you learn to create sandbox-compatible branding solutions using custom master pages, CSS files, and images that can be deployed to SharePoint 2010 farms.

Sandboxed Solutions for Web Parts in SharePoint 2010

SharePoint 2010 provides a new sandboxed environment that enables you to run user solutions without affecting the rest of the SharePoint farm. This environment means that users can upload their own custom solutions without requiring intervention from administrators, and without putting the rest of the farm at risk.

Chapter 4: Sandboxed Solutions (Inside SharePoint 2010)

Sandboxed solutions represent a new form of solution deployment and management in SharePoint 2010. Learn how these solutions balance agility with farm stability and are considered a best practice for SharePoint developers.

Video: SharePoint 2010: Introducing Sandboxed Solutions

Sandboxed Solutions are SharePoint Solution Package files (WSP files) that are limited in what they can do and in the server resources they can use. What they can do is limited using Process Isolation and Code Access Security limited to the SharePoint Site. The resources they can use are limited by process monitoring, logging and log aggregation. (Length: 14:42)

Video: Sandboxed Solutions in SharePoint 2010

This video provides an overview of sandboxed solutions in SharePoint 2010. (Length: 4:18)

Video: Web Parts in Sandboxed Solutions in SharePoint 2010

This module shows how to develop Web Parts for sandboxed solutions in SharePoint 2010. (Length: 4:51)

Video: Capabilities and Elements in Sandboxed Solutions in SharePoint 2010

This demonstration illustrates some of the allowed and disallowed operations in sandboxed Web Parts. (Length: 8:46)

Learning Snack for Developers: Developing Solutions with Microsoft SharePoint 2010

Five videos on SharePoint 2010 development made easy, creating a SharePoint 2010 solution, deploying a solution, Silverlight applications and the client object model, LINQ to SharePoint, and more.

Deploying and Using jQuery with a SharePoint 2010 Sandboxed Solution

If you're an avid reader of this blog, you probably now that I'm quite a big fan of the jQuery Javascript library, especially in combination with SharePoint sites. For a while I've been trying to find a mechanism to deploy jQuery and add a reference to it on all SharePoint pages of a site, by just using a Sandboxed Solution. The first part, deploying the jQuery file, is really easy; this can be done in a Module in a SharePoint project. The second part was more of a challenge; making sure the jQuery file got referenced in all pages of a SharePoint site. My initial thought was to do this by using the AdditionalPageHead Delegate control, but it's not possible in a Sandboxed Solution (you need to deploy the .ASCX to the SharePoint root). My second thought was to use the new ScriptSrc attribute you can use in a CustomAction (I wrote about this attribute some time ago). But initially I was under the impression that the ScriptSrc attribute could only target Javascript files loaded from the SharePoint Root (the \LAYOUTS) folder, resulting in a no-go for a Sandboxed Solution as well. Daniel McPherson stumbled upon this issue as well, but neatly solved it using Javascript to add the reference dynamically. But apparently you can make use of the ScriptSrc attribute to reference files from the Virtual File System (e.g. a Document Library in a site) as well! (thank you Frederic Dobon for men

Developing on SharePoint 2010 Intro Tutorial

Folks, this is a exciting news for SharePoint Geeks that the availability of Developing on SharePoint 2010 Tutorial can be access here.

Office Add-Ins: 3 Solutions for Accessing SharePoint Data in Office 2010


SharePoint 2010 introduces a number of new ways to access business data and present it to the user. We'll show you several options that range from no-code solutions to fully integrated Office add-ins.

Donovan Follette , Paul Stubbs

MSDN Magazine July 2010

Logging to SharePoint 2010 ULS log from sandbox


You can't log directly from sandbox code to the SharePoint ULS log. Developing code without any form of logging is out of this time, so you need approaches for the two situations you can end up with when developing sandbox code:

You don't have control over the server (BPOS scenario):

  • You can log to comments in your HTML code, I know it's terrible, don't log sensitive information
  • Write entries to a SharePoint "log" list (also take care of some form of clean up, for example if list longer that 1000 items, remove oldest item when writing new log message)

You have control over the server:

Sharepoint 2010 power tools visual sandboxed web part issue!!


Hi guys

I tried to use a simple hello world web part with with sharepoint power tools the solution is added ok but when I try to add the web part to the page I get this error "Unable to load assembly group. The user assembly group provider...." Any thoughts






Developer Training: Composite Solutions in SharePoint 2010

Discover how composite capabilities in SharePoint 2010 can be combined to provide desired functionalities. This training module covers new site-scoped workflows and tools, as well as the steps needed to write connectivity between SharePoint and external systems.

Developing with SharePoint 2010 Word Automation Services

Using the Open XML SDK 2.0 in combination with Word Automation Services enables many scenarios that are difficult when using only the Open XML SDK 2.0, such as repagination, conversion to other document formats, or updating dynamic content in documents.

Get Started Developing on SharePoint 2010

Are you an ASP.NET developer who is ready to learn more about SharePoint 2010? Visit the Getting Started page to view screencasts and hands-on labs about working with SharePoint 2010 developer features that are familiar to ASP.NET developers, such as Web Parts and workflow.
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend