Category: C# Blogs

How to install .NET Standard 2.0

ASP.NET Benjamin Perkins

The release of .NET Standard has been officially announced here.  I looked for a way to update .NET Standard to version 2.0 as I could see it was not installed on my workstation.  As shown in Figure 1, I only had version 1.0 – 1.6 installed. Figure 1, how to upgrade, install new version of […]

Read More →

How to install .NET Core 2.0

Visual Studio Benjamin Perkins

The release of .NET Core has been officially announced here.  I looked for a way to update .NET Core to version 2.0 as I could see it was not installed on my workstation.  As shown in Figure 1, I only had version 1.0 and 1.1 installed. Figure 1, how to upgrade, install new version of […]

Read More →

ASP.NET Core with Entity Framework Core error, Login Failed

ASP.NET Benjamin Perkins

I was working with the EF NuGet package Microsoft.EntityFramework.Tools.DotNet and executed the command-line interface (CLI), also shown in Figure 1. dotnet ef database drop Running this method resulted in the same behavior: context.Database.EnsureDeleted(); Figure 1, Entity Framework Core, CLI I am not sure what exactly I was thinking, but it I did not really expect […]

Read More →

ASP.NET Core with Entity Framework Core – ASPNETCORE_ENVIRONMENT

Benjamin Perkins C#

This is another one, Figure 1, that just kind of happened because I dropped my database.  Once I re-created the database and my ASP.NET Core application could access it, all was back to normal. Figure 1, ASPNETCORE_ENVIRONMENT environment variable to Development, and restarting the application. Error. An error occurred while processing your request. Development Mode […]

Read More →

Setting up and using GitHub in Visual Studio 2017

Visual Studio Benjamin Perkins

I wrote this article here about setting up GitHub in Visual Studio 2015 and felt it necessary to document the same in Visual Studio 2017.  Here is how I setup GitHub source code management in Visual Studio 2017 Community. Install the GitHub extension for Visual Studio Create your GitHub repo and then login Create a […]

Read More →

How to enable C# 7 in Visual Studio 2017

Visual Studio Benjamin Perkins

I was working with Visual Studio 2017 and found that 4.6.2 is not installed as default yet, so I wrote this article here about that.  In that article I also point out that you need to install the System.ValueType NuGet package to the Tuples capabilities to work. This time I wanted to get the Pattern […]

Read More →