.NET Core is an open-source and cross-platform development environment developed by Microsoft. As we already have a couple of articles explaining what is.NET Core, its design principle, and architecture; we will focus more on developing, deploying, and exploring the features of.NET Core.
To create a.NET Core application, we will require the following tools.
- Visual Studio 2015
You can download the free edition of Visual Studio called “Community Edition”. Click on the “Free Download” button under the panel of Visual Studio Community and install the same. - .NET Core
As we are done with VS, we will now require .NET Core for creating an application. You can refer to the following link to download and install.
Let's create our first application with .NET Core on Windows with Visual Studio 2015. We will create a simple class library using .NET Core.
Step 1
Open the Visual Studio 2015 and select New Project:

Step 2 - Add .NET Core Class Library
Select .NET Core under the template section and select the Class Library (.NET Core). Give an appropriate name to the project and click on the OK button. In our case, we have given it the name “DotNetCoreDemo”.


Once you click on OK, you will get the following screen. A new project is created under the “src” folder.

Step 3
Play with some code. Replace the constructor with the following lines of code.
- public string GetMessage()
- {
- return "Hello World!";
- }








Join the conversation! Your thoughts help the community grow.