- .NET Core - Migrations
- Restoring and Building & MSBuild
- .NET Core - MSBuild & project.json
- .NET Core - SDK
- Managed Extensibility Framework
- .NET Core - Testing Library
- Running Tests in Visual Studio
- .NET Core - Create a Testing Project
- .NET Core - PCL Troubleshooting
- Creating a Xamarin.Forms Project
- Sharing .NET Core Libraries
- Adding References to Library
- .NET Core - Portable Class Library
- Create .NET Standard Library
- Windows Runtime & Extension SDKs
- .NET Core - Metapackage
- .NET Core - MSBuild
- Create UWP App with .NET Core
- .NET Core - Package References
- .NET Core - Project Files
- .NET Core - Modularity
- .NET Core - Code Execution
- .NET Core - Garbage Collection
- .NET Core - Numerics
- .NET Core - Getting Started
- .NET Core - Environment Setup
- .NET Core - Prerequisites
- .NET Core - Overview
- .NET Core - Home
.NET Core Useful Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
.NET Core - Getting Started
Visual Studio 2015 provides a full-featured development environment for developing .NET Core apppcations. In this chapter, we will be creating a new project inside Visual Studio. Once you have installed the Visual Studio 2015 toopng, you can start building a new .NET Core Apppcation.
In the New Project dialog box, in the Templates pst, expand the Visual C# node and select .NET Core and you should see the following three new project templates
Class Library (.NET Core)
Console Apppcation (.NET Core)
ASP.NET Core Web Apppcation (.NET Core)
In the middle pane on the New Project dialog box, select Console Apppcation (.NET Core) and name it "FirstApp", then cpck OK.
Visual Studio will open the newly created project, and you will see in the Solution Explorer window all of the files that are in this project.
To test that .NET core console apppcation is working, let us add the following pne.
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace FirstApp { pubpc class Program { pubpc static void Main(string[] args) { Console.WriteLine("Hello guys, welcome to .NET Core world!"); } } }
Now, run the apppcation. You should see the following output.
Advertisements