Publish has encountered an error ERROR_FILE_IN_USE

I was making a deployment to an ASP.NET Core application from Visual Studio and got this error, see Figure 1. Figure 1, deployment asp.net core web deploy msdeploy from visual studio Read some of my other web deploy articles here: Web Deploy ERROR_DESTINATION_NOT_REACHABLE Azure Web App ERROR_CONNECTION_TERMINATED msdeploy web deploy All of them are accessible…


How to read, unable to read appsettings.json values ASP.NET Core

I wrote this article here “Database connection string when swapping between App Servers slots” and if you look at the last paragraph I mentioned a ‘gotcha’ when you have an application setting, “AppSetting” in your web.config file which has the same name as an application setting you have configured, via the portal of your Azure…


Implementing custom cultures, CultureInfo, localize Azure App Service

You cannot, at this moment, create a custom culture on an Azure App Service.  Cultures are part of the standard operating system and require changes to the registry to modify or add them.  An Azure App Service runs in a sandbox which does not allow code or script to modify the registry.  I do not…


ASP.NET Core 2.1 and HTTP Error 502.5 – Process Failure

I was deploying my ASP.NET Core 2.1 64-bit HelloWorld application and got this error, Figure 1. Figure 1, ASP.NET Core 2.1 502.5 x64 64 bit What I realized was that the 64 bit .NET Core runtime is not yet on the platform.  You can check that via KUDU/SCM and look for the D:Program Filesdotnet directory…


Web Deploy ERROR_DESTINATION_NOT_REACHABLE Azure Web App

I was writing this article where I was testing out how to backup my App Service from the Cloud Shell using BASH.  And I got this exception when I was publishing, Figure 1. Figure 1, ERROR_DESTINATION_NOT_REACHABLE publishing using MSDEPLOY Web Deploy from visual studio Kind of makes sense that trying to publish while the site…


Time sync, synchronization on an Azure App Service

An Azure App Service is PaaS and synchronizes the clocks based on the hosting platform.  As per this request, the drift may be up to 2 seconds and are synced once per week.  That request was made some years ago when an App Service was running on Windows Server 2012 and IIS 8.  With the…


How to deploy to Azure using an ARM template with PowerShell

I wrote this article here “How to use/create ARM templates for deployments” where I show how I generated the ARM template for multiple Azure features existing in a Resource Group.  I then deploy all features using the ARM template using the Template deployment blade in the portal.  This article explains how to run the same…


Creating an Azure App Service Hybrid Connection

This is such a simple yet powerful tool to use, easy to implement and does some real hard core, complicated stuff in the back ground to get the connectivity to work.  Similar instructions can be found here “Azure App Service Hybrid Connections”. I wrote this article about connecting an Azure App Service to VM in…


Troubleshooting App Service Hybrid Connection Manager

I wrote this article “Enable logging for your Hybrid Connection Manager, troubleshooting”, but that was for the deprecated Hybrid Connection feature which uses Azure Biztalk.   You would see any ‘classic’ connections in the ‘Classic hybrid connections’ area on the Hybrid connections as seen in Figure 1. Figure 1, classic hybrid connections If you are running…