Office 365 - Introduction to SharePoint Online Development - Lync and Learn

Preview:

DESCRIPTION

Slides from my Lync and Learn session about SharePoint Online development.

Citation preview

Office 365 – Introduction to SharePoint Online DevelopmentCorey Roth (@coreyroth)Applications ArchitectInfusion

Corey RothAbout me

Applications Architect at Infusion Development Two-time Microsoft SharePoint MVP Specializing in ECM and Search Passed all SharePoint 2010 certification exams E-mail: coreyroth@gmail.com Twitter: @coreyroth Blog: www.dotnetmafia.com

Breaking the myth… You can customize more than you

think

Customization Options No-code workflows Master pages and page layouts Site Templates Roll-up data Browser-based forms SharePoint Web Services Sandboxed Solutions

Customization Limitations No farm level features No site definitions Cannot modify

built-in SharePoint files web.config security policies

No changes to web server or .NET framework No custom databases

Types of Customization “Browser” Visual Studio 2010 Visual Studio 2012 RC SharePoint Designer 2010?

Browser-based Customizations Lists and Libraries Content Types Site Pages Site Templates Subsites Site Properties Layouts Content Editor Web Part + jQuery

SharePoint Designer 2010 Customizations Theming and Branding Master Pages Page Layouts CSS Workflows

Using Visual Studio Allows development of custom solutions Requires SharePoint 2010 locally Sandboxed Solutions

Visual Studio - Allowed SharePoint Project Items Web Parts List definitions Event receivers Content Types Visual Web Parts

(with Visual Studio 2012 RC or SharePoint Power Tools)

Prohibited SharePoint Project Items OOTB Visual Web Parts (VS 2010) Application Pages BDC Models

Visual Studio 2012 RC Publish solutions to SharePoint

Online! New SharePoint Project items

Visual Web Part Silverlight Web Part

Content Type Editor List Editor Enhanced JavaScript support

Visual Studio 2012 – Solution Publishing Publish a solution package to:

Remote SharePoint server (Sandboxed) SharePoint Online (Sandboxed) File System

Interacting with SharePoint Sandboxed Code Client Object Model REST / ODATA Web Services

Sandboxed Code Similar sandbox to SharePoint 2010 Restricted subset of SharePoint API Deployed at Site Collection level

Sandboxed Solutions

Corey Roth (@coreyroth)Applications ArchitectInfusion

demo

Client Object Model Allows client side development from

.NET Applications JavaScript Silverlight

Client Object Model

Corey Roth (@coreyroth)Applications ArchitectInfusion

demo

REST / ODATA Provides ODATA interface to lists Located at /_vti_bin/listdata.svc Used from Silverlight, .NET, etc CRUD access using LINQ

REST / ODATA

Corey Roth (@coreyroth)Applications ArchitectInfusion

demo

Web Services Standard SharePoint Web Services such as:

Alerts Copy Lists Search Sites Users and Groups

Located in /_vti_bin

Web Services

Corey Roth (@coreyroth)Applications ArchitectInfusion

demo

Debugging Techniques Can’t attach a debugger to SharePoint Online Revert to conventional techniques

Compiler directives (#if DEBUG) Comments / Literals

Test Environment? Buy another Office 365 tenant Separate private site collection

© 2011 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted

to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Recommended