
-
Sending Emails Using Microsoft Graph
With Microsoft iminently shuttering the capability to send emails programmatically via MS Exchange in Azure, developers need to switch to a mechanism that will be supported moving forwards. Enter Microsoft Graph. This article describes how the MS Graph API can be leveraged to replace MS Exchange based mailing for the programmatic sending of emails. In…
-
Defensive Programming
Defensive programming is a set of techniques/guidance on best practices to ensure your applications are secure, as bug free as possible, and respond gracefully to unexpected events (i.e. software exceptions).
-
Modern HTML Tool-tip That Works With Pointers and Touch Devices
A simple code snippet that allows tool-tips to be displayed on HTML controls when the mouse hovers over them or when the control is clicked (e.g. touched on a mobile device). Useful in scenarios where you want a simple, modern, tool-tip without the weight of a 3rd party library.
-
Convert DOCX to PDF Using Microsoft Graph API
Converting a file from DOCX to another format (such as PDF) had long been a pain in SharePoint and usually led to resorting to using Word Automation Services (WAS). Fortunately, modern SharePoint (Online) and the Microsoft Graph API mean you can do it with a few Web API calls.
-
Creating an NPM Package for Distribution
This article walks through creating an NPM project that can be uploaded to a public or private NPM feed as reusable package.
-
Investigating Issues with IISExpress Not Running on Some SSL Ports
IISExpress, bundled with Visual Studio, provides a lighter-weight web server than the full IIS (Internet Information Services) Windows service, and is useful for running up and debugging web code projects.
-
Introduction to Redux (for ReactJS)
Redux is a toolkit for ReactJS that offers application-level state management features and can help overcome event bubbling performance issues in complex component architecture based Single Page (Web) Applications (SPA).
-
Introduction to ReactJS Hooks
Starting from version 16.8 ReactJS introduced a new, modern, way of developing React web apps using a feature they called Hooks. This article introduces Hooks and demonstrates how to create React components in this more modern style.
-
Per-Machine Web Config in ASP.NET Projects
When working on multi-developer projects, if each developer machine isn’t configured the same way developers can waste a lot of time editing connection strings, local machine name, and other settings when pulling code projects from source code control. On ASP.NET code projects, you can configure per-machine configuration overrides to overcome this.
-
SharePoint Add-in ‘About’ Page Shows ‘Sorry, apps are turned off’ After Server Reboot
I’ve regularly witnessed strange behaviour on one of our SharePoint environments where the ABOUT screen for an installed SharePoint Add-in shows an error message (like the screen-shot below) of ‘Sorry, apps are turned off’ when you first navigate to it after not doing so for a while (10 mins or more). Doing a web browser…
.NET .NET Tutorials AAD ASCII ASP.NET MVC Azure Azure Active Directory Bootstrap CAML Communications CSS Databases Error Handling Gulp Hints and Tips IIS IT Security Jasmine JavaScript jQuery JSX Microsoft 365 Microsoft Graph API NPM OData PowerShell ReactJS Serialisation Servers SharePoint SharePoint Add-ins SharePoint Online TypeScript ULS Logs Unit Testing User Profiles VB Script WCF Web Development WF4 Windows Development Windows Presentation Foundation Windows Workflow WPF XML