Understanding SharePoint Framework and Modern Development

Slides:



Advertisements
Similar presentations
Node.js on Windows Azure Name Title Microsoft Corporation.
Advertisements

Connect with life Vedant Kulshreshtha Technology Solutions Professional – SharePoint | Microsoft India
Inspirirani ljudima. Ugasite mobitele. Hvala.. Paolo Pialorsi Senior Consultant PiaSys ( Publishing apps for SharePoint 2013 on Microsoft.
跨平台 Hybrid App 開發簡介 - 使用 Visual Studio Tool for Apache Cordova + HTML/JavaScript 陳葵懋 (Ian)
Ramping Up On The SharePoint Framework (SPFx)
Joy Rathnayake Senior Architect – Virtusa Pvt. Ltd.
From SharePoint to Office 365 Development
1/10/2018 9:33 PM Cloud Roadshow © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO.
Build Client-side web parts for Microsoft SharePoint
SharePoint + CRM Saturday Zurich 2017
Demand Management and Workflow
Get an Introduction to the SharePoint Framework
What's new in the world of SharePoint development and deployment
About Bill Bill Baer (ˈbɛər)
SharePoint Development in the Enterprise (What's New, What's Coming)
6/1/2018 2:18 AM OSP302 Building Integrated Microsoft Office 365, SharePoint Online, and Office Solutions Using BCS and LOB Data Donovan Follette
TechEd /1/2018 7:56 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
SharePoint Provisioning Success with PnP PowerShell
Microsoft Ignite /4/2018 8:46 AM
Automate Custom Solutions Deployment on Office 365 and Azure
Line of Business Solutions in SharePoint Online
6/17/2018 5:54 AM OSP322 Getting the best of both worlds, making the most of SharePoint hybrid search solutions Shyam Narayan Microsoft © 2013 Microsoft.
SPC Developer 6/25/2018 © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Presented by Kenny Duenke and Patrick Witbrod
Upgrading from Full Trust Code to Add-in Model and SharePoint Framework Paolo Pialorsi Senior Consultant - PiaSys.com Track: DEV | Level:
Working with the SharePoint Framework
Continuous Delivery of Windows Azure Cloud Services (DEV310)
SharePoint Framework Extensions
Advancing the SharePoint Developer Community (PnP)
Excel Services Deployment and Administration
SPFx – A modern development tool for SharePoint
Introduction to SharePoint Framework (SPFx)
SharePoint Online Management and Control
Office 365 Development.
Transforming SharePoint Farm Solutions to the Add-in Model
The Future of SharePoint Development - Vision, Strategy, and Roadmap
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
Setting up team development infrastructure for SharePoint 2013
持續的產出Windows Azure 雲端服務
Office 365 Development July 2014.
Introduction to SharePoint Framework (SPFx)
Microsoft Build /24/2018 2:25 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Working with different JavaScript frameworks and libraries
Getting started with SharePoint Framework
Introduction to SharePoint Framework
Office 365 Development July 2014.
Windows Azure Keenan Newton 3-021
Microsoft Virtual Academy
Introduction to Building Applications with Windows Azure
12/9/2018 Desktop Virtualization Corey Hynes Kyle Rosenthal President Technical Lead HynesITe Inc Spider Consulting @windowspcguy.
12/27/2018 4:59 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or.
Getting Started with SP2013 Apps
SPC Developer 1/18/2019 © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
The SharePoint framework
Visual Studio 2010 SharePoint Development Tools Overview
2010 Microsoft BI Conference
Office 365 Development.
2/27/2019 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
Microsoft Connect /28/2019 2:20 AM
Explore PnP Partner Pack for IT pros, admins and architects
Build /19/2019 © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION.
Service Template Creation from the Ground Up
Day 2, Session 2 Connecting System Center to the Public Cloud
Office 365 Development July 2014.
Microsoft Dynamics.
Microsoft Virtual Academy
利用IIS部署與維護 SOA應用程式的技巧
VNet and Cross-Premises Connectivity
Presentation transcript:

Understanding SharePoint Framework and Modern Development Paolo Pialorsi PiaSys.com

Paolo Pialorsi PiaSys.com Project Manager, Consultant, Trainer About 50 Microsoft certification exams passed MCSM – Charter SharePoint MVP Office Servers and Services SharePoint PnP Core Team Member Focused on SharePoint since 2002 Author of many books about XML, SOAP, .NET, LINQ, SharePoint, and Office 365 Speaker at main IT conferences Email : paolo@pialorsi.com Twitter : @PaoloPia

SharePoint Extensibility Principles 9/21/2018 7:41 AM SharePoint Extensibility Principles To provide an Application Development Framework that aligns 1st and 3rd parties To build industry leading client side solutions On-Premises and in the Cloud Unlocking the potentials of SharePoint and the Microsoft Graph on desktops or any device © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

SharePoint Framework (SPFx) New framework to build Modern UI customizations Built on the well-known web stack Open model, not only for .NET/Microsoft-oriented developers Works well on the cloud It is available on-premises, too (SP2016 + FP2 or later) Enterprise-ready when used with back-end services REST API and micro-services, Azure Functions, etc. Not a new model, but an additional model to build UI elements for the Modern UI We can build client-side Web Parts or client-side Extensions

Building out the User Experience TechReady 23 9/21/2018 7:41 AM Building out the User Experience SharePoint Framework Provider Hosted Web Parts Extensions Add-ins Experiences MS Graph Package Deployment CSOM Client side Tools SP APIs Development © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Typical tooling for SharePoint Framework Node.js Yeoman Gulp TypeScript Visual Studio (Code) Frameworks – Choose yours React Angular.js Knockout Etc.

Technology Mapping C# MS Build IIS Express VS Project  New  <Template> C#

Development Machine Setup Node.js (LTS – Long Term Support) - www.nodejs.org NPM v. 3 npm install –g npm@3 Yeoman and Gulp npm install -g yo gulp Yeoman SharePoint Generator npm install -g @microsoft/generator-sharepoint Configure SSL for localhost testing environment gulp trust-dev-cert

Console and Code Editor Source control system and Project management GitHub VSTS Etc. Additional tooling Fiddler - http://www.telerik.com/fiddler Postman - https://www.getpostman.com/ Console for Node.js PowerShell CMDER for Windows - http://cmder.net/ Etc. Code Editor Visual Studio Code Visual Studio 2015/2017 Atom Storm Sublime

What can we build with SPFx? Client-side Web Parts Client-side Extensions Application Customizer Command Set Field Customizer

DEMO Hello World Client-Side Web Part Paolo Pialorsi PiaSys.com

Property Pane Controls Label TextField Checkbox DropDown Toggle Button Horizontal Rule Slider Link Custom community controls: https://oliviercc.github.io/sp-client-custom-fields/ https://github.com/SharePoint/sp-dev-fx-controls-react

DEMO Property Pane Controls Paolo Pialorsi PiaSys.com

Provisioning of Artifacts You can deploy custom artifacts through your custom SPFx solutions Can be provisioned only Fields/Site Columns Content Types List Instances List instances with custom schema It leverages the “old school” feature framework Life could be better  … You need to create a sharepoint/assets folder in the root folder of your project Create elements.xml files and schema.xml files based on CAML syntax Declare the assets in the package-solution.json configuration file

Versioning of provisioned artifacts You can use the Upgrade Actions of the feature framework Supported upgrade actions are ApplyElementManifest AddContentTypeField Provide one or more upgradeActions items in the package-solution.json configuration file It’s feature framework, the old and well know one And you will struggle with all the challenges of feature framework versioning 

Deployment through a CDN You can deploy your SPFx solutions to whatever CDN you like The out of the box tooling natively supports Azure CDN And you can easily use the Office 365 CDN, too The overall goal is to make your solution better served and more achievable

Deploying on Azure CDN Create an Azure Blob Storage account Create a blob container Configure the Azure CDN Profile to target that specific container Configure the deploy-azure-storage.json config file to target your Azure CDN workingDir account container accessKey Configure the write-manifests.json config file with the CDN Profile base URL cdnBasePath Execute “gulp --ship” and “gulp deploy-azure-storage“ Package and publish the solution on SharePoint

Deploying on Office 365 CDN Enable and configure Office 365 CDN Configure the write-manifests.json config file with the CDN base URL cdnBasePath Execute “gulp bundle --ship" Upload the output (./temp/deploy) into the target library Package and publish the solution on SharePoint

Security Model of client-side Web Parts Client-side web parts run with the same permissions as the current user They can do whatever the current user can do They can be installed by tenant administrators only It is responsibility of tenant admins to trust (or to not trust) a SPFx component In the future it will change at site collection scope … They share the same DOM and the same code with the whole page Another client-side web part can do malicious things Don’t store sensitive data in the client-side web part Rely on server-side infrastructural services

DEMO Client-Side Extensions with SPFx Paolo Pialorsi PiaSys.com

What should I learn to be ready? TypeScript Node.js, npm, gulp, and web stack in general Any JavaScript framework of your choice Angular.js, React, Knockout, etc. Office UI Fabric SharePoint Framework Web Parts development SharePoint PnP

Useful Links about SPFx http://dev.office.com/sharepoint https://github.com/SharePoint/sp-dev-docs https://github.com/SharePoint/sp-dev-fx-webparts https://github.com/SharePoint/PnP-JS-Core https://dev.office.com/sharepoint/docs/spfx/web-parts/get-started/build-a-hello-world-web-part https://www.youtube.com/playlist?list=PLR9nK3mnD-OXvSWvS2zglCzz4iplhVrKq

Thanks for watching!