|
1 | 1 | --- |
2 | 2 | title: Get started with .NET Core |
3 | 3 | description: Find resources to learn how to build .NET Core applications on Windows, Linux and macOS. |
4 | | -author: johalex |
5 | | -ms.author: johalex |
6 | | -ms.date: 09/14/2017 |
| 4 | +author: thraka |
| 5 | +ms.author: adegeo |
| 6 | +ms.date: 06/27/2018 |
7 | 7 | --- |
| 8 | + |
8 | 9 | # Get started with .NET Core |
9 | 10 |
|
10 | | -.NET Core runs on [Windows](#windows), [Linux](#linux), and [macOS / OS X](#os-x--macos). |
| 11 | +This article provides information on getting started with .NET Core. .NET Core can be installed on Windows, Linux, and macOS. You can code in your favorite text editor and produce cross-platform libraries and applications. |
| 12 | + |
| 13 | +If you're unsure what .NET Core is, or how it relates to other .NET technologies, start with the [What is .NET](https://www.microsoft.com/net/learn/what-is-dotnet) overview. Put simply, .NET Core is an open-source, cross-platform, implementation of .NET. |
| 14 | + |
| 15 | +## Create an application |
| 16 | + |
| 17 | +First, download and install the [.NET Core SDK](https://www.microsoft.com/net/download/) on your computer. |
| 18 | + |
| 19 | +Next, open a terminal such as **PowerShell**, **Command Prompt**, or **bash**. Type the following `dotnet` commands to create and run a C# application. |
| 20 | + |
| 21 | +```console |
| 22 | +dotnet new console --output sample1 |
| 23 | +dotnet run --project sample1 |
| 24 | +``` |
| 25 | + |
| 26 | +You should see the following output: |
| 27 | + |
| 28 | +```console |
| 29 | +Hello World! |
| 30 | +``` |
| 31 | + |
| 32 | +Congratulations! You've created a simple .NET Core application. You can also use [Visual Studio Code](tutorials/with-visual-studio-code.md), [Visual Studio 2017](tutorials/with-visual-studio.md) (Windows only), or [Visual Studio for Mac](tutorials/using-on-mac-vs.md) (macOS only), to create a .NET Core application. |
| 33 | + |
| 34 | +## Tutorials |
| 35 | + |
| 36 | +You can get started developing .NET Core applications by following these step-by-step tutorials. |
| 37 | + |
| 38 | +# [Windows](#tab/windows) |
| 39 | + |
| 40 | +* [Build a C# "Hello World" Application with .NET Core in Visual Studio 2017.](./tutorials/with-visual-studio.md) |
| 41 | + |
| 42 | +* [Build a C# class library with .NET Core in Visual Studio 2017.](./tutorials/library-with-visual-studio.md) |
| 43 | + |
| 44 | +* [Build a Visual Basic "Hello World" application with .NET Core in Visual Studio 2017.](./tutorials/vb-with-visual-studio.md) |
| 45 | + |
| 46 | +* [Build a class library with Visual Basic and .NET Core in Visual Studio 2017.](./tutorials/vb-library-with-visual-studio.md) |
| 47 | + |
| 48 | +* Watch a video on [how to install and use Visual Studio Code and .NET Core](https://channel9.msdn.com/Blogs/dotnet/Get-started-with-VS-Code-using-CSharp-and-NET-Core/). |
| 49 | + |
| 50 | +* Watch a video on [how to install and use Visual Studio 2017 and .NET Core](https://channel9.msdn.com/Blogs/dotnet/Get-Started-NET-Core-Visual-Studio-2017/). |
| 51 | + |
| 52 | +* [Getting started with .NET Core using the command-line.](tutorials/using-with-xplat-cli.md) |
11 | 53 |
|
12 | | -## Windows |
| 54 | +See the [Prerequisites for Windows development](windows-prerequisites.md) article for a list of the supported Windows versions. |
13 | 55 |
|
14 | | -Install .NET Core on [Windows](https://www.microsoft.com/net/core#windows). |
| 56 | +# [Linux](#tab/linux) |
15 | 57 |
|
16 | | -You can get started developing .NET Core apps by following these step-by-step tutorials. |
| 58 | +You can get started developing .NET Core application by following these step-by-step tutorials. |
17 | 59 |
|
18 | | -* [Building a C# Hello World Application with .NET Core in Visual Studio 2017](./tutorials/with-visual-studio.md) - Learn to build, debug, and publish a simple .NET Core console application using C# and Visual Studio 2017. |
19 | | -* [Building a class library with C# and .NET Core in Visual Studio 2017](./tutorials/library-with-visual-studio.md) - Learn how to build a class library written in C# using Visual Studio 2017. |
20 | | -* [Build a Visual Basic Hello World application with .NET Core in Visual Studio 2017](./tutorials/vb-with-visual-studio.md) - Learn to build, debug, and publish a simple .NET Core console application using Visual Basic and Visual Studio 2017. |
21 | | -* [Build a class library with Visual Basic and .NET Core in Visual Studio 2017](./tutorials/vb-library-with-visual-studio.md) - Learn how to build a class library written in Visual Basic using Visual Studio 2017. |
22 | | -* [Get started with Visual Studio Code using C# and .NET Core on Windows](https://channel9.msdn.com/Blogs/dotnet/Get-started-with-VS-Code-using-CSharp-and-NET-Core) - This [Channel9](https://channel9.msdn.com) video shows you how to install and use [Visual Studio Code](https://code.visualstudio.com/), Microsoft's lightweight cross-platform code editor, to create your first console application in .NET Core. |
23 | | -* [Get Started with .NET Core and Visual Studio 2017](https://channel9.msdn.com/Blogs/dotnet/Get-Started-NET-Core-Visual-Studio-2017) - This [Channel9](https://channel9.msdn.com) video shows you how to install and use [Visual Studio 2017](https://aka.ms/vsdownload?utm_source=mscom&utm_campaign=msdocs), Microsoft's fully-featured IDE, to create your first cross-platform console application in .NET Core. |
24 | | -* [Getting started with .NET Core using the command-line](tutorials/using-with-xplat-cli.md) - Use any code editor with the [.NET Core cross-platform command-line interface (CLI)](tools/index.md). |
| 60 | +* [Getting started with .NET Core using the command-line.](tutorials/using-with-xplat-cli.md) |
25 | 61 |
|
26 | | -See the [Prerequisites for Windows development](windows-prerequisites.md) topic for a list of the supported Windows versions. |
| 62 | +* Watch a video on [getting started with Visual Studio Code using C# and .NET Core on Ubuntu](https://channel9.msdn.com/Blogs/dotnet/Get-started-with-VS-Code-Csharp-dotnet-Core-Ubuntu). |
27 | 63 |
|
28 | | -## Linux |
| 64 | +See the [Prerequisites for Linux development](linux-prerequisites.md) article for a list of the supported Linux distros and versions. |
29 | 65 |
|
30 | | -Install .NET Core on [Linux](https://www.microsoft.com/net/core#linuxredhat). |
| 66 | +# [macOS](#tab/macos) |
31 | 67 |
|
32 | | -You can get started developing .NET Core apps by following these step-by-step tutorials. |
| 68 | +You can get started developing .NET Core application by following these step-by-step tutorials. |
33 | 69 |
|
34 | | -* [Getting started with .NET Core using the command-line](tutorials/using-with-xplat-cli.md) - Use any code editor with the [.NET Core cross-platform command-line interface (CLI)](tools/index.md). |
35 | | -* [Get started with Visual Studio Code using C# and .NET Core on Ubuntu](https://channel9.msdn.com/Blogs/dotnet/Get-started-with-VS-Code-Csharp-dotnet-Core-Ubuntu) - This [Channel9](https://channel9.msdn.com) video shows you how to install and use [Visual Studio Code](https://code.visualstudio.com/), Microsoft's lightweight cross-platform code editor, to create your first console application in .NET Core on Ubuntu 14.04. |
| 70 | +* Watch a video on [Getting started with Visual Studio Code using C# and .NET Core on macOS](https://channel9.msdn.com/Blogs/dotnet/Get-started-VSCode-NET-Core-Mac). |
36 | 71 |
|
37 | | -See the [Prerequisites for Linux development](linux-prerequisites.md) topic for a list of the supported Linux distros and versions. |
| 72 | +* [Getting started with .NET Core on macOS, using Visual Studio Code.](tutorials/using-on-macos.md) |
38 | 73 |
|
39 | | -## OS X / macOS |
| 74 | +* [Getting started with .NET Core using the command-line.](tutorials/using-with-xplat-cli.md) |
40 | 75 |
|
41 | | -Install .NET Core for [macOS](https://www.microsoft.com/net/core#macos). .NET Core is supported on OS X El Capitan (version 10.11) and macOS Sierra (version 10.12). |
| 76 | +* [Getting started with .NET Core on macOS using Visual Studio for Mac.](tutorials/using-on-mac-vs.md) |
42 | 77 |
|
43 | | -You can get started developing .NET Core apps by following these step-by-step tutorials. |
| 78 | +* [Build a complete .NET Core solution on macOS using Visual Studio for Mac.](tutorials/using-on-mac-vs-full-solution.md) |
44 | 79 |
|
45 | | -* [Get started with Visual Studio Code using C# and .NET Core on macOS](https://channel9.msdn.com/Blogs/dotnet/Get-started-VSCode-NET-Core-Mac) - This [Channel9](https://channel9.msdn.com) video shows you how to install and use [Visual Studio Code](https://code.visualstudio.com/), Microsoft's lightweight cross-platform code editor, to create your first console application in .NET Core. |
46 | | -* [Getting started with .NET Core on macOS, using Visual Studio Code](tutorials/using-on-macos.md) - A tour of the steps and workflow to create a .NET Core Solution using Visual Studio Code that includes unit tests, third-party libraries and how to use the debugging tools. |
47 | | -* [Getting started with .NET Core using the command-line](tutorials/using-with-xplat-cli.md) - Use any code editor with the [.NET Core cross-platform command-line interface (CLI)](tools/index.md). |
48 | | -* [Getting started with .NET Core on macOS using Visual Studio for Mac](tutorials/using-on-mac-vs.md) - This tutorial shows you how to build a simple .NET Core console application using Visual Studio for Mac. |
49 | | -* [Building a complete .NET Core solution on macOS using Visual Studio for Mac](tutorials/using-on-mac-vs-full-solution.md) - This tutorial shows you how to build a complete .NET Core solution that includes a reusable library and unit testing. |
| 80 | +See the [Prerequisites for macOS development](macos-prerequisites.md) article for a list of the supported OS X / macOS versions. |
50 | 81 |
|
51 | | -See the [Prerequisites for macOS development](macos-prerequisites.md) topic for a list of the supported OS X / macOS versions. |
| 82 | +*** |
0 commit comments