Session 2-Mark Michaelis-SharePoint FireStarter-getting started in 2011 with sharepoint 2010 development
Upcoming SlideShare
Loading in...5
×
 

Session 2-Mark Michaelis-SharePoint FireStarter-getting started in 2011 with sharepoint 2010 development

on

  • 4,101 views

 

Statistics

Views

Total Views
4,101
Views on SlideShare
3,241
Embed Views
860

Actions

Likes
1
Downloads
32
Comments
0

5 Embeds 860

http://blogs.msdn.com 852
http://weblog.chrisricard.net 3
https://blogs.msdn.com 2
http://translate.googleusercontent.com 2
https://www.vtunnel.com 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Session 2-Mark Michaelis-SharePoint FireStarter-getting started in 2011 with sharepoint 2010 development Session 2-Mark Michaelis-SharePoint FireStarter-getting started in 2011 with sharepoint 2010 development Presentation Transcript

  • Getting Started in 2011 withSharePoint 2010 Development
    Mark Michaelis
    Chief Technical Architect,
    Author & Trainer
    Allen Greaves
    SharePoint Code Ninja
  • Agenda
  • SharePoint 2010 for Developers
    First Class SharePoint Developer Tools
    Faster Solution Debugging & Tuning
    Choice of Development Workstation
    Developer Productivity
    Comprehensive Data Access
    Line of Business Integration
    Workflow Advances
    Rich Platform Services
    Application Lifecycle Management
    Standardized Solution Packaging
    Deploy with Agility and Stability
    Flexible Deployment
  • Development on Windows 7or Windows Vista SP1
    • Either SharePoint Foundation or SharePoint Server
    • Requires x64 OS
    • Not Supported for Production
    • Only for Stand Alone Installation
    • Can be Disabled through Group Policy
    • Just for Developers
    • Requires Following Install Guide in SDK
    Windows 7
  • Developer Tools for SharePoint
    Develop, Deploy and Debug
    Web Part, BDC and Workflow designers
    Package and Deploy SharePoint projects
    Generate WSP for Production Deployment
    View SharePoint site in Server Explorer
    Team Foundation Server Integration
    Visual Studio 2010
    Web Part Designer
    Broad SharePoint Support
    Support for SharePoint Sandboxed Solutions
    Import WSP from SharePoint Designer including Workflow
    Build Workflow Steps for SharePoint Designer
    Extensibility for Development of Additional SharePoint Artifacts
    SharePoint Business Connectivity Services support
    Project Types
  • Visual Studio 2010 SharePoint Projects
  • SharePoint Designer 2010
    Free for creating and editing SharePoint artifacts
    New Tools
    BDC Entities
    List Schema
    Custom Actions
    Task / Approval Designer
    Improved Tools
    Workflow Designer
    Page Editor
    SharePoint Designer work can be upgraded to Visual Studio 2010
    “Save site as template” in SharePoint Site Settings creates WSP
    WSP imports into Visual Studio 2010 as new project
  • Developer Dashboard
    stsadm -o setproperty -pn developer-dashboard -pvondemand
    Quick Debug or Monitor Page Performance
  • SharePoint List with External Data
    Read / Write
    SharePoint Foundation
    Built on the SharePoint 2007 Business Data Catalog
    Office Apps
    Client Runtime
    Offline Operations
    Cache
    Design Tools
    SharePoint
    Visual Studio 2010
    Enterprise
    Search
    Development
    Platform
    Business Intelligence
    Enterprise content mgmt
    Collaboration social
    SharePoint Designer 2010
    ECT Store
    Runtime
    Security
    Solution Packaging
    Out of the box UI
    Web 2.0
    DB
    WCF
    Web Service
    .NET LOB
    Business Connectivity Services
  • SharePoint List Improvements
    Collaborative Data Store
    Relationships with Cascade or Block
    Transacted Cascading Deletion
    Restriction of Deletion
    Validation with Excel Like Formula
    Formula-based Validation (eg =len(Title)==8)
    Ensure Uniqueness
    Lookup to Multiple Columns
    Versionable Lists
    List Index Auto-Creation
    Scalability and Performance
    List Query Throttling
    And we keep from SharePoint 2007
    Self Service List Creation
    Out of the Box List User Interface
    Built in Authorization Forms
  • List Features
    =Len([PhoneNumber])>9
  • XSLT Views for Lists
    Replaces CAML for Views
    CAML Still Used for Queries
    Better Performance
    Easier edit in SPD
    Ribbon UX: sort/filter/group, conditional formatting,…
    Simpler Coding Experience
    Standard language, shared default XSLT
    XSLT-based views are now default
    SharePoint Lists
    External Lists
  • Design Changes in SharePoint 2010
  • Master Page
    Page Layout
    Master page
    Basic structure
    Navigation
    CSS
    Page content
    Page Layouts (MOSS Publishing)
    Web Part layout pages
    Interactive UI Pieces
    Status Bar
    Dialogs
    Notifications
    Master Page
  • Custom Master Page / CSS
    Skills / Time
    Night and Day master page
    Custom Themes
    Default Themes
    Default SharePoint UI
  • Custom Master Page / CSS
    • Sites that:
    • Don’t want to spend any time on customization
    • Consider familiarity important
    • Users can still do content-based customizations
    Night and Day master page
    Custom Themes
    Default Themes
    Default SharePoint UI
  • Custom Master Page / CSS
    • Sites that:
    • Desire to stand out
    • Don’t have design expertise
    • Don’t have desire for complete customization
    • These can be easily supported by IT
    Night and Day master
    page
    Custom Themes
    Default Themes
    Default SharePoint UI
  • Custom Master Page / CSS
    • Sites that:
    • Represent a branded entity
    • Serve as an “application” or “tool” for users, rather than collaboration
    • Internet sites
    • Employee portals
    • SharePoint-based “application” sites
    Night and Day master page
    Custom Themes
    Default Themes
    Default SharePoint UI
  • Site Owner Customization
    Site Icon, Title and Description
    Navigation
    Quick Launch
    Top Navigation
    Custom lists
  • Themes in 2010
    Colors + Fonts in Open XML Theme Format
    CSS files are marked with “variables”
    Comment-based design -> Standards
    Only one CSS file -> Performance
    Make existing designs theme-compatible
  • Benefit: More options
    Site owners
    Choose from available themes
    SharePoint Server: Customize themes in-browser
    Supported in all core SharePoint CSS
    Designers
    Can still create designs from scratch
    Design themes for existing designs
    IT / Developer
    Control over available themes
    Public API
  • Programming APIs
  • Client Object Model
    Runs on Remote Machine
    • Simple API to Add, Retrieve, Updateand Manage Data in SharePoint
    • Commands batched for Performance
    SharePoint Data
    Client Application
    .NET CLR
    Silverlight CLR
    JavaScript
  • Talking to SharePoint
    Web Services
    Advanced Operations
    SharePoint Server Operations
    Web Services
    More coverage
    Client Object Model
    Site, nav, security services
    Very flexible
    REST
    Easiest to use
    For fixed list schema
    Rendering Data to Page
    Client OM
    Advanced List Operations
    Site Operations
    Security
    REST
    Working with list data,
    fixed schema
    Rendering Data to Page
    Requires code on site/on server
  • 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
    from order indata.Orderswhereorder.Customer.City.Name== "London“selectorder;
  • Query Syntax
    varquery = from list
             in clientContext.Web.Lists
             where list.Title != null
             select list;
     
    varresult = clientContext.LoadQuery(query);
    clientContext.ExecuteQuery();
  • Major Objects in Client Object Model
    Site
    Web
    ContentType
    Change
    List
    Navigation
    Form
    NavigationNode
    View
    UserCustomAction
    Field
    RoleDefinition
    ListItem
    User Interface
    RoleAssignment
    Data and Schema
    Folder
    WorkflowAssociation
    Logic
    File
    WorkflowTemplate
    Security
    WebPart
  • Client Object Model Sample .NET
    ClientContext context =
    new ClientContext("http://server");
    Web site = context.Web;
    context.Load(site);
    context.ExecuteQuery();
    site.Title = site.Title +
    " and Client OM";
    site.Update();
    context.ExecuteQuery();
  • Hello World – Silverlight CLR
  • Hello World – JavaScript
  • Accessing Data: Today
    SharePoint Data
    Server
    Application
    SharePoint API
    Web Service
    Client Application
  • REST APIs
    ADO.NET Data Services REST Protocols Atom, JSON feeds
    SharePoint list data and Excel spreadsheets
    Integration with growing set of Microsoft REST Technologies
  • SharePoint Events Improvements
    Events Project Templates in Visual Studio 2010
    After-Synchronous Events
    Simpler Event Behavior
    Site-scoped events
    Web creation events
    List creation events
    More User Interface Control
    Custom Error Pages
  • Workflow Improvements
    Visual Studio 2010 Initiation and Association Forms
    New Workflow Design Surface in SPD
    Import SPD Workflows into Visual Studio
    Build SPD Actions in Visual Studio
    Visio 2010 Workflow Design
    Browser Based Visualization
    High Privilege Workflows
    Control Where Service Runs
    Site Workflows
    Reusable Declarative Workflows
    List Workflow Event Receivers
    Pluggable Workflow Services
    Performance and Scale
    Fully Customizable OOB Workflow
    Approval Designer
  • Silverlight 3 and SharePoint 2010
    Media Player Web Part
    Organization Browser
    List and Site Creation
    Office Web Applications
    Silverlight Web Part
    Simple way to upload
    Silverlight CLR compatible
    Client Object Model
    Call SharePoint API’s
    REST APIs
    Simplifies List data access
    Support for remotely hosted Silverlight applications
    Delegated authentication/application principals
  • Sandboxed Solutions
    Security & Stability
    Security & Stability
    Essential Agility
    Essential Stability
    BusinessAgility
    BusinessAgility
    Easy Deployment
    Iterative Development
    Access To Shared Servers
    SharePoint Online
    Safe for Other Users
    Limited API Access
    Monitored Resources
    Separate Process
    Site Collection Limits
  • Deployment and Packaging
  • WSP as the SharePoint Installer
    WSS Solution Package (WSP)
    Visual Upgrade from version to version
    SharePoint UI Save To Template
    Better-defined Upgrade Semantics
    Declarative upgrade mappings
    Upgrade callouts for features
    Application discovery in SharePoint Sites
    WSPs as unified developer format
    Works in both site collections and on machine
  • Team Foundation Server - ALM
    • Work Item Tracking
    • Source Code Control
    • Team Build
    • Manage Test Cases
    • Log Bugs
    • Automated Testing
    • Load Testing
  • Mark Michaelis
    Chief Technical Architect,
    Author & Trainer
    mark@intelliTechture.com
    Allen Greaves
    SharePoint Code Ninja
    allen@intelliTechture.com