4 tools, sandboxed solutionds, web part development

  • 944 views
Uploaded on

tools, sandboxed solutionds, web part development.

tools, sandboxed solutionds, web part development.

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
944
On Slideshare
0
From Embeds
0
Number of Embeds
2

Actions

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