Excellence in Software Engineering Client-Side Object Model MS SharePoint CSOM Belarus SharePoint User Group © 2012, by Ivan Padabed.

Slides:



Advertisements
Similar presentations
Bob German Principal Architect Introduction to Cloud Hosted Apps Your apps here!
Advertisements

What is all about and how does it work? Client Application.
SharePoint 2010 Client Side Object Model. Agenda Introduction The Problem Client side vs Server Side Client Side Object Model – How it works – What can.
SharePoint ExplorerNew Project and Item Templates New Project Structure.
Developing for SharePoint with Visual Studio Jason Keicher
S HARE P OINT 2013 S EARCH – A D EVELOPER ’ S P ERSPECTIVE Ryan McIntyre MCITP, MCPD Director, Portals & Collaboration.
Microsoft ® Official Course Client-Side SharePoint Development SharePoint Practice Microsoft SharePoint 2013.
Design Solutions for a SharePoint in Flux. Agenda © 2014 Jamie McAllister.
Getting data into Silverlight on SharePoint Neil Iversen
Ronnie Saurenmann Principal Architect Microsoft Switzerland
bit and 64-bit Desktop Project Enable Larger Programs using more memory ( x64) Faster Operations (x64 and x86) 12.
St. Louis Day of Dot Net 2011 Jump Start: SharePoint Development Becky Bertram Independent SharePoint Consultant SharePoint MVP, MCSD.NET, MCTS
Introduction To: Client Object Model Development March 20, 2009 SharePoint Saturday Neil Iversen
Welcome to the Minnesota SharePoint User Group November 11 th, 2009 SharePoint 2010 Administration Wes Preston, Brian Caauwe.
Microsoft ® Official Course Interacting with the Search Service Microsoft SharePoint 2013 SharePoint Practice.
Thank you SPSKC15 sponsors!. SharePoint 2013 Search Service Application (SSA) Ambar Nirgudkar Software Engineer
The Microsoft Sync Framework and SharePoint 2010 Gustavo Velez Avanade
Windows SharePoint Services 3.0 (WSS v3) Browser Clients MS Word Clients MS Outlook Clients Microsoft Office SharePoint Server 2007 (MOSS) Windows.
Fraser Technical Solutions, LLC
App development in SharePoint 2013 LIVE Introducing Cloud App Model Cloud-hosted Apps Experiences from the Field.
Title Information First Lastname, Title August 2012 Software Assurance Planning Services.
SPC204 Security Problems in SharePoint 2010 Authentication and Authorization.
Hennie Laubscher K2 Brian Farnhill Independent Consultant.
Copyright © SUPINFO. All rights reserved.
First Look Clinic: What’s New for IT Professionals in Microsoft® SharePoint® Server 2013 Sayed Ali (MCTS, MCITP, MCT, MCSA, MCSE )
Facebook Like Solution in SharePoint Using JavaScript Amie Seisay
Module 8 Configuring and Securing SharePoint Services and Service Applications.
What’s New? – BCS 2013 Brett Lonsdale.  Co-founder of Lightning Tools  One of the hosts on the SharePoint Pod Show  Co-organizer of SharePoint Saturday.
Virtual techdays INDIA │ 9-11 February 2011 SharePoint Foundation: The journey from Windows SharePoint Services Hari Seelam & Raju Upadhyayula │ Solution.
Copyright © 2006 Pilothouse Consulting Inc. All rights reserved. Workflow Development Overview Architecture Requirements Types of workflows Stages of workflow.
Bill Baer is a Senior Product Marketing Manager and Microsoft Certified Master for SharePoint in the SharePoint product group in Redmond, Washington;
HOW SHAREPOINT WORKS By Gary Newman. Root Folder Virtual Directories SP Farm DNS Iterative Forward DNS query for A host record HTTP request HTML & JS.
Javascript Cog Kit By Zhenhua Guo. Grid Applications Currently, most grid related applications are written as separate software. –server side: Globus,
Windows 8 Application Microsoft Word with Apps For Office Internal O365 SharePoint Site Windows Azure Cloud Services Windows Azure Workflow Server.
New & Improved Events List Relationships and Joins Large List Support Field & List Item Validation.
James Akrigg Microsoft Ltd Integrating InfoPath Forms Into Workflow Solutions And Business Processes.
Developing Applications for SharePoint 2010 Chris Keyser Principal Program Manager patterns & practices
Online Conference June 17 th and 18 th SharePoint Online Administration with PowerShell.
What’s New in SharePoint 2010 SharePoint 2010 Development Primer New Developer Tools for SharePoint 2010 SharePoint 2010 Integration with PowerShell.
Web Application with AJAX CS 526 advanced interned and Web system Presenters Faris Kateb Mohammed AbdulAziz Omar Alzahrani.
PS SharePoSH:\> SPSite & SPWebs SharePoint + PowerShell User Group November 21, 2012.
Farm Site List Data External Lists ClientOM Client OM REST APIs.
Microsoft SharePoint Server 2007 Technical Overview Romeo Pruno nonaka.eu.
Welcome to the Minnesota SharePoint User Group February 13 th, 2013 SharePoint 2013 – Developers Track - Client Side Rendering.
Facebook Like Solution in SharePoint Using JavaScript Amie Seisay
CMS 2: Advanced Web Editing - Content Presented By: Katie Pagano, Special Projects Manager Steve Pont, Product Architect.
Interaction classes Record context Custom lookups.
Programming the Microsoft SharePoint Products and Technologies Object Model Paul Appleby Developer & Platform Group
Leveraging Web Content Management in SharePoint 2013 Christina Wheeler.
Virtual techdays INDIA │ august 2010 Silverlight And SharePoint Saranya Sriram │ Developer Evangelist, Microsoft.
Course Agenda Deep Dive into the Building Blocks and Services of the SharePoint Platform Module 1: Developing Advanced Workflow Scenarios in Office 365.
Powering up your Office 365 cmdlets with CSOM Bjoern H Rapp, Senior Architect Public Cloud, SopraSteria.
List Enhancements and Client Object Models in SharePoint 2010 Ronald Tielke Microsoft Services – Southwest.
ArcGIS for Server Security: Advanced
Introducing the Microsoft® .NET Framework
Mobile Development Name Title Company.
Building Dynamic Applications with the SharePoint Client Object Model
Migration to SharePoint 2013
Code Tax: Programming With The Taxonomy API In SharePoint 2010
SharePoint Server 2010 Introduction for Developers
Exploring the Office Developer Story in Microsoft Office 365
Developer Patterns to Integrate Silverlight 4.0 with SharePoint 2010
03 | Client Side SharePoint Development
SharePoint data access and LINQ to SharePoint
Windows Azure Keenan Newton 3-021
OPEN DATA FOR THE OPEN WEB
Mike Ammerlaan Program Manager Microsoft Corporation
Maxim Lukiyanov Program Manager Microsoft Corporation
SharePoint Development
敦群數位科技有限公司(vanGene Digital Inc.) 游家德(Jade Yu.)
Presentation transcript:

Excellence in Software Engineering Client-Side Object Model MS SharePoint CSOM Belarus SharePoint User Group © 2012, by Ivan Padabed

Excellence in Software Engineering 2 SharePoint Data Access CONTENT CC: DOCUMENTUM 2007 technologies  SPQuery  SiteMap Provider  Cross-site query LINQRESTClient OMSilverlightWCF New for 2010

Excellence in Software Engineering 3 Data Access Use JSON / XML Client technologies: –WPF –WinForm –Office –Silverlight –Javascript SharePoint Data SharePoint API Client.svc Client Application

Excellence in Software Engineering 4 Main objects: User Interface Site Web List Form View FolderFileWebPart NavigationNavigationNode UserCustomAction

Excellence in Software Engineering 5 Main objects: Data and Schema Site Web List Field ListItem FolderFile Change ContentType

Excellence in Software Engineering 6 Main objects: Logic and Security Site Web RoleDefinition RoleAssignment WorkflowAssociation WorkflowTemplate

Excellence in Software Engineering 7 Basics Batch operations Execute Query

Excellence in Software Engineering Only Foundation functionality –No search, profiles, metadata, administration No privileges elevation Requests are throttled Execution model: –.NET CLR can be sync –SL/JS are async only O365 Support Hints 8

Excellence in Software Engineering using (ClientContext ctx = new ClientContext( { FormsAuthenticationLoginInfo fbaInfo = new FormsAuthenticationLoginInfo(“user”, “pwd”); ctx.AuthenticationMode = ClientAuthenticationMode.FormsAuthentication; ctx.FormsAuthenticationLoginInfo = fbaInfo; } Authentication Support: FBA 9

Excellence in Software Engineering using (ClientContext ctx = new ClientContext( { NetworkCredential cred = new NetworkCredential(“user”, “pwd”, “domain”); ctx.AuthenticationMode = ClientAuthenticationMode.Default; ctx.Credentials = cred; } Authentication Support: Impersonation 10

Excellence in Software Engineering 11 Anonymous Access Blocked functionality –GetItems, GetChanges on SPList –GetChanges, GetSubwebsForCurrentUser on SPWebs –GetChanges on SPSites Get it back by WebApp PS: $app.ClientCallableSettings.AnonymousRestrictedTypes. Remove([microsoft.sharepoint.splist], “GetItems”)

Excellence in Software Engineering 12 SilverLight specifics SL context from init params <param name = \”initParams\” value = \”MS.SP.url=“ + SPContext.Current.Site.Url + “\”/>” Enables ClientContext.Current

Excellence in Software Engineering 13 Cross-domain (protocol/port) access clientaccesspolicy.xml crossdomain.xml Use proxy

Excellence in Software Engineering 14 CSOM examples MySiteSync –dropbox with SP DWH builder with SSIS –import data to warehouse from SSIS Quick utilities, incl SPD –get GUIDs, etc