While I was writing these articles about creating, developing local and deploying an Azure Function App, I received this error, Figure 1. How to create an Azure Function in Visual Studio How to connect to a database from an Azure Function Deploy an Azure Function created from Visual Studio Check out all my Azure Functions […]
Read More →Search Results for: github
Target .NET Core 2.0 and .NET Standard 2.0
I originally downloaded and installed the 2.0.0-download.md version of the .NET Core SDK and Runtime from GitHub here. The mistake I made was to install the SDK Installer for the bit of my Visual Studio instead of my OS. I am running a 32bit version of Visual Studio on 64bit version of windows. I was […]
Read More →How to install .NET Standard 2.0
The release of .NET Standard has been officially announced here. I looked for a way to update .NET Standard to version 2.0 as I could see it was not installed on my workstation. As shown in Figure 1, I only had version 1.0 – 1.6 installed. Figure 1, how to upgrade, install new version of […]
Read More →How to make an App Setting or Connection String sticky
I wrote an article here which talk about how to make an app setting or connection string sticky to the slot. You can make the settings stick using Azure PowerShell. Here are the Azure PowerShell cmdlets required to create an Azure App Service Web App: Login-AzureRmAccount Set-AzureRmContext Set-AzureWebsite (also have a look here at the […]
Read More →How to manually create a directory on your Azure App Service
There are 3 kinds of files that an Azure App Service can deal with: Persisted Files Temporary Files Machine Level read-only files What does those mean and what can they be used for? Persisted Files These files are rooted in the D:\home path. The contents of these files are shared between all the multiple instances […]
Read More →Visual C++ Redistributable Packages for Visual Studio Azure App Service
Azure App Service run within a sandbox that protects your App Service from doing and being harmed, the sandbox is described here. One action that you cannot do is access the console and install any 3rd party libraries which run via a script, ex: EXE or MSI. Therefore, I got asked how to get the […]
Read More →Changing the maxLogFileSizeKB on an Azure App Service
I wrote this article “Making changes to the applicationHost.config on Azure App Service” here which explains the details about creating an XDT file that supports the configuration of some properties found in the applicationHost.config file. Keep in mind that not all of the attributes in the applicationHost.config file can be altered, you might be able […]
Read More →Troubleshooting Azure App Services Web App, Mobile App or API App 500s
When you get a response from your Azure Web App, Mobile App or API App which is a 500, you might want to look in the Event Viewer for the exception. A lot of times they include the stack that contains the method which threw an exception causing the 500. There are 2 ways to […]
Read More →ASP.NET Core (-4077,–4047,–4089, -4095)
If you get any of these errors, take a memory dump of your process, like I discuss below and look at the stacks. Create a memory dump for your slow performing Web App How to take a memory dump from a specific App Service instance Create and deploy an ASP.NET Core Web API to Azure […]
Read More →Azure Functions on 64 bit
Until this is updated in the portal to allow this, you can read how to enable that at the below links: Allow 64 bit to be enabled in the UI Set Azure Function App on Consumption Plan to 64 bit In summary: Access resource manager here Navogate to the Function App –> subscription/resourceGroups/resourceGroupName/providers/Microsoft.Web/sites/functionaAppName/config/web/use32BitWorkerProcess Set that […]
Read More →