How to install .NET Core 1.0 for windows

What is .NET Core?

  • .NET Core is a general-purpose development platform
  • Maintained by Microsoft and the .NET community on GitHub
  • Its work in cross-platform, supporting Windows, macOS and Linux
  • Can be used in device, cloud, and embedded/IoT scenarios.
  • First release on 27 June, 2016

Let’s see how to install .NET Core for windows

Step 1: Install Visual Studio 2015
Install Visual Studio 2015 Update 3
Download link of Visual Studio 2015 Update 3: https://go.microsoft.com/fwlink/?LinkId=691978
If you have already installed Visual Studio 2015, just install only Visual Studio 2015 update 3.
Download link of Update 3: https://go.microsoft.com/fwlink/?LinkId=691129

Step 2: Install the .NET Core tools preview for Visual Studio

Download .NET link of core 1.0.1 tools preview 2: https://go.microsoft.com/fwlink/?LinkID=827546
Then install .NET Core 1.0.1 tools preview 2.

Step 3: Create a .NET Core Project
File -> New project and select the project template C# -> .NET Core -> Console application (.NET Core).

0105_01

Step 4: Add some code in Main method of console application.

    public class Program
    {
        public static void Main(string[] args)
        {
            Console.WriteLine("Welcome to mahedee.net");
            Console.WriteLine("This is a asp.net core application");
            Console.ReadKey();
        }
    }

Step 5: Run your application
Run your application from Debug -> Start Debugging.
Yes! You are seeing the proper output. Means, .NET Core running in your machine. Let’s cheers!

Leave a Reply

Your email address will not be published. Required fields are marked *