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

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

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

How to install Entity Framework Core 2.1

.NET Core Benjamin Perkins
.NET Core Benjamin Perkins

I wrote this post about installing ASP.NET Core 2.1, plus these others which may be of interest: Create a .NET Core 2 application on Linux with Visual Studio Code How to enable C# 7 in Visual Studio 2017 How to install .NET Core 2.0 How to install .NET Standard 2.0 How to install ASP.NET Core…

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

Installing Procdump for Linux

Linux Benjamin Perkins
Linux Benjamin Perkins

Since I support Azure App Services and there is a influx of customers who want to use the Azure App on Linux stack, I felt it prudent to get my feet wet with Ubuntu.  Learning some #Bash too while I’m at it.  #Linux The instructions on how to do this already exist here, so I…

0

How to install NuGet Package in Visual Studio Code Linux Ubuntu

Linux Benjamin Perkins
Linux Benjamin Perkins

I wrote this article about running Visual Studio Code on Linux here and wanted to now create a more complicated console app.  To do this I wanted to install the Newtonsoft.Json NuGet Package. To open the console where the commands are added select View –> Integrated Terminal from the menu bar. I started with creating…

1

Create a .NET Core 2 application on Linux with Visual Studio Code

Linux Benjamin Perkins
Linux Benjamin Perkins

The plan is to work some with Linux and I have chosen Ubuntu 16.04 LTS because this, AFAIK, is the flavor which Azure App Service Linux containers runs, see more about that here. I built my Ubuntu work station, by downloading the ISO from the Ubuntu site here and burning it to a DVD.  Yes,…

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

Target .NET Core 2.0 and .NET Standard 2.0

.NET Core Benjamin Perkins
.NET Core Benjamin Perkins

I originally downloaded and installed the 2.0.0-download.md version of the .NET Core SDK and Runtime from GitHub here. The mistake I made was to install the SDK Installer for the bit of my Visual Studio instead of my OS.  I am running a 32bit version of Visual Studio on 64bit version of windows. I was…

0