This article explains how you can access an Azure Function’s Application/Environment settings/variables from your C# code. Different versions of Azure Functions have different ways to access the Azure Function settings, but this page should explain the easiest way to get your application setting values for each Azure Functions version! While this is something I need often, it has been another little thing, that I always forget – so better document it somewhere. How to get application settings in different runtime versions of Azure Functions? This…Continue reading How to get application settings for your Azure Function App using C#?
Have you ever wondered, how SharePoint’s Managed Properties for Usage & Analytics info actually work? There are all these nice properties available for getting view counts for different items in SharePoint’s search index, but they all seem to act like crazy. Plus they are sometimes pretty nonsensical… And not very well documented! In this post, I’ll try to make some sense of how you can use them in programmatic scenarios. Read on… Update 12.3.2019: I’ve updated the post based on a lot of empirical research…Continue reading How to interpret SharePoint’s view count managed properties (like “ViewsLast1Days”)?
I got a great tip from a colleague on how to properly check if an item is a file or a directory. In one case we weren’t really ever sure if another script had finished its running and unzipped a certain zip package into a folder, and we had to verify it had, before continuing the execution. Our initial implementation worked most of the time… But not quite always. The purpose of this blog post is to explain how we found a pretty well-working and…Continue reading Properly checking if an item in a folder is a Directory or not in PowerShell