SharePoint 2010 Sandbox Solutions and Visual Studio 2010 Project Templates

by Christian Fredh 3. January 2010 19:16

Sandbox Solutions for SharePoint 2010 are great news for SharePoint development. I think we will see a lot of great features without the need of doing farm deployments. But sandboxed solutions do have their limitations and not all project templates or SharePoint Project Items (SPI) are available for sandboxed solutions.

Below are lists of the templates installed with Visual Studio 2010 Beta 2 and the availability for sandboxed solutions.

Project Templates

 

Name Available for sandboxed solutions
Empty SharePoint Project Yes.
Visual Web Part No. Visual Web Part template uses a user control (.ascx file) and must be deployed as a farm solution.
Sequential Workflow No. Programmatic workflows are not available for sandboxed solutions.
State Machine Workflow No. Programmatic workflows are not available for sandboxed solutions.
Business Data Connectivity Model No. BDC models is deployed at farm level and are therefore not available.
Event Receiver Yes.
List Definition Yes.
Content Type Yes.
Module Yes.
Site Definition No. Site definitions is deployed at farm level and are not available.
Import Reusable Workflow No. Programmatic workflows are not available for sandboxed solutions.
Import SharePoint Solution Package Yes, if the items that is imported from the package are supported.

SharePoint Project Items

 

Name Available for sandboxed solutions
Visual Web Part No. Visual Web Part template uses a user control (.ascx file) and are not available for sandboxed solutions.
Web Part Yes.
Sequential Workflow No. Programmatic workflows are not available for sandboxed solutions.
State Machine Workflow No. Programmatic workflows are not available for sandboxed solutions.
Workflow Association Form No. Association forms includes .aspx files and are not available for sandboxed solutions.
Workflow Initiation Form No. Initiation forms includes .aspx files and are not available for sandboxed solutions.
Business Data Connectivity Model No. BDC models is deployed at farm level and are therefore not available.
Application Page No. Application pages includes .aspx files and are not available for sandboxed solutions. Nothing under the Layouts folder can be deployed in sandboxed solutions.
Event Receiver Yes.
Module Yes.
Content Type Yes.
List Definition From Content Type Yes.
List Definition Yes.
List Instance Yes.
Empty Element Yes.
User Control No. User controls includes .ascx files and are not available for sandboxed solutions. Nothing under the ControlTemplates folder can be deployed in sandboxed solutions.

More information about sandboxed solutions:

Comments

1/3/2010 7:59:13 PM #

pingback

Pingback from topsy.com

Twitter Trackbacks for
        
        Christian Fredh | SharePoint 2010 Sandbox Solutions and Visual Studio 2010 Project Templates
        [christianfredh.com]
        on Topsy.com

topsy.com |

Comments are closed

Powered by BlogEngine.NET 1.5.0.7
Theme by Mads Kristensen

About Christian Fredh

Christian Fredh

A twenty six year old solutions architect and developer living in Stockholm, Sweden. I work as a SharePoint consultant at Avega Group with .NET and SharePoint development.

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view. Use the information on this site at your own risk.

Copyright

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 Unported License.

© Copyright 2009, Christian Fredh.