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

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

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

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

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

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

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…

1

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 install ASP.NET Core 2.1 for development

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

A few days ago Microsoft announced the release of .NET Core 2.1, ASP.NET Core 2.1 and Entity Framework 2.1 here. I wrote a few similar articles about installing Core components, read them to get some greater perspective: Create a .NET Core 2 application on Linux with Visual Studio Code How to enable C# 7 in…

0

Beginning C# 7 Programming with Visual Studio 2017, co-author Benjamin Perkins

Beginning C# 7 Programming Benjamin Perkins
Beginning C# 7 Programming Benjamin Perkins

Beginning C# 7 Programming with Visual Studio 2017, co-author Benjamin Perkins The Beginning C# 7 Programming with Visual Studio 2017 book is now available, check it out here.  I had again an opportunity to contribute some chapters to this book.  What an awesome experience!  There are lots of examples, experiences, discussions and reviews of the…

0

.NET Core 2.0 modular and NuGet packages

.NET Core Benjamin Perkins
.NET Core Benjamin Perkins

One of the cool features of the .NET Core is that the namespaces you reference in the project are the only ones that are contained in the DLL your project renders.  I was reading that when you initially create a project in Visual Studio, that numerous packages are included by default and was wondering, because…

1

Targeting a specific version of the .NET Framework

Microsoft .NET Benjamin Perkins
Microsoft .NET Benjamin Perkins

I find numerous opinions and understandings about side-by-side and in-place installations of the .NET Framework.  Here is my favorite explanation of this “.NET Versioning and Multi-Targeting – .NET 4.5 is an in-place upgrade to .NET 4.0”.  I also link to that same article in one of my IIS labs here, “Lab 5: Basic and Advanced…

0

How to check the version of .NET Core on an Azure App Service

.NET Core Benjamin Perkins
.NET Core Benjamin Perkins

If you would like to check the version of .NET core installed on the Azure App Service platform you can execute the following command from KUDU/SCM, which i discuss further here.  Also show in Figure 1. Figure 1, how to check .NET Core version, which .NET Core version is running on Azure App Service You…

0

How to capture an ASP.NET Core memory dump on Azure App Service

Azure App Service Benjamin Perkins
Azure App Service Benjamin Perkins

I have written numerous articles about ASP.NET and creating memory dumps, but noticed I had not written one specifically about capturing an ASP.NET Core memory dump on an Azure App Service.  Here are some of my ‘related’ articles of this matter. Create a memory dump for your slow performing Web App How to take a…

0

Creating a NuGet package for my .NET Standard class library

.NET Core Benjamin Perkins
.NET Core Benjamin Perkins

I successfully created and published my first NuGet package that included a .NET Standard class library here.  It is nothing specificly awesome but it’s pretty cool, simple and something I have never done before.  I simply executed this msbuild command on my .NET Standard class library and it built the package for me. Before I…

0