Site icon Dotnet Helpers

ASP.NET Core: My First New Project

In this tutorial section, we will discuss how to create a new project in Visual Studio using ASP.NET CORE. Once you have installed the Visual Studio 2015 tooling, you can start building a new ASP.NET Core Application .

STEP: 1

Once you have installed the Visual Studio 2015 tooling, you can start building a new ASP.NET Core Application using File → New Project menu option.

STEP: 2

On the New Project dialog box, you can able to see the three different templates for Web projects as shown below. After selecting ASP.NET Core Web Application (.NET Core),specify the location and name for your ASP.NET Core project click OK

ASP.NET Web Application − The simple ASP.NET application templates .

ASP.NET Core Web Application (.NET Core) − This will start you with a crossplatform compatible project that runs on the .NET Core framework.

ASP.NET Core Web Application (.NET Framework) − This starts a new project that runs on the standard .NET Framework on Windows.

STEP: 3

In the below dialog box, you can select a specific template for the ASP.NET application from the available ASP.NET Core Templates. Here, we select and start with an empty template. This would help us build it from scratch. Let us select the Empty template, turn off the Host in the cloud and click OK.

Now the Visual Studio will launch your new project. In the Solution Explorer window, you will see all the files that are in this project.

STEP: 4

Now you can run your application by pressing Ctrl+F5 or by going to the Debug menu. After going to the Debug menu, select Start Without Debugging.

STEP: 5

We can see it display only Hello World! This runs on http://localhost:44432. In your window system tray, you can also see that IIS Express is running as shown below.

What do you think?

I hope you have idea about creating first ASP.NET CORE application. I would like to have feedback from my posts readers. Your valuable feedback, question, or comments about this article are always welcome.

Exit mobile version