The number 400

400th article Benjamin Perkins
400th article Benjamin Perkins

What is significant about the number 400? 400 is 20² 400 is divisible by: 1, 2, 4, 5, 8, 10, 16, 20, 25, 40, 50, 80, 100, 200, 400 400 equals 2⁴ * 5² or ( 2*2*2*2*5*5) 400 is a self-number which are generated by this formula:  You can write 400 like this: four hundred,…

1

How to update the solution names on GitHub

GitHub - benjamin perkins
GitHub - benjamin perkins

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…

0

ERROR_INSUFFICIENT_ACCESS_TO_SITE_FOLDER

ASP.NET Core Benjamin Perkins
ASP.NET Core Benjamin Perkins

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 When you deploy directly to the production slot of an Azure App Service and there is traffic on the app…

0

How to securely connect to Azure from C# and run REST APIs

Azure REST API
Azure REST API

Three things that got me here.  First, I learned about creating a Service Principle in Azure and that the credentials for that those can be used to login to Azure, for a given Tenant/Directory ID.  See here “Create an Azure service principal with Azure PowerShell”, also here if you want to see how to create…

0

What is self-contained deployment mode, works locally but not after deploying

Azure App Service Benjamin Perkins
Azure App Service Benjamin Perkins

It happens very often that an application is coded, configured and tested on a local machine and when deployed to an Azure App Service or any other machine, for some reason there are unexpected errors and exceptions.  Let the debugging begin. I wrote this article “ASP.NET Core 2.1 and HTTP Error 502.5 – Process Failure”…

0

Publish a Web App for Containers Windows Docker Image

docker feature benjamin perkins
docker feature benjamin perkins

I wrote these other articles here “How to add Docker support to your ASP.NET Core application” and here “Publish a Docker Windows image to Docker Hub using Visual Studio” that discussed how I got to this point.  So far, not many problems and it went pretty smooth.  When I added Docker support to my ASP.NET…

0

How to add Docker support to your ASP.NET Core application

docker feature benjamin perkins
docker feature benjamin perkins

Well, here we go.  Not only have I had the opportunity to work with open source and Linux, now I get some taste of containers.  I find the concept very interesting because containers solve many issues when in the context of cloud hosting and running code on a multitenant platform.  This is how I added…

0

Publish a Docker Windows image to Docker Hub using Visual Studio

docker feature benjamin perkins
docker feature benjamin perkins

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…

0

How to delete a Docker image

docker feature benjamin perkins
docker feature benjamin perkins

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…

0

Function ({name}) Error: The binding type(s) ‘{triggerType}’ are not registered.

Azure Functions Benjamin Perkins
Azure Functions Benjamin Perkins

I was working with an Azure Function V2 (beta) and got this exception, Figure 1, when I opened the Function in the portal. Figure 1, Function Error: binding extension is installed The message triggered a recollection of when I created the trigger and remembered that a step was to install the Windows.Azure.WebJobs.Storage extension.  So I…

0

How to create a read only user for a SQL Azure database

SQL Azure
SQL Azure

I am updating, or should I say, re-coding a website I have from ASP.NET Web Forms (aspx) to ASP.NET Core Razor Pages (chtml).  The database it connects to only has a global admin, full access user identity.  So I thought that I would fix that and create a need account for read only access.  This…

0

Resource move validation failed. Cannot move Azure App Service

Azure App Service Benjamin Perkins
Azure App Service Benjamin Perkins

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…

0

How to optimize Azure App Service AlwaysOn, cold start, warm up request

Azure App Service Benjamin Perkins
Azure App Service Benjamin Perkins

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…

0

502.3

IIS Internet Information Services
IIS Internet Information Services

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)…

0