Real World Sandboxed
      Solutions
       Andrew Woodward




@AndrewWoody #spsuk #rwsbs
@AndrewWoody #spsuk #rwsbs
You may have heard…
                              “Don’t use the sandbox”
                              Rob Bogue


“You n...
WHAT IS A SANDBOXED
SOLUTION?
@AndrewWoody #spsuk #rwsbs
SharePoint Solution
• WSP based
  – Same as Farm Solutions
• Developer Option




 @AndrewWoody #spsuk #rwsbs
Deployment




@AndrewWoody #spsuk #rwsbs
Limited Scope
• Subset of Farm solution
• Site collection down
• No
  – Timer Jobs
  – Service Applications
  – Web Servic...
Empower Users


                                                 Sandboxed
                                    SharePoint ...
@AndrewWoody #spsuk #rwsbs
Sandboxed Solutions – Why?




@AndrewWoody #spsuk #rwsbs
WHY WOULD YOU BUILD ONE?

@AndrewWoody #spsuk #rwsbs
What’s your release process?




@AndrewWoody #spsuk #rwsbs
What about IT?




                 SharePoint Farm
@AndrewWoody #spsuk #rwsbs
Corporate
• Easy to deploy
  – Reduce lead time
  – Increase agility
• Site collection scoped
  – Reduced risk
  – Delegat...
Online
• Today
  – Microsoft Online still on 2007
  – Hosting companies offering
• Coming..
  – Microsoft Online 2010 wave...
ISV Opportunity
• App Store
• Empowered Business Users
• Microsoft Online




 @AndrewWoody #spsuk #rwsbs
21Scrum the 1st commercial sandboxed solution in the world!

HOW WE BUILT 21SCRUM

@AndrewWoody #spsuk #rwsbs
Design Choice
• Sandboxed
 – We use Microsoft Online
 – Low cost product
 – Quick to try
 – Ease of use – less technical

...
Mock ups




@AndrewWoody #spsuk #rwsbs
Spike Tests
• JavaScript
  – Loading and using Client OM
• Charts
  – Silverlight or JavaScript
• Custom Pages
  – _layout...
Spike Tests
• Timer Jobs
  – Not supported – design out if possible
• Event Handlers




 @AndrewWoody #spsuk #rwsbs
Solution Design
• Split logic and Solution
  – Unit Test logic
  – Integration Test Solution
  – UI Test Client API




  ...
Release
• Release often
  – Dog food if you can
• Release early
  – Beta Tester feedback essential




 @AndrewWoody #spsu...
Upgrades
• New features in SP2010
• Rolled our own
  – Ease of use
  – Better information for user
  – Expected non techni...
Design




@AndrewWoody #spsuk #rwsbs
Beyond the Sandbox
• Use Client
  – Silverlight
  – JavaScript
• Full Trust Proxy
  – Farm Deployed
  – Trusted extensions...
Farm Option
• Sandbox solutions can be to the Farm
• Ease to upgrade in Visual Studio
  – Intellisense support added in Po...
We still have to talk to IT, even with Sandbox solutions…

WHAT ABOUT IT?

@AndrewWoody #spsuk #rwsbs
Talk to IT
•   Involve IT
•   Management of solutions
•   Support – who, when, how?
•   Scale out options




    @AndrewW...
Quotas
• Controlled by IT
• Scoped to Site Collection
• Rogue solutions stop all in Site
  Collection




  @AndrewWoody #...
Question



Is disabled service acceptable?




 @AndrewWoody #spsuk #rwsbs
Where do we go from here?

THE FUTURE

@AndrewWoody #spsuk #rwsbs
@AndrewWoody #spsuk #rwsbs
@AndrewWoody #spsuk #rwsbs
@AndrewWoody #spsuk #rwsbs
For 21apps…
• Develop more products
• Focus on SharePoint 2010 and beyond
• Move to App Store




 @AndrewWoody #spsuk #rw...
Best Practices
•   Start with Sandboxed solution
•   Understand Limitations
•   Spike Test
•   Cover Upgrading early




 ...
Best Practices
•   Talk to IT
•   Be bi-polar
•   Consider App Store
•   Design for users




    @AndrewWoody #spsuk #rws...
Best Practice
• Ask the question:



         Is a disabled service
             acceptable?


 @AndrewWoody #spsuk #rwsbs
Worst Practice
• Turn off User Code Service




 @AndrewWoody #spsuk #rwsbs
@AndrewWoody #spsuk #rwsbs
Closing Slide

      Please be sure to fill out your
           session evaluation!



@AndrewWoody #spsuk #rwsbs
Upcoming SlideShare
Loading in...5
×

SPSUK Real world sandboxed solutions

1,449

Published on

Real world sandboxed solutions presentation at SharePoint Saturday UK by Andrew Woodward

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,449
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • Install Zoomit and test it.
  • SPSUK Real world sandboxed solutions

    1. 1. Real World Sandboxed Solutions Andrew Woodward @AndrewWoody #spsuk #rwsbs
    2. 2. @AndrewWoody #spsuk #rwsbs
    3. 3. You may have heard… “Don’t use the sandbox” Rob Bogue “You need to be bi-polar” Maurice Prather “If your not an ISV, not using BPOS – don’t use the Sandbox” Paul Schaeflein @AndrewWoody #spsuk #rwsbs
    4. 4. WHAT IS A SANDBOXED SOLUTION? @AndrewWoody #spsuk #rwsbs
    5. 5. SharePoint Solution • WSP based – Same as Farm Solutions • Developer Option @AndrewWoody #spsuk #rwsbs
    6. 6. Deployment @AndrewWoody #spsuk #rwsbs
    7. 7. Limited Scope • Subset of Farm solution • Site collection down • No – Timer Jobs – Service Applications – Web Service calls – Nothing outside of the site collection @AndrewWoody #spsuk #rwsbs
    8. 8. Empower Users Sandboxed SharePoint Solutions Designer Workflow Lists and Libraries Team Sites @AndrewWoody #spsuk #rwsbs
    9. 9. @AndrewWoody #spsuk #rwsbs
    10. 10. Sandboxed Solutions – Why? @AndrewWoody #spsuk #rwsbs
    11. 11. WHY WOULD YOU BUILD ONE? @AndrewWoody #spsuk #rwsbs
    12. 12. What’s your release process? @AndrewWoody #spsuk #rwsbs
    13. 13. What about IT? SharePoint Farm @AndrewWoody #spsuk #rwsbs
    14. 14. Corporate • Easy to deploy – Reduce lead time – Increase agility • Site collection scoped – Reduced risk – Delegated permission • More than just SharePoint Designer • Validation option @AndrewWoody #spsuk #rwsbs
    15. 15. Online • Today – Microsoft Online still on 2007 – Hosting companies offering • Coming.. – Microsoft Online 2010 wave @AndrewWoody #spsuk #rwsbs
    16. 16. ISV Opportunity • App Store • Empowered Business Users • Microsoft Online @AndrewWoody #spsuk #rwsbs
    17. 17. 21Scrum the 1st commercial sandboxed solution in the world! HOW WE BUILT 21SCRUM @AndrewWoody #spsuk #rwsbs
    18. 18. Design Choice • Sandboxed – We use Microsoft Online – Low cost product – Quick to try – Ease of use – less technical @AndrewWoody #spsuk #rwsbs
    19. 19. Mock ups @AndrewWoody #spsuk #rwsbs
    20. 20. Spike Tests • JavaScript – Loading and using Client OM • Charts – Silverlight or JavaScript • Custom Pages – _layouts not available @AndrewWoody #spsuk #rwsbs
    21. 21. Spike Tests • Timer Jobs – Not supported – design out if possible • Event Handlers @AndrewWoody #spsuk #rwsbs
    22. 22. Solution Design • Split logic and Solution – Unit Test logic – Integration Test Solution – UI Test Client API @AndrewWoody #spsuk #rwsbs
    23. 23. Release • Release often – Dog food if you can • Release early – Beta Tester feedback essential @AndrewWoody #spsuk #rwsbs
    24. 24. Upgrades • New features in SP2010 • Rolled our own – Ease of use – Better information for user – Expected non technical users @AndrewWoody #spsuk #rwsbs
    25. 25. Design @AndrewWoody #spsuk #rwsbs
    26. 26. Beyond the Sandbox • Use Client – Silverlight – JavaScript • Full Trust Proxy – Farm Deployed – Trusted extensions @AndrewWoody #spsuk #rwsbs
    27. 27. Farm Option • Sandbox solutions can be to the Farm • Ease to upgrade in Visual Studio – Intellisense support added in Power Tools @AndrewWoody #spsuk #rwsbs
    28. 28. We still have to talk to IT, even with Sandbox solutions… WHAT ABOUT IT? @AndrewWoody #spsuk #rwsbs
    29. 29. Talk to IT • Involve IT • Management of solutions • Support – who, when, how? • Scale out options @AndrewWoody #spsuk #rwsbs
    30. 30. Quotas • Controlled by IT • Scoped to Site Collection • Rogue solutions stop all in Site Collection @AndrewWoody #spsuk #rwsbs
    31. 31. Question Is disabled service acceptable? @AndrewWoody #spsuk #rwsbs
    32. 32. Where do we go from here? THE FUTURE @AndrewWoody #spsuk #rwsbs
    33. 33. @AndrewWoody #spsuk #rwsbs
    34. 34. @AndrewWoody #spsuk #rwsbs
    35. 35. @AndrewWoody #spsuk #rwsbs
    36. 36. For 21apps… • Develop more products • Focus on SharePoint 2010 and beyond • Move to App Store @AndrewWoody #spsuk #rwsbs
    37. 37. Best Practices • Start with Sandboxed solution • Understand Limitations • Spike Test • Cover Upgrading early @AndrewWoody #spsuk #rwsbs
    38. 38. Best Practices • Talk to IT • Be bi-polar • Consider App Store • Design for users @AndrewWoody #spsuk #rwsbs
    39. 39. Best Practice • Ask the question: Is a disabled service acceptable? @AndrewWoody #spsuk #rwsbs
    40. 40. Worst Practice • Turn off User Code Service @AndrewWoody #spsuk #rwsbs
    41. 41. @AndrewWoody #spsuk #rwsbs
    42. 42. Closing Slide Please be sure to fill out your session evaluation! @AndrewWoody #spsuk #rwsbs

    ×