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