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!

What is Microsoft Visual Studio?

Microsoft Visual Studio is a wonderful integrated development environment (IDE) from Microsoft. Its user friendly and smart.  It is used to develop computer program for Microsoft windows. It is also used to develop website, web application, web service and web API. Visual studio code editor support intelliSence and code refactoring. It very smart in the world of IDE.

It support many language such as:

C, C++, C#, VB.NET, F#. It also support Phython and Ruby. Support HTML/XHTML, CSS, JavaScript, XML/XSLT
Different version of Visual Studio

Product name Codename Internal
version
Supported .NET
Framework versions
Release date
Visual Studio N/A 4.0 N/A April 1995
Visual Studio 97 Boston 5.0 N/A February 1997
Visual Studio 6.0 Aspen 6.0 N/A June 1998
Visual Studio .NET (2002) Rainier 7.0 1.0 February 13, 2002
Visual Studio .NET 2003 Everett 7.1 1.1 April 24, 2003
Visual Studio 2005 Whidbey 8.0 2.0, 3.0 November 7, 2005
Visual Studio 2008 Orcas 9.0 2.0, 3.0, 3.5 November 19, 2007
Visual Studio 2010 Dev10/Rosario 10.0 2.0, 3.0, 3.5, 4.0 April 12, 2010
Visual Studio 2012 Dev11 11.0 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2 September 12, 2012
Visual Studio 2013 Dev12 12.0 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2 October 17, 2013
Visual Studio “14” CTP 3 N/A N/A N/A August 18, 2014

First program using visual studio 2010

Hopefully you have already installed visual studio 2010. If you didn’t install yet, Install Visual Studio 2010 Step by Step.

So, let’s try to write our first program in visual studio 2010.

Step 1: Click Start -> Program -> Microsoft Visual Studio 2010 -> Microsoft Visual Studio 2010.

1

Step 2: If you open Visual Studio 2010 first time after installation in your computer. You will see the following screen. Select Visual C# Development Settings and click Start Visual Studio. We have selected Visual C# Development Settings because we will work with C#.

2

Step 3: After Clicking Start Visual Studio at previous steps you will see the following screen. Click File -> New -> Project.

3

4

Application among the projects. Note that I have changed my project location and Project name. You can keep default location and name.

5

Step 5:  Now you will see the following screen where you will develop your first program. You will see default code snippet which comes automatically.

6

System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MyFirstProgram
{
class Program
{
static void Main(string[] args)
{

}
}
}

Add a simple statement in the Main Method:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MyFirstProgram
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("This is my first program in C#");
}
}
}

Step 6: Click Debug -> Start Without Debugging or Press – Ctrl+F5. You will see the following screen.

Output:

7

Yes! You have done! This is your first program in C#. Happy

Install Visual Studio 2010 Step by Step

Visual studio 2010 has eight major versions.
1. Ultimate
2. Premium
3. Professional
4. Express
5. Team Foundation
6. Test Professional
7. Team Explorer Every Where
8. Light Switch

The clear picture of Visual Studio 2010 is given below

0Prerequisite to install visual studio 2010

  1. Disable anti-virus or anti-spyware software
  2. Close all of your running software
  3. If you are using windows xp make sure it is service pack 3
  4. If you install other than windows xp make sure it is service pack 2 or more
  5. 1 GB RAM
  6. 3 GB of Hard disk space

Step by Step installation

Let’s start to install visual studio 2010. Here I will install visual studio 2010 Ultimate Edition. You can install it from hard disk or DVD ROM. If you install it from DVD ROM, visual studio 2010 will run automatically. I am installing it from my hard disk.

Step 1: Double click on setup.exe

0.1

Step 2: After clicking setup.exe file, you will see the following screen. Click Install Microsoft Visual Studio 2010

St-2

Step 3: Click next to start installation.

st-3

Step 4: After clicking next you will see the following screen.

01button I accept the license term

02

Step 6: Select the features that you want to install and the path you want to install visual studio 2010. If you don’t select path it will install in default location. You can select either Full or Custom features. If you select custom you have to select features which you want to install. For the beginner I suggest to select full feature.

st-5

Step 7: Then the setup will start to install its components.

st-7

Step 8: Reboot your computer. To complete installation you may have to reboot your computer for one or twice

05

Step 9: After the rebooting, the setup will start again

6

Step 10: The setup starts to install the rest of the components.

07Step 11: The installation complete.

complete
If you see the above screen, your installation completes. So, let cheers!!!