300 likes | 492 Views
SharePoint 2010. First Look: What's new for Developers in Microsoft SharePoint 2010. Matthew McDermott, MVP Aptillon, Able Blue matthew@ableblue.com @MatthewMcD. First Look: SharePoint Development. Platform Improvements Visual Studio Improvements SharePoint Designer Improvements
E N D
SharePoint 2010 First Look: What's new for Developers in Microsoft SharePoint 2010 Matthew McDermott, MVP Aptillon, AbleBlue matthew@ableblue.com @MatthewMcD
First Look: SharePoint Development • Platform Improvements • Visual Studio Improvements • SharePoint Designer Improvements • Audience: SharePoint developers and technical decision makers
About Me • 5 Time SharePoint Server MVP • Founding Member – Aptillon, Inc. • http://www.aptillon.com • Owner of AbleBlue, LLC. • Instructor for Critical Path Training • Blog: http://www.ableblue.com/blog • Twitter: @MatthewMcD • Email: matthew@AbleBlue.com
Platform Improvements • Platform and Services Architecture • New and Improved APIs • UI Improvements and Tools • Data Connectivity Improvements • Solution Deployment Options • IT Control Improvements
Server and Client APIs • Server API • Event model • LINQ • Connected Client API • Web services • REST • Client object model
Platform Services • Comprehensive Data Access • Enhanced UI with context-sensitive ribbon • XSLT view support • Microsoft® Silverlight Web part • New client object model (Client OM) • Event handlers • Line of Business Integration • Business Connectivity Services • LINQ for SharePoint
XSLT List View Web Part • Allows SPD and browser editing • Shareable custom styles • Conditional formatting • Uses XLST instead of CAML • Ribbon UI • Multi-selection • Inline editing • Support for BCS • Cross-Web list views • Joined list views
Client Object Model and Data APIs • Client OM • Allows access to site collections, sites, lists, and list items through client-side code • Web Parts (ECMAScript) • Silverlight • .NET client applications
Business Connectivity Services • WCF/custom connectivity • Write-back capabilities • Offline access to external data • Integrated designers
LINQ to SharePoint • Allows strongly typed access to lists • Easily accessible • Get a reference to a website • Get a reference to a list • Define a LINQ query • Enumerate the results • Allows merge and join from multiple list results
Sandboxed Solutions • Allow code to run in separate process management (SPUCWorkerProcess) • Scoped to a site collection • Allow developers to run custom code without putting the farm at risk • Access data from lists and libraries within a site collection • Access external data through predefined BCS • Limited access to server resources and data from local site collection
Sandboxed Solution Limitations • Available capabilities • List definitions/instances • Content types • Web Parts • Unavailable items • Custom action • Web application/farm features • Unavailable operations • Connect to resources outside of site collection (except through BCS) • Call unmanaged code
Sandboxed Solution Deployment • Deployed by site collection administrator • Solution gallery • Current resource usage • Average usage • Sandbox solution status
Demo Platform Improvements
Visual Studio Improvements • Productivity Enhancements • Deep SharePoint integration • SharePoint specific Projects and Items • Develop for SharePoint on Windows 7 • Integrated Packaging • Extensibility
Developer Productivity • SharePoint 2010 provides improved developer productivity through better tools • Microsoft® Visual Studio® 2010 SharePoint Tools (SPT) • New project and item templates • New project structure • SharePoint Server Explorer • Microsoft® Office SharePoint® Designer 2010 (SPD) improvements • SPD’s focus on SharePoint objects • SPD work migrates to Visual Studio 2010 • SharePoint 2010 Developer Dashboard • Provides diagnostic and performance-related statistics
Visual Studio 2010 SharePoint Tools • End-to-end SharePoint 2010 developer story • SharePoint Explorer for site exploration • SharePoint 2010 project and item templates • Visual designers for core scenarios • Migration path for Visual Studio 2008 for WSS 3.0 • Extensible by third party developers • Benefits to SharePoint developers • Abstracts away details of RootFiles directory • Abstracts away details of building WSP file • Lessens/eliminates need for external utilities
Project Types and Project Items • Project Templates • BDC model • Content type • Empty project • Event receiver • Import SharePoint solution package • Import reusable workflow • List definition • Module • Sequential workflow • Site definition • State Machine workflow • Visual Web Part • Project Items • Application page • BDC model • BDC resource item • Empty element • Global resources file • List definition from content type • List instance • User control • Visual Web Part • Web Part • Workflow association form • Workflow initiation form
Deployment Options • Controlling SharePoint 2010 Deployment in VS 2010 • Create, build, package, and deploy with F5 • Customize build actions to suit your needs • SharePoint deployment tab options • Two deployment configurations included • Default • No Activation
Demo Visual Studio Enhancements
SPD Improvements • Significant UI Overhaul • Workflow Improvements • Great tool for authoring ECTs • A partner for Visual Studio
SharePoint Designer Improvements • SPD is focused 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
Workflow Improvements • SharePoint Designer improvements • Graphical workflow designer • Out-of-box workflows are editable • Task process designer • Import Visio 2010 workflow models • Reusable declarative workflows • Site workflows • High-privilege workflows • Workflow event receivers
Authoring External Content Types • Summary page and properties • Synchronize EDS with ECT • Multiple external data sources • Two-way synchronization • SQL database and SharePoint • Other data sources
SharePoint Designer versus Visual Studio • SharePoint Designer • Site management • Permissions • List forms and views • External Content Types • Workflow • Visual Studio • Code-based solutions (C#, VB) • Application pages • Features • When SharePoint Designer Can’t
Visio 2010 Support for Workflows • Author workflows just like flowcharts • SharePoint workflow template • SharePoint workflow stencils • Export Workflows to • SharePoint Designer 2010 • Visual Studio 2010
Demo What can SharePoint Designer do for me?