300 likes | 590 Views
SharePoint Server 2010 Developer Roadmap. Outline. What’s New in SharePoint 2010 SharePoint 2010 Development Primer New Developer Tools for SharePoint 2010 SharePoint 2010 Integration with PowerShell. SharePoint 2007. Windows SharePoint Services (WSS v3)
E N D
Outline • What’s New in SharePoint 2010 • SharePoint 2010 Development Primer • New Developer Tools for SharePoint 2010 • SharePoint 2010 Integration with PowerShell
SharePoint 2007 • Windows SharePoint Services (WSS v3) • Site and Workspace Provisioning Engine • Out-of-the-box Collaboration Services • Microsoft Office SharePoint Server (MOSS) • User Profiles, Search, Workflows, WCM • BDC, Excel Services, Forms Services, ECM Browser Clients Microsoft Office SharePoint Server 2007 (MOSS) MS Word Clients Windows SharePoint Services 3.0 (WSS v3) MS Outlook Clients .NET Framework 3.0 Internet Information Services 6.0or7.0 Windows Server 2003 or 2008 (32-bit or x64)
SharePoint Server 2010 and related technologies • An evolved version of MOSS and WSS v3 • Microsoft SharePoint Server 2010 • Microsoft SharePoint Foundation 2010 • Development can now be done on client OS • Significant enhancement for many development teams Browser Clients Microsoft SharePoint Server 2010 MS Word Clients Microsoft SharePoint Foundation 2010 MS Outlook Clients .NET Framework and ASP.NET 3.5 SP1 Internet Information Services 7.0 Windows Server 2008 (x64 only)for Production Environments Windows 7 or Vista (x64 only) for Development Environments only
Microsoft SharePoint 2010The business collaboration platform for the Enterprise and the Web • Connect and Empower People • Cut Costs with a Unified Infrastructure • Rapidly Respond to Business Needs Sites Composites Communities Insights Content Search
What's New in SharePoint 2010 • Improvements to UI and accessibility features • Better Tools for Developers and Designers • End-to-end Integration with PowerShell • Improvements to lists and events • New WSS integration with LINQ • New client-side object model and runtime • Enhanced support for developing workflow applications • New Extensible architecture for service applications • Evolving story for integrating SharePoint with external data • New Connector framework enhances Search architecture • User Solutions and Partially Trusted Code • The shift to claims-based security
Major Shifts in SharePoint UI • Server ribbon • In-place editing Popup dialog AJAX refresh
SharePoint 2010 UI demo
Outline • What’s New in SharePoint 2010 • SharePoint 2010 Development Primer • New Developer Tools for SharePoint 2010 • SharePoint 2010 Integration with PowerShell
SharePoint Terminology Review - Farm (SPFarm) - Web Application (SPWebApplication) - Site Collection (SPSite) - Site (SPWeb) - List (SPList) - Item (SPListItem) - Document Library (SPDocumentLibrary) - File(SPFile) - Folder(SPFolder)
Debugging SharePoint 2010 Code • Make sure that your start VS 2010 as Admin • Required for attaching VS 2010 debugger to IIS Worker Process (W3WP.EXE)
SharePoint 2010 OM demo
Outline • What’s New in SharePoint 2010 • SharePoint 2010 Development Primer • New Developer Tools for SharePoint 2010 • SharePoint 2010 Integration with PowerShell
VS 2010 SharePoint Tools • SharePoint 2010 development brings new tools • Created by group within Visual Studio 2010 team • Major step forward from SharePoint 2007 development • New tools target SharePoint 2010 only • These new tools are introduced in lecture 2 SharePoint Explorer New Project and Item Templates New Project Structure
SharePoint Designer Improvements • SPD shell’s focus on SharePoint objects • SPD objects have relationships • Intuitive navigation between SPD objects • SPD work migrates to Visual Studio 2010 • SPD customization work exported to .wsp files • .wsp files imported into Visual Studio New UI focusedon SP Objects SPD 2007 UI SPD 2010 UI
Outline • What’s New in SharePoint 2010 • SharePoint 2010 Development Primer • New Developer Tools for SharePoint 2010 • SharePoint 2010 Integration with PowerShell
PowerShell Support • Previous version of WSS relies on STSADM.EXE • Used for command line administration and scripting • SharePoint 2010 adds support for PowerShell • PowerShell support effectively replaces STSADM.EXE • SharePoint admins/devs must learn PowerShell basics • You can write powerful scripts against WSS OM • You can develop custom PowerShell snap-ins STSADM.EXE We’ll miss you old friend
PowerShell Primer for Beginners • What is PowerShell? • A modern replacement for the CMD (command) shell • A powerful scripting environment for administration • Note – VM for this course uses PowerShell V2 (CTP3) • PowerShell fundamentals • Cmdlets(e.g. Get-Process and Stop-Process) • Pipelining and formatting features • Provider-based model for accessing resources
Getting Started with PowerShell (1) Execute a Cmdlet (2) Filter results using where clause (3) Add formatting instructions (4) Redirect output to new text file
Scripts and Execution Policy • You can author PowerShell scripts • Scripts have .ps1 extension • Local execution policy must be configured Scripts will not execute under default execution policy of restricted Scripts can execute under execution policy of unrestricted. Scripts that are not signed result in prompting user for permission to execute. Scripts can execute under execution policy of bypass. This mode suppresses prompting user for permission to execute.
Editing Scripts using PowerShell ISE • Supports Color-coding, IntelliSense and debugging
The SharePoint Powershell Snapin • Explicitly load SharePoint PowerShell snap-in from console or script • Implicitly load snap-in by using link in Windows Start menu Begin using SharePoint Cmdlets
Creating a Custom Powershell Snap-in • PowerShell was created with extensibility in mind • SharePoint developers can create custom snap-ins • STSADM extensions now considered deprecated
Summary • What’s New in SharePoint 2010 • SharePoint 2010 Development Primer • New Developer Tools for SharePoint 2010 • SharePoint 2010 Integration with PowerShell