Dotnet Core Setup

Why Dotnet Core

Why do you ask? Because we can and it’s open source! But for real, you can view the .NET Core GitHub here. There is a long history of .NET and I started out my career as .NET and C# developer and still absolutely love the language. I think it is absolutely amazing that it’s gone opensource and that Microsoft is going to be spending more development efforts on .NET core, but that is a topic for another post. Apparently the latest release of .Net Framework 4.8 will be one of the last, and word on the street is that .NET core will eventually be the default for new projects and support of older versions of .NET Framework will still be maintained by Microsoft, but no new versions of the .NET Framework will occur, most new development efforts for updates and releases of new versions of .NET are going to be focused on Core! If you don’t know already, .NET Core is being designed to be more performant, in most cases more lightweight (thanks to modular packages available through nuget) and designed to run on different chip architectures and chipsets to allow it to be run on Linux and Mac. Pretty cool right?

How to install .NET Core

If you are running a Windows machine, simply download and install the Visual Studio 2017 Community and follow these instructions here. As I said there are options if you are running a Linux Distro or even MacOS. I run an Ubuntu laptop and followed these instructions. We’ll be using VS code in future demonstrations and if you have a Windows machine you can download the installer here or if you are on an Ubuntu/Deb machine, follow these instructions here to install VSCode for an IDE, as it tends to have the most support for plugins at this point. If you have any issues, comment below.

After that, you should be able to open a terminal or command line and run dotnet --version and see something similar.

C:\Users\Nick>dotnet --version
2.1.2

Did I mention that you can create applications, build and if you are creating something like an ASP.NET Core app run migrations via the command line? Yes, that’s right, .NET Core has a CLI for speeding up your development efforts. For a list of commands check here. I’m planning on this being the first in a series of tutorials and examples that I’m going to be doing on .NET Core, so check back for more.

Next On FoC

Using VSCode with Dotnet Core

Using VSCode with Dotnet Core
Previously On FoC

Equality Operators in JavaScript

Equality Operators in JavaScript