I wrote this article which is what helped me progress forward with this. External Apache Hive metastore, Azure Databricks, Azure SQL I am following these instructions. Here is the kicker, which is likely something most people may already know, but in order to make this configuration the Hive Metastore must already exist on the Azure […]
Read More →Category: Debugging
Access to the path ‘D:\home\site\wwwroot\host.json’ is denied.
If you a receive a System.UnauthorizedAccessException with a message Access to the path ‘D:\home\site\wwwroot\host.json’ is denied, then it likely means you have a network configuration which is blocking access to the Azure Storage Account on which your Azure Function is hosted. Perform the following to check and see if this could be the case. Check […]
Read More →Beginning C# and .NET, 2021 Edition
I would like to proudly announce the release and availability of my new Beginning C# and .NET 2021 Edition book, which was co-authored with Jon Reid. The book contains over 800 pages of material relating to the skills and knowledge required to become a great C# programmer. The book is designed around the premise that […]
Read More →Sending base 64 messages to an Azure Storage Queue for Azure Function
If you happen to get this exception on an Azure Function when you have an Azure Storage Queue triggered Azure Function: The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters. Figure 1, base-64 message required for […]
Read More →Validating Azure Function Application Setting Configuration, fail to trigger
One of the most common reasons that an Azure Function is not triggered as expected is because the endpoint which notifies the Function to run is misconfigured or blocked for some reason. The scenario I am focusing on here usually occurs during testing or after a deployment. If you are doing or have done neither […]
Read More →Duplicates, duplicated blob triggered Azure Function invocation
I wrote this blog How to reprocess or retrigger a blob triggered Azure Function and it enlighten me enough to write this one. There may be more reasons for the scenario, so this is just a way in which you might encounter a blob triggered Azure Function being triggered multiple times for the same blob. […]
Read More →Blazor WebAssembly TypeError: Failed to fetch
Change is good, it is better than the alternative. There have been a lot of changes over the past few years when it comes to ASP.NET. One change, or should I call it a new product is Blazor Apps. I won’t go into what this is and how it works because there is already plenty […]
Read More →Azure Functions runtime is unreachable
There are a few reasons why you may get this notification, shown in Figure 1 when you try to view your Function list in the Azure portal. One such reason is that you have some kind of network restriction like VNET or Firewall that prevents the Azure Function host from accessing the Azure Storage Account […]
Read More →Debugging an ASP.NET Core app using WinDbg, plus some other information
Things change and as I always say “that’s better than the alternative”. Although I have yet to put my finger on it, the behavior I experience when debugging Core applications is different than those which have come before. If I ever do figure out the specifics of those differences, I will write them down and […]
Read More →FAILED TO INITIALIZE RUN FROM PACKAGE.txt
I was doing some deployments to an Azure Function and found this text file in my d:\home\site\wwwroot directory. This can happen if you are trying to run an Azure Function from package, which is discussed here. Real fast, the way you get this to happen is by making a deployment, then after the deployment is […]
Read More →