How to Write Your First .NET Core 2.0 Application

Read full article on the Infragistics blog here

Microsoft .NET Core is a cross-platform open source software development framework that can be used to build applications for mobile, Windows, and the web. You can learn more about .NET Core here, but in this blog post, we’ll walk you through how to create and publish a .NET Core application for Windows.

To work with .NET Core, first you need to install it from here . While you can use any IDE to create a .NET Core application, I am going to use the Visual Studio 2017 Enterprise version. If you do not have Visual Studio installed, you may want to try the community edition, which can be found for free here.  Once the environment is set, launch Visual Studio and create a new project by selecting File->New Project-> Visual C#-> .NET Core-> Console App. Besides C#, a .NET Core application can be used in other languages like Visual Basic.

After successfully creating your project, you will see there is already template code in the Program.cs file which looks like listing 1, shown below:

Read full article on the Infragistics blog here

Leave a comment

Create a website or blog at WordPress.com