Microsoft SharePoint 2010 Overview of SharePoint Development & Management Tools Sandboxed Solutions, Visual Studio 2010 Fe...
<ul><li>Overview of SharePoint 2010 Development & Management Tools </li></ul><ul><li>Sandboxed Solutions </li></ul><ul><li...
Overview of SharePoint 2010 Development & Management Tools
Development Tools <ul><li>Visual Studio 2010 </li></ul><ul><li>MS Visio 2010 </li></ul><ul><li>SharePoint Designer to some...
Visual Studio 2010 <ul><li>Visual Studio Project Templates </li></ul><ul><ul><li>Sequential Workflow </li></ul></ul><ul><u...
Visual Studio 2010 <ul><li>Visual Studio Item Templates </li></ul><ul><ul><li>List Instance </li></ul></ul><ul><ul><li>Web...
Visual Studio 2010
Developer Dashboard
LINQ-To-SharePoint <ul><li>Entity based programming </li></ul><ul><ul><li>Strong Types and Intellisense </li></ul></ul><ul...
Client Object Model <ul><li>Simple API to Add, Retrieve, Update and Manage Data in SharePoint </li></ul><ul><li>Commands b...
Visio 2010
Visio 2010
Management Tools <ul><li>Central Administration </li></ul><ul><li>STSADM </li></ul><ul><li>PowerShell </li></ul><ul><li>Sh...
STSADM
PowerShell
PowerShell <ul><li>Is a command-line scripting tool that provides an administrator: </li></ul><ul><ul><li>full access to a...
PowerShell <ul><li>Show the commands available via SharePoint 2010 Management Shell </li></ul>
Sandboxed solutions
Solutions - Changes <ul><li>Two types of solutions </li></ul><ul><ul><li>Farm solutions </li></ul></ul><ul><ul><ul><li>Fea...
Solution deployment options <ul><li>Full trust deployment </li></ul><ul><ul><li>Local deployment only </li></ul></ul><ul><...
Sandbox Setup and Deployment <ul><li>Start on selected server to run sandbox processes </li></ul>
Site Collection Administration <ul><li>Solution Gallery -- _catalogs/solutions </li></ul><ul><li>Empower SC Admins </li></ul>
Sandbox Architecture FRONT END User Code Server
Visual Studio 2010 Feature, Package and Deployment Designer
SharePoint 2010 Project Structure <ul><li>Standard Project Nodes </li></ul><ul><ul><li>Properties </li></ul></ul><ul><ul><...
Feature Node and Feature Designer <ul><li>Feature node contains one or more features </li></ul><ul><ul><li>Customize featu...
Project Packaging <ul><li>Project Packaging Designer </li></ul><ul><ul><li>Modify package properties using property grid <...
Mapped Folders <ul><li>Mapped Folders used to deploy to SharePointRoot </li></ul><ul><ul><li>Layouts folder maps to virtua...
Deployment Options <ul><li>Two Deployment configuration by default </li></ul><ul><ul><li>Default </li></ul></ul><ul><ul><l...
Developing Web Parts
Two Types of Web Parts <ul><li>Visual Web Part </li></ul><ul><ul><li>Allows to drag & drop controls  </li></ul></ul><ul><l...
Visual Web Part
Visual Web Part
Standard ASP.NET Web Part
Standard ASP.NET Web Part
Hands-on-Lab
Upcoming SlideShare
Loading in...5
×

4 tools, sandboxed solutionds, web part development

1,014

Published on

tools, sandboxed solutionds, web part development.

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

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

No notes for slide

4 tools, sandboxed solutionds, web part development

  1. 1. Microsoft SharePoint 2010 Overview of SharePoint Development & Management Tools Sandboxed Solutions, Visual Studio 2010 Feature, Package & Deployment Designer Developing Web Parts
  2. 2. <ul><li>Overview of SharePoint 2010 Development & Management Tools </li></ul><ul><li>Sandboxed Solutions </li></ul><ul><li>Visual Studio 2010 Feature, Package and Deployment Designer </li></ul><ul><li>Developing Web Parts </li></ul><ul><li>Hands-on-Lab: Building Visual Web Part – C# </li></ul>Agenda
  3. 3. Overview of SharePoint 2010 Development & Management Tools
  4. 4. Development Tools <ul><li>Visual Studio 2010 </li></ul><ul><li>MS Visio 2010 </li></ul><ul><li>SharePoint Designer to some extent </li></ul>
  5. 5. Visual Studio 2010 <ul><li>Visual Studio Project Templates </li></ul><ul><ul><li>Sequential Workflow </li></ul></ul><ul><ul><li>State Machine Workflow </li></ul></ul><ul><ul><li>Event Receiver </li></ul></ul><ul><ul><li>Modules (Files) </li></ul></ul><ul><ul><li>Business Connectivity Services Model </li></ul></ul><ul><ul><li>Content Type </li></ul></ul><ul><ul><li>List Definition </li></ul></ul><ul><ul><li>Site Definition </li></ul></ul><ul><ul><li>Visual Web Part </li></ul></ul><ul><ul><li>Import SharePoint Solution (WSP) Package </li></ul></ul><ul><ul><li>Import Reusable Workflow </li></ul></ul>
  6. 6. Visual Studio 2010 <ul><li>Visual Studio Item Templates </li></ul><ul><ul><li>List Instance </li></ul></ul><ul><ul><li>Web Part </li></ul></ul><ul><ul><li>Application Page </li></ul></ul><ul><ul><li>Workflow Association Page </li></ul></ul><ul><ul><li>Workflow Instantiation Page </li></ul></ul><ul><ul><li>Global Resource </li></ul></ul>
  7. 7. Visual Studio 2010
  8. 8. Developer Dashboard
  9. 9. LINQ-To-SharePoint <ul><li>Entity based programming </li></ul><ul><ul><li>Strong Types and Intellisense </li></ul></ul><ul><li>Supports List Joins and Projections </li></ul><ul><ul><li>Join lists on lookup field between them </li></ul></ul><ul><ul><li>Join multiple lists (A->B->C) </li></ul></ul><ul><ul><li>Project any field from joined list in a query without changes in list schema </li></ul></ul><ul><li>Example </li></ul><ul><ul><li>from o in data.Orders where o.Customer.City.Name == &quot;London“ select o ; </li></ul></ul>
  10. 10. Client Object Model <ul><li>Simple API to Add, Retrieve, Update and Manage Data in SharePoint </li></ul><ul><li>Commands batched for Performance </li></ul>Consistent Efficient SharePoint Data .NET CLR Silverlight CLR JavaScript
  11. 11. Visio 2010
  12. 12. Visio 2010
  13. 13. Management Tools <ul><li>Central Administration </li></ul><ul><li>STSADM </li></ul><ul><li>PowerShell </li></ul><ul><li>SharePoint Designer 2010 </li></ul>
  14. 14. STSADM
  15. 15. PowerShell
  16. 16. PowerShell <ul><li>Is a command-line scripting tool that provides an administrator: </li></ul><ul><ul><li>full access to applicable application programming interfaces (APIs) </li></ul></ul><ul><ul><li>ability to interact directly with SharePoint 2010 Products to manipulate Web applications, site collections, sites, lists etc. </li></ul></ul><ul><ul><li>ability to script cmdlets </li></ul></ul>
  17. 17. PowerShell <ul><li>Show the commands available via SharePoint 2010 Management Shell </li></ul>
  18. 18. Sandboxed solutions
  19. 19. Solutions - Changes <ul><li>Two types of solutions </li></ul><ul><ul><li>Farm solutions </li></ul></ul><ul><ul><ul><li>Features deployed to front end </li></ul></ul></ul><ul><ul><li>Sandboxed solutions </li></ul></ul><ul><ul><ul><li>End-user submitted solution </li></ul></ul></ul><ul><ul><ul><li>Features deployed to database – usable in site collection level </li></ul></ul></ul><ul><li>Solution dependencies </li></ul><ul><li>Upgrade infrastructure to support life cycle management of deployed functionalities </li></ul>
  20. 20. Solution deployment options <ul><li>Full trust deployment </li></ul><ul><ul><li>Local deployment only </li></ul></ul><ul><ul><li>More or less the same as in 2007 </li></ul></ul><ul><li>Sandboxed solution deployment </li></ul><ul><ul><li>Deployed to a specific site collection by site collection administrators </li></ul></ul><ul><ul><li>Code runs in a rights-restricted process with limited CAS permissions </li></ul></ul><ul><ul><li>Server resource usage is monitored against a quota managed by the service administrators </li></ul></ul>
  21. 21. Sandbox Setup and Deployment <ul><li>Start on selected server to run sandbox processes </li></ul>
  22. 22. Site Collection Administration <ul><li>Solution Gallery -- _catalogs/solutions </li></ul><ul><li>Empower SC Admins </li></ul>
  23. 23. Sandbox Architecture FRONT END User Code Server
  24. 24. Visual Studio 2010 Feature, Package and Deployment Designer
  25. 25. SharePoint 2010 Project Structure <ul><li>Standard Project Nodes </li></ul><ul><ul><li>Properties </li></ul></ul><ul><ul><li>References </li></ul></ul><ul><li>SharePoint 2010 Nodes </li></ul><ul><ul><li>Features </li></ul></ul><ul><ul><li>Package </li></ul></ul><ul><ul><li>SharePoint Project Items (SPI) </li></ul></ul><ul><ul><li>Mapped Folders </li></ul></ul>
  26. 26. Feature Node and Feature Designer <ul><li>Feature node contains one or more features </li></ul><ul><ul><li>Customize feature properties in designer and/or property grid </li></ul></ul><ul><ul><li>Use Context menu of Feature node to add feature event receiver and feature resource files </li></ul></ul><ul><ul><li>Feature designer allows adding/removing SPIs </li></ul></ul><ul><ul><li>Customize feature activation dependencies </li></ul></ul><ul><ul><li>Feature designer provides design mode and XML text Mode </li></ul></ul>
  27. 27. Project Packaging <ul><li>Project Packaging Designer </li></ul><ul><ul><li>Modify package properties using property grid </li></ul></ul><ul><ul><li>Designer allows you to add/remove features and SPIs </li></ul></ul><ul><ul><li>Modify package properties with designer or XML </li></ul></ul>
  28. 28. Mapped Folders <ul><li>Mapped Folders used to deploy to SharePointRoot </li></ul><ul><ul><li>Layouts folder maps to virtual path /_layouts </li></ul></ul><ul><ul><li>Images folder maps to virtual path /_layouts/images </li></ul></ul><ul><ul><li>You can map other folders inside SharePointRoot directory </li></ul></ul><ul><li>Layouts folder key to creating application pages </li></ul><ul><ul><li>Best practice to create solution-specific folder inside Layouts </li></ul></ul>
  29. 29. Deployment Options <ul><li>Two Deployment configuration by default </li></ul><ul><ul><li>Default </li></ul></ul><ul><ul><li>No Activation </li></ul></ul>
  30. 30. Developing Web Parts
  31. 31. Two Types of Web Parts <ul><li>Visual Web Part </li></ul><ul><ul><li>Allows to drag & drop controls </li></ul></ul><ul><li>Standard ASP.NET Web Part </li></ul><ul><ul><li>Allows to build a logic of the web part embedded into class file </li></ul></ul>
  32. 32. Visual Web Part
  33. 33. Visual Web Part
  34. 34. Standard ASP.NET Web Part
  35. 35. Standard ASP.NET Web Part
  36. 36. Hands-on-Lab
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×