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

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

Adding existing projects to an existing solution hosted on GitHub

GitHub - benjamin perkins
GitHub - benjamin perkins

I have written number of articles about configuring GitHub and deploying some code to it.  Here is a list of them just in case you want to get some perspectives and better know where I am coming from. Setting up and using GitHub in Visual Studio 2017 Setting up and using GitHub in Visual Studio…

0

How to find apiVersion used for REST API or ARM templates

Template Azure ARM Benjamin Perkins
Template Azure ARM Benjamin Perkins

I wrote a few articles that discuss how and or why you would need to know the apiVerion api-version when calling Azure REST APIs or making a deployment with an Azure Resource Manager (ARM) template. Azure Function 400 Bad Request How to disable/enable HTTP/2, Azure App Service Using Postman to call Azure REST APIs Make…

0

Publish has encountered an error ERROR_FILE_IN_USE

C# Benjamin Perkins
C# Benjamin Perkins

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…

0

Create an Azure Key Vault and Secret

Azure Key Vault Benjamin Perkins
Azure Key Vault Benjamin Perkins

Storing, for example, a database connection string which include server name, user id and password in source code or in a configuration file is what is called ‘password leaking’.  That means that anyone who has access to application source code can search through and get access to the database, because the information required to connect…

0

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

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

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 Files\dotnet directory…

0

How to deploy to Azure using an ARM template with PowerShell

Azure PowerShell Benjamin Perkins
Azure PowerShell Benjamin Perkins

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…

1

Creating an Azure App Service Hybrid Connection

Networking Benjamin Perkins
Networking Benjamin Perkins

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…

0