Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
.NET Core 2.0 By Example

You're reading from   .NET Core 2.0 By Example Learn to program in C# and .NET Core by building a series of practical, cross-platform projects

Arrow left icon
Product type Paperback
Published in Mar 2018
Publisher Packt
ISBN-13 9781788395090
Length 458 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Neha Shrivastava Neha Shrivastava
Author Profile Icon Neha Shrivastava
Neha Shrivastava
Rishabh Verma Rishabh Verma
Author Profile Icon Rishabh Verma
Rishabh Verma
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. Getting Started FREE CHAPTER 2. Native Libraries in .NET Core 3. Building Our First .NET Core Game – Tic-Tac-Toe 4. Let's Chat Web Application 5. Developing the Let's Chat Web Application 6. Testing and Deploying – The Let's Chat Web Application 7. To the Cloud 8. Movie Booking Web App 9. Microservices with .NET Core 10. Functional Programming with F# 11. Other Books You May Enjoy

Installing .NET Core 2.0 and tools (Linux)

To install Visual Studio Code in Linux, download the .deb (32 bit) file from http://code.visualstudio.com/download, as shown in the following screenshot:

Open the folder location the .deb file has been downloaded to. Right-click and select Open in Terminal. This will open Terminal from this location. Run the following command:

sudo dpkg -i <fileName>.deb

<fileName>: Enter the filename that was downloaded, which is code_1.15.1-1502903950_i386.deb in our case, as shown in the following screenshot:

Right-click on the Downloads folder, and select Open in Terminal. It will display the following terminal window:

It may show error messages stating that dependencies have not been installed. Run the following command to install the dependencies:

sudo apt-get install -f

This will complete the installation of Visual Studio Code in this Ubuntu machine.

Now, let's install the .NET Core 2.0 SDK. Open the folder location where the dotnet-sdk-2.0.0 file is downloaded. Right-click and select Open in Terminal. It will open Terminal from this location. Run the following command:

 sudo apt-get install dotnet-sdk-2.0.0

Congratulations! We are all set to run Visual Studio Code! Please refer to the Installing Visual Studio Code section of this chapter to get an overview of Visual Studio Code.

Open Extensions View from the Visual Studio Code activity bar. Search F# and install the Ionide-fsharp extension for F# language support, as we discussed in the Installing Visual Studio Code section under the Install .NET Core 2.0 and tools (Windows) section.

Now, search C# and install the C# for Visual Studio Code (powered by OmniSharp) extension for C# language support.

You have been reading a chapter from
.NET Core 2.0 By Example
Published in: Mar 2018
Publisher: Packt
ISBN-13: 9781788395090
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime