.NET Core - Environment Setup



In this chapter, we will discuss the Environment Setup of .NET Core. It is a significant redesign of the .NET Framework. To use .NET Core in your application, there are two versions you can use −

  • Visual Studio 2015
  • Visual Studio 2017 RC

Visual Studio 2015

To use Visual Studio 2015, you must have installed the following −

  • Microsoft Visual Studio 2015 Update 3
  • Microsoft .NET Core 1.0.1 - VS 2015 Tooling Preview 2

Microsoft provides a free version of visual studio which also contains the SQL Server and can be downloaded from https://www.visualstudio.com/en-us/downloads/download-visual-studio-vs.aspx and Microsoft .NET Core 1.0.1 - VS 2015 Tooling Preview 2 can be downloaded from https://www.visualstudio.com/downloads/

You can also follow the installation guidelines on the following Url https://www.microsoft.com/net/core/#windowsvs2017

Installation of Visual Studio 2015

Follow these steps to install Visual Studio 2015 −

Step 1 − Once the downloading completes, then run the installer. The following dialog box will be displayed.

Download

Step 2 − Click Install to start the installation process.

Install

Step 3 − Once the installation completes, you will see the following dialog box.

Complete

Step 4 − Close this dialog and restart your computer if required.

Step 5 − Open Visual Studio from the Start Menu; you will receive the following dialog box. It may take a few minutes to load and finally be used for the first time.

Open

Step 6 − Once it is loaded, you will see the following screen.

Loading

Step 7 − Once Visual Studio installation is finished, then close Visual Studio and launch Microsoft .NET Core - VS 2015 Tooling Preview 2.

Launch

Step 8 − Check the checkbox and click Install.

Checkbox

Step 9 − Once the installation completes, you will see the following dialog box.

Application Ready

You are now ready to start your application using .NET Core.

Visual Studio 2017

In this tutorial, we will be using Visual Studio 2015, but if you want to use Visual Studio 2017, an experimental release of .NET Core tools for Visual Studio is included in Visual Studio 2017 RC and you can see the installation guidelines here https://www.microsoft.com/net/core/#windowsvs2017

Advertisements