60 likes | 258 Views
SharePoint 2010 Development 101. LINQ to SharePoint Client Object Model Visual Web Parts. Accessing Data in SharePoint Today. SharePoint Data. LINQ to SharePoint. Server Application. SharePoint API. Web Services. Client.svc. JSON. XML. WPF/WinForm/Office Silverlight JavaScript.
E N D
SharePoint 2010 Development 101 • LINQ to SharePoint • Client Object Model • Visual Web Parts
Accessing Data in SharePoint Today SharePoint Data LINQ to SharePoint Server Application SharePoint API Web Services Client.svc JSON XML WPF/WinForm/Office Silverlight JavaScript Client Application Client OM Client Application
LINQ to SharePoint • Simplified query syntax • “Replaces” SPQuery object • No more CAML! • Data context must be generated
Client Object Model • Simple API • Create, Read, Update and Manage data SharePoint Data • Consistent • Efficient • ClientApplication .Net CLR Silverlight JavaScript
Visual Web Parts • “SmartPart” • Easy web part development • WYSIWYG design-time experience
Gotchas • LINQ to SharePoint • Visual Studio 2010 target (x86) • Changes to List schema • Client Object Model • JavaScript runs within site context • Minor differences between clients • Visual Web Parts • Not for Sandboxed Solutions • ... maybe http://sharepointdevtools.codeplex.com