spblog.github.io

Container for code samples from blog

Table of contents:

Blog post Sample
Call Azure AD secured API from your SPFx code. Story #1.1: Azure Web App with ASP.NET Core 2.x and cookie authentication (xhr “with credentials”) link
Call Azure AD secured API from your SPFx code. Story #2: Web app (or Azure Function) and SPFx with adal.js link
Call Azure AD secured API from your SPFx code. Story #3: Web app (or Azure Function) and SPFx with AadHttpClient link
Diving into AadHttpClient (with hacking!) link
Web Components in SPFx world: Vue vs Stencil link
Using PnPjs to send requests to MS Graph with SharePoint Framework 1.6 link
Calling MS Graph API from classic SharePoint pages link
TypeScript Tips: How to reduce the size of a bundle link
Stylelint with SPFx integration link
How to create SharePoint Online add-in with ASP.NET Core 2.1 link
SPFx webpart with MS Graph and PnPjs: step by step guide link
SharePoint Framework development tips: prettify your imports link
Building Single Page Application with React, MSAL.js and PnPjs link
Using Lerna to manage SPFx projects with library components link
Build SharePoint Framework solutions for on-premises SharePoint with ANY version of React, TypeScript or Office UI Fabric React link
Exploring Microsoft Graph Toolkit link
Split your PnP Provisioning schema into multiple files for better maintenance link
Show the progress of your PnP Provisioning process with SharePoint Application customizer and SignalR link
SharePoint Framework tips & tricks: avoid css styles leaking from third party libraries link
Styling SharePoint Framework components using CSS in JS approach link