Try Microsoft Edge
A fast and secure browser that's designed for Windows 10
Get started
To start creating .NET apps you just need to download the .NET Core SDK for Windows.
Download .NET Core SDKThis installer will install the latest stable version of the tools and put them on your PATH so you can run dotnet from the Console.
Video: Installing .NET Core and Visual Studio Code in Windows
dotnet new creates a new application, console is the type of application to create, and -o hwapp sets an output directory of hwapp (short for Hello World app). cd hwapp moves into the newly created app directory.
The template for console applications created a Program.cs file, with code to write "Hello World" to the console.
using System;
namespace hwapp
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
}
}
Finally, dotnet run will run your app.
You've built and run your first .NET app.
Visual Studio is a fully-featured integrated development environment (IDE) for developing .NET apps on Windows.
Select the .NET Core cross-platform development workload during installation.
While you wait for Visual Studio to install, try our in-browser tutorial.
In order to install .NET from Red Hat on RHEL Server, you first need to enable the .NET channel which is available under your RHEL 7 Server subscription. You also need to ensure that your system supports enabling software collections via the scl tool.
For help on registering your machine to get access to the channel see the Chapter 1 of the .NET Core 2.0 Getting Started Guide at Red Hat.
Now you can install the .NET Core SDK and then enable the .NET software collection.
For additional help and guidance on installing and enabling .NET on RHEL Server, see the .NET Core Getting Started Guide at Red Hat.
dotnet new creates a new application, console is the type of application to create, and -o hwapp sets an output directory of hwapp (short for Hello World app). cd hwapp moves into the newly created app directory.
The template for console applications created a Program.cs file, with code to write "Hello World" to the console.
using System;
namespace hwapp
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
}
}
Finally, dotnet run will run your app.
You've built and run your first .NET app.
Visual Studio Code is a cross platform code editor, with support for .NET.
You'll also need the C# extension for Visual Studio Code.
There are also third party tools for developing .NET apps. JetBrains Rider is a cross-platform .NET IDE built using IntelliJ and ReSharper technology.
Before you start, please remove any previous preview versions of .NET Core from your system.
In order to install .NET Core on CentOS or Oracle Linux, first you need to get the prerequisites and then you download the .NET Core SDK binaries, extract them onto your system and put dotnet onto your PATH for the current terminal session.
Note, a user-controlled directory must be used when installing from tar.gz on Linux systems.
dotnet new creates a new application, console is the type of application to create, and -o hwapp sets an output directory of hwapp (short for Hello World app). cd hwapp moves into the newly created app directory.
The template for console applications created a Program.cs file, with code to write "Hello World" to the console.
using System;
namespace hwapp
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
}
}
Finally, dotnet run will run your app.
You've built and run your first .NET app.
Visual Studio Code is a cross platform code editor, with support for .NET.
You'll also need the C# extension for Visual Studio Code.
There are also third party tools for developing .NET apps. JetBrains Rider is a cross-platform .NET IDE built using IntelliJ and ReSharper technology.
Before you start, please remove any previous preview versions of .NET Core from your system.
In order to install .NET Core on Debian, first you need to get the prerequisites and then you download the .NET Core SDK binaries, extract them onto your system and put dotnet onto your PATH for the current terminal session.
Note, a user-controlled directory must be used when installing from tar.gz on Linux systems.
dotnet new creates a new application, console is the type of application to create, and -o hwapp sets an output directory of hwapp (short for Hello World app). cd hwapp moves into the newly created app directory.
The template for console applications created a Program.cs file, with code to write "Hello World" to the console.
using System;
namespace hwapp
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
}
}
Finally, dotnet run will run your app.
You've built and run your first .NET app.
Visual Studio Code is a cross platform code editor, with support for .NET.
You'll also need the C# extension for Visual Studio Code.
There are also third party tools for developing .NET apps. JetBrains Rider is a cross-platform .NET IDE built using IntelliJ and ReSharper technology.
Before you start, please remove any previous preview versions of .NET Core from your system.
In order to install .NET Core on Fedora, first you need to get the prerequisites and then you download the .NET Core SDK binaries, extract them onto your system and put dotnet onto your PATH for the current terminal session.
Note, a user-controlled directory must be used when installing from tar.gz on Linux systems.
dotnet new creates a new application, console is the type of application to create, and -o hwapp sets an output directory of hwapp (short for Hello World app). cd hwapp moves into the newly created app directory.
The template for console applications created a Program.cs file, with code to write "Hello World" to the console.
using System;
namespace hwapp
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
}
}
Finally, dotnet run will run your app.
You've built and run your first .NET app.
Visual Studio Code is a cross platform code editor, with support for .NET.
You'll also need the C# extension for Visual Studio Code.
There are also third party tools for developing .NET apps. JetBrains Rider is a cross-platform .NET IDE built using IntelliJ and ReSharper technology.
Before you start, please remove any previous preview versions of .NET Core from your system.
In order to install .NET Core on SUSE or openSUSE, first you need to get the prerequisites and then you download the .NET Core SDK binaries, extract them onto your system and put dotnet onto your PATH for the current terminal session.
Note, a user-controlled directory must be used when installing from tar.gz on Linux systems.
dotnet new creates a new application, console is the type of application to create, and -o hwapp sets an output directory of hwapp (short for Hello World app). cd hwapp moves into the newly created app directory.
The template for console applications created a Program.cs file, with code to write "Hello World" to the console.
using System;
namespace hwapp
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
}
}
Finally, dotnet run will run your app.
You've built and run your first .NET app.
Visual Studio Code is a cross platform code editor, with support for .NET.
You'll also need the C# extension for Visual Studio Code.
There are also third party tools for developing .NET apps. JetBrains Rider is a cross-platform .NET IDE built using IntelliJ and ReSharper technology.
In order to install .NET on Ubuntu or Linux Mint, you need to first set up the apt-get feed that hosts the package you need.
Before you start, please remove any previous preview versions of .NET Core from your system.
To install .NET Core on Ubuntu or Linux Mint, simply use apt-get.
dotnet new creates a new application, console is the type of application to create, and -o hwapp sets an output directory of hwapp (short for Hello World app). cd hwapp moves into the newly created app directory.
The template for console applications created a Program.cs file, with code to write "Hello World" to the console.
using System;
namespace hwapp
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
}
}
Finally, dotnet run will run your app.
You've built and run your first .NET app.
Visual Studio Code is a cross platform code editor, with support for .NET.
You'll also need the C# extension for Visual Studio Code.
There are also third party tools for developing .NET apps. JetBrains Rider is a cross-platform .NET IDE built using IntelliJ and ReSharper technology.
The best way to install .NET on macOS is to download the official installer.
Download .NET Core SDKThis installer will install the latest stable version of the tools and put them on your PATH so you can run dotnet from the Console.
Note: if you have any problems with installation on macOS, please consult our release notes.
Video: Installing .NET Core and Visual Studio Code in a Mac
dotnet new creates a new application, console is the type of application to create, and -o hwapp sets an output directory of hwapp (short for Hello World app). cd hwapp moves into the newly created app directory.
The template for console applications created a Program.cs file, with code to write "Hello World" to the console.
using System;
namespace hwapp
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
}
}
Finally, dotnet run will run your app.
You've built and run your first .NET app.
Visual Studio for Mac is a fully-featured integrated development environment (IDE) for developing .NET apps on macOS.
Download Visual Studio for Mac
There are also third party tools for developing .NET apps. JetBrains Rider is a cross-platform .NET IDE built using IntelliJ and ReSharper technology.
The following command will get you a running container with the toolchain, straight off of Microsoft's Docker Hub.
dotnet new creates a new application, console is the type of application to create, and -o hwapp sets an output directory of hwapp (short for Hello World app). cd hwapp moves into the newly created app directory.
The template for console applications created a Program.cs file, with code to write "Hello World" to the console.
using System;
namespace hwapp
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
}
}
Finally, dotnet run will run your app.
You've built and run your first .NET app.
Learn more about building .NET apps with Docker.
Please take a few seconds to help us improve your experience.
Take Survey