Your SlideShare is downloading. ×
0
4   tools, sandboxed solutionds, web part development
4   tools, sandboxed solutionds, web part development
4   tools, sandboxed solutionds, web part development
4   tools, sandboxed solutionds, web part development
4   tools, sandboxed solutionds, web part development
4   tools, sandboxed solutionds, web part development
4   tools, sandboxed solutionds, web part development
4   tools, sandboxed solutionds, web part development
4   tools, sandboxed solutionds, web part development
4   tools, sandboxed solutionds, web part development
4   tools, sandboxed solutionds, web part development
4   tools, sandboxed solutionds, web part development
4   tools, sandboxed solutionds, web part development
4   tools, sandboxed solutionds, web part development
4   tools, sandboxed solutionds, web part development
4   tools, sandboxed solutionds, web part development
4   tools, sandboxed solutionds, web part development
4   tools, sandboxed solutionds, web part development
4   tools, sandboxed solutionds, web part development
4   tools, sandboxed solutionds, web part development
4   tools, sandboxed solutionds, web part development
4   tools, sandboxed solutionds, web part development
4   tools, sandboxed solutionds, web part development
4   tools, sandboxed solutionds, web part development
4   tools, sandboxed solutionds, web part development
4   tools, sandboxed solutionds, web part development
4   tools, sandboxed solutionds, web part development
4   tools, sandboxed solutionds, web part development
4   tools, sandboxed solutionds, web part development
4   tools, sandboxed solutionds, web part development
4   tools, sandboxed solutionds, web part development
4   tools, sandboxed solutionds, web part development
4   tools, sandboxed solutionds, web part development
4   tools, sandboxed solutionds, web part development
4   tools, sandboxed solutionds, web part development
4   tools, sandboxed solutionds, web part development
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

4 tools, sandboxed solutionds, web part development

1,001

Published on

tools, sandboxed solutionds, web part development.

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,001
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
24
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Microsoft SharePoint 2010 Overview of SharePoint Development & Management Tools Sandboxed Solutions, Visual Studio 2010 Feature, Package & Deployment Designer Developing Web Parts
  • 2. <ul><li>Overview of SharePoint 2010 Development &amp; 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. Overview of SharePoint 2010 Development &amp; Management Tools
  • 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. 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. 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. Visual Studio 2010
  • 8. Developer Dashboard
  • 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-&gt;B-&gt;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 == &amp;quot;London“ select o ; </li></ul></ul>
  • 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. Visio 2010
  • 12. Visio 2010
  • 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. STSADM
  • 15. PowerShell
  • 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. PowerShell <ul><li>Show the commands available via SharePoint 2010 Management Shell </li></ul>
  • 18. Sandboxed solutions
  • 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. 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. Sandbox Setup and Deployment <ul><li>Start on selected server to run sandbox processes </li></ul>
  • 22. Site Collection Administration <ul><li>Solution Gallery -- _catalogs/solutions </li></ul><ul><li>Empower SC Admins </li></ul>
  • 23. Sandbox Architecture FRONT END User Code Server
  • 24. Visual Studio 2010 Feature, Package and Deployment Designer
  • 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. 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. 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. 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. 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. Developing Web Parts
  • 31. Two Types of Web Parts <ul><li>Visual Web Part </li></ul><ul><ul><li>Allows to drag &amp; 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. Visual Web Part
  • 33. Visual Web Part
  • 34. Standard ASP.NET Web Part
  • 35. Standard ASP.NET Web Part
  • 36. Hands-on-Lab

×