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

How to install .NET Standard 2.0

Microsoft .NET Benjamin Perkins
Microsoft .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…

0

How to install .NET Core 2.0

.NET Core Benjamin Perkins
.NET Core 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…

1

How to call an async method from a console app main method

.NET Core Benjamin Perkins
.NET Core Benjamin Perkins

I find myself needing to look this code snippet up time to time so I thought I’d write it up. Check out some of my other articles I wrote in regards to ASP.NET Core and .Net Core How to call an async method from a console app main method How to deploy a .NET Core…

0

.NET Core application, where is my EXE, how to publish

.NET Core Benjamin Perkins
.NET Core Benjamin Perkins

Short answer, there isn’t one.  When you compile your .NET Core console application for example, you get a DLL.  Then you execute it using the DOTNET command from the .NET Core SDK found here. Check out some of my other articles I wrote in regards to ASP.NET Core and .Net Core How to call an…

1

How I called an asynchronous method from a loop

.NET Core Benjamin Perkins
.NET Core Benjamin Perkins

Check out some of my other articles I wrote in reagrds to ASP.NET Core and .Net Core How to call an async method from a console app main method How to deploy a .NET Core console application to Azure, WebJob .NET Core application, where is my EXE, how to publish Create a VNET and access…

2

Setting up and using GitHub in Visual Studio 2015

Visual Studio
Visual Studio

Although I use TFS a lot, I thought I would setup a GitHub repository to host a public copy of my IIS, ASP.NET and C# troubleshooting labs located here. Here is how I did it. Install the GitHub extension for Visual Studio Create your GitHub repo and then login Create a GitHub repository Create a…

5