I know we as programmers like to write code. However, most of the time we don’t get to start from the beginning. Most often we get to modify and enhance code that has been written by someone else. Let’s make a deal, from now on let’s document our code so we don’t have to spend […]
Read More →Archive for August, 2018
WPF DataGrid Navigation Paging Up Down Sideways is slow virtualization
I was developing a WPF application that allowed users to selected as many rows and as many columns that were available in the database. I dynamically built the selection criteria using reflection and a treeview. Then I traversed the treeview and dynamically built the DataGrid that contained the columns and thier values. What I quickly […]
Read More →How to update the solution names on GitHub
I have a large group of solutions in one GitHub repository which I wanted to give valid names to. Not the names of the folders but the detail names shown in Figure 1. Figure 1, how to change or update description names on GitHub Check out my other articles about GitHub: Setting up and using […]
Read More →ERROR_INSUFFICIENT_ACCESS_TO_SITE_FOLDER
I was publishing an ASP.NET Core application, straight to production, which is a no-no, no-go and got this error, also seen in Figure 1. Figure 1, publishing to an Azure App Service, straight to production Severity Code Description Project File Line Suppression State Error Web deployment task failed. (Unable to perform the operation (“Delete File”) […]
Read More →Publish a Docker Windows image to Docker Hub using Visual Studio
I wrote this article that explained how to include Docker support in Visual Studio “How to add Docker support to your ASP.NET Core application”. Check it out. To publish the image to Docker Hub (*) so that it can be used for building a Web App for Containers which I discuss here “Publish a Web […]
Read More →How to delete a Docker image
I was able to remove some of my unwanted images by accessing my Docker Cloud account here. As seen in Figure 1, navigate to your repositories, click on those dots, a delete popup is rendered. Figure 1, how to delete a docker image repository I write this because when I searched all I found was […]
Read More →How do Margins in WPF work
When you add a control to your WPF container you typcally set the width and height to align it within the window and in relation to other controls. An alternative to this is to set the controls margin in relation to the container. This plays an important role when you want to add GridSplitters and […]
Read More →Resource move validation failed. Cannot move Azure App Service
The scenarios in which you can and cannot move an Azure App Service are nicely documented here “App Service limitations”. I also wrote an article about this as well here “Moving an Azure App Service”. It is possible to move your Azure App Service between subscriptions and resource groups. Like I have stated many times […]
Read More →How to optimize Azure App Service AlwaysOn, cold start, warm up request
When you enable AlwaysOn it means that the application pool will not be shutdown after the idle timeout threshold is breached. I wrote about this threshold here and here. The point here is that after a cold start of your application, AlwaysOn will send a request to the ROOT of your application. Whatever file is […]
Read More →502.3
An HTTP status code of 502 – Bad Gateway means “The server, while acting as a gateway or proxy, received an invalid response from the upstream server it accessed in attempting to fulfill the request.” I interpret that to mean that there is a server (server A) between my client and the server (server B) […]
Read More →