Call Us: +32 2 466 00 16
Email: info@u2u.be
Follow Us:

Modern Development with SharePoint 2013

4days
Training code
USP13AP
Book this course

Introduction to SharePoint and Office 365 development

Office 365 delivers Software as a Service (SaaS). It provides multiple services that a customer can chose from like Exchange Online, SharePoint Online, OneDrive for Business, … This module will give you a developer's overview on Office 365 and SharePoint.

  • Office 365 services: SharePoint Online, Exchange Online, Skype for Business...
  • SharePoint 2013 vs SharePoint 2016 vs SharePoint Online development options
  • Development environment and options

Part 1: SharePoint development

Client side development using CSOM

This module will introduce you to client side development in .NET using the Client Side Object Model (CSOM), a library that makes your life easier when communicating with SharePoint.

  • Getting started with CSOM
  • Authentication with CSOM
  • Consuming SharePoint
  • Code efficiency with CSOM
  • Additional libraries in CSOM
  • Administering your tenant with CSOM

REST/OData

Next to a nice library, like CSOM, SharePoint also provides REST/OData endpoints to communicate with. These endpoints support the same operations as CSOM does. One of the advantages of using the REST/OData APIs is that you are not tied to using .NET as a development language. You are free to chose whatever language you want, as long as it can make calls to a webservice.

  • Getting started with the REST APIs
  • Authentication with REST APIs
  • OData querying syntax
  • Batch processing
  • The need for digest tokens

JavaScript Client Side Development

Using the client-side development approach, you can also consider JavaScript. In fact, if you want to build components that can be hosted inside your SharePoint sites, JavaScript is currently the best option. When using JavaScript, you can obviously use the REST APIs, but SharePoint also comes with a JavaScript framework to help you, i.e. the Client Side Object Model for JavaScript (JSOM).

  • Getting JSOM loaded in your application
  • Working with SP.SOD
  • Basic operations with JSOM
  • Performance and caching
  • Embedding options
  • Using promises and deferred execution
  • The future of JSOM

Part 2: The Add-in Model

Introduction to the Add-in model

This model was introduced back in SharePoint 2013, it was called the App model, where the goal is to focus on developing your customizations outside of SharePoint and interacting with SharePoint using webservices.

  • How did we get to the add-in model?
  • How is the add-in model being used today?

SharePoint Hosted Add-ins

The SharePoint hosted add-in model will host your add-in entirely in SharePoint. Developers cannot make use of any server side code in this model and are restricted to code that runs in the browser. This module will illustrate you the fundamentals of building SharePoint hosted add-ins with Visual Studio. Participants will learn about the anatomy of the project and the add-in package.

  • Introducing SharePoint Add-ins
  • SharePoint add-in hosting options
  • Visual Studio Project Templates
  • The anatomy of the project
  • SharePoint Add-in Package

Provisioning artifacts

This module will discuss the different SharePoint artifacts that can be provisioned declaratively in a SharePoint Add-in. It starts with list templates and instances, columns and content types and will finish with the custom actions and add-in parts.

  • The SharePoint add-in web.
  • Discovering SharePoint Content Management artifacts: Lists, Content Types, Columns...
  • Extending the ribbon with Custom Actions
  • Provisioning artifacts to the host web: Custom Actions & Add-in parts

Building Provider-hosted SharePoint Add-ins

With SharePoint Add-ins, custom server side code can no longer be deployed to SharePoint and will run on a remote website. This type of Add-in is called Provider-Hosted. This module will explain you the concepts and design considerations of Provider-hosted add-ins.

  • SharePoint Provider-hosted add-ins
  • Handling tenant isolation
  • The Cross Domain Library
  • Branding your SharePoint Add-in with the Chrome Control and the SharePoint Stylesheets

Add-in Authentication

The SharePoint Add-in model introduced a new way of thinking about security. SharePoint authenticates and authorizes components, developed according to the add-in model, using the OAuth 2.0 protocol.This module will explain you the details of the OAuth protocol and will explain you the differences between OAuth and the Server to Server Authentication used in on-premises farms.

  • User Authentication in SharePoint, based on claims
  • Add-in Authentication in SharePoint
  • Understanding OAuth 2.0 and the SharePoint authentication flow: Context Tokens, Refresh Tokens and Access Tokens
  • Server to Server High Trust Authentication
  • Requesting and granting permissions

Remote Event Receivers

With the introduction of the Add-in model, Microsoft added a new way of responding to events that happen in SharePoint, called remote event receivers. Remote event receivers allow you to synchronously and asynchronously respond to something that happens in a SharePoint site. It can also be used for reacting when your add-in is being installed, upgraded or uninstalled somewhere.

  • Remote Event Receivers scenarios
  • Developing Remote Event Receivers
  • Using Remote Event Receivers to deploy artifacts
  • Upgrading add-ins for SharePoint with Remote Event Receivers

Deploying your SharePoint Add-ins

Once an add-in is completely developed, tested and approved, it is time to publish it. This module will discuss what you have to take into account when deploying your SharePoint add-in.

  • Application registration in on-premises
  • Application registration in Office Store and your corporate add-in catalog
  • Client IDs and Client Secrets
  • Publishing the remote parts
  • Publishing the SharePoint add-in package

Part 3: Remote Provisioning

Introduction to Remote Provisioning

When developing SharePoint customizations, often you will need to deploy new sites, lists, contenttypes, themes, files, ... . This process is referred to as Provisioning SharePoint Artifacts. With the remote development model, this now becomes Remote Provisioning.

  • Why do we need (remote) provisioning?
  • Remote provisioning techniques

Introduction to PnP

Since the introduction of the SharePoint Add-in model, it has sometimes become difficult to translate your old code to this new model. Because of this, Microsoft took the initiative to start SharePoint Patterns and Practices (PnP), offering techniques and solutions on how to tackle certain problems when transforming your solutions to the add-in model. Today, SharePoint PnP has grown so much that it now offers techniques, reusable and demo solutions on SharePoint and Office 365 development.

  • What is PnP and how can it help me?
  • Using the PnP.Core in your applications
  • Simplifying authentication using the PnP IdentityModel
  • Reusable solutions for SharePoint On-Prem and Online with the Partner Pack
  • Using the PnP PowerShell CmdLets

Remote Timer Jobs

Sometimes there will be need for building processes that run every once in a while and need to perform certain tasks on your SharePoint environment. Whether this is to validate, fix, provision, ... The options are endless...

  • Why do we need something like remote timer jobs?
  • Using the timer job framework from PnP
  • Publishing your timer jobs

Remote provisioning model using PnP

An important component inside the PnP framework is the remote provisiong component. A component that will allow you to provide a declarative description of what you want to provision and he will do this for you.

  • Introduction to the Remote Provisioning engine in PnP
  • Using the PnP provisioning schema
  • Creating and using PnP provisiong templates

With the introduction of apps, back in SharePoint 2013, Microsoft introduced a new development model where the main focus is to develop any customizations outside of SharePoint. Whether this is done by writing your applications and hosting them on an other server, or done by using client side technologies like JavaScript is up to you. Since the introduction in 2013, this development model is starting to become the standard for SharePoint and Office 365 customizations. This extensive training will learn you how to use this development model when building your SharePoint and Office 365 applications or components.

This training is targeted at developers that want to start using this new development model in their customizations for SharePoint and Office 365. No prior development knowledge on SharePoint is required, having a user-experience with these products is beneficial.
The training is also targeted at existing SharePoint developers that have been using the Solution development approach and now want to get started with this new model.

© 2018 U2U All rights reserved.