#SharePointProblems | Koskila.net

Solutions are worthless unless shared! Antti K. Koskela's Personal Professional Blog

Posts from October 2020

Blog posts published in October 2020

Posts from October 2020 (5)

  • Cover image for How to inject EF Core DbContext in an Azure Function
    NEW
    Published on
    Authors
    koskila

    How to inject EF Core DbContext in an Azure Function

    Ah, one more on the related topics of different configurations for your Azure Function apps. In this article, I will describe how you can configure the Entity Framework Core database context to be injected into your Azure Functions App. In my experience, this is a very typical and often-needed model to structure your Azure Functions. Therefore, while tooling and templates aren't quite there, it's worthwhile to document how to do this somewhere - well, here.
  • Cover image for "Conversion overflow" when reading numeric data from MS SQL database using Entity Framework
    Published on
    Authors
    koskila

    "Conversion overflow" when reading numeric data from MS SQL database using Entity Framework

    This article explains how to fix a weird situation where your .NET application utilizing EF ( Entity Framework or Entity Framework Core ) simply crashes without any way to recover or catch the Exception. You only get errors somewhere along the lines of "conversion overflow". Ah - what a fun little issue! No way to recover, no fallbacks, unusable callstacks. Oh, speaking of which - what was the error, exactly?
  • Cover image for How to configure Azure Function's startup
    Published on
    Authors
    koskila

    How to configure Azure Function's startup

    Azure Functions use dependency injection, and that allows us to define all kinds of prebuilt or custom-built services as being available for our functions really easily. This is a really easy way to initialize scoped resources to be used in your different functions... But how do you actually configure them in an Azure Functions App? Problem Okay, a step back - there's a bit of a problem that we need to resolve before we can proceed with the configuration.
  • Cover image for How to list your git stashes
    Published on
    Authors
    koskila
    Tags
    git

    How to list your git stashes

    Long story short, yes, I really did have to google this, and since top results seemed to give pretty unclear (or even wrong) answers, I decided to document it for myself. Maybe it'll be helpful to someone else too! And just to state the obvious: I'm using GitHub Desktop for most of my mandatory Git stuff, but whenever I have to run any git commands, I run Windows PowerShell (git exe is added to PATH variable). Solution Well, it's actually very, VERY simple.
  • Cover image for How to fix "System.InvalidOperationException: PowerShell Gallery is currently unavailable."
    Published on
    Authors
    koskila

    How to fix "System.InvalidOperationException: PowerShell Gallery is currently unavailable."

    This article explains how to fix an issue when updating a module in PowerShell. The error is something along the lines of: " System.InvalidOperationException: PowerShell Gallery is currently unavailable. Please try again later." The whole error looks something like the one below, although you can probably get it for many different commandlets. Failed updating module 'SharePointPnPPowerShellOnline' version 3.19.2003.0. Update the module and then try again.
Whitewater Magpie Ltd.
© 2026
Static Site Generation timestamp: 2026-02-03T09:01:56Z