Category: Development
-
Set Azure Function timeout without republishing

A while ago I needed to change an Azure Function timeout but I wanted to avoid, if possible, to republish it. After a little while searching I discovered this page which explain how to overwrite the values specified in the host.json file with the values specified from the Azure configuration.…
-
PnP SPFx RichText control

Today I want to show you how to use the RichText control from the PnP SPFx react controls. This control allows the user to insert a text and enrich it using HTML in a transparent fashion for the user. Starting with the sample I created this is how the control…
-
A wild SocketException appeared!

Today I was debugging an old web API project and suddenly an error appeared: I tried restarting Visual Studio but the error remains…considering that I didn’t change anything from the previous debugging session I decided to ask the web and after a little while searching I discovered a simple solution.…
-
Use Microsoft Graph Toolkit with SPFx and React

Microsoft Graph Toolkit aka MGT can be used inside an SPFx solution in a quick and easy way and I’m here to show you how. This sample shows how to use the Person MGT control inside a React SPFx web part, the result will be the following: Where we simply…
-
Change or remove the base /api path in Azure Functions

Cit: “Everything works and I like it, but I don’t want the /api in the URL, can you remove it?”. That was the incipit to this post. Before that I never wondered if there is a configuration or something to change or remove the /api base URL in Azure Functions.…