Microsoft IIS 10.0 – Understanding ASP.NET Core with IIS on Nano Server

install phpMyAdmin On CentOS 8

In this recipe, we will create an ASP.NET Core website application and run it on Visual Studio 2017.

Getting ready

To step through this recipe, you need Visual Studio 2017 set up. For all the installation and configuration work, you should have administrative privileges.

How to do it…

  1. Log in to your Windows 10 PC or Windows Server 2016. We’ve already installed Visual Studio for testing, so open it.
  2. Open the File menu, create a new project, and select .Net Core and application type ASP.NET Core Web Application (.NET Core), as shown here:
  1. Click on the OK button. You will get a New ASP.NET Core window to select the type of ASP.NET Core application, as shown here:
  1. Now select the Web Application option and click on OK. You’ll have the default ASP.NET web application created. This is just for demonstration to show you how an ASP.NET web application looks.
  2. Now let’s run the created project on Visual Studio 2017, and you will get the web application page, as shown in the following screenshot.
To run an application from Visual Studio, click on the “play” sign in the toolbar at the top or hit F5.

  1. You can now see the default sample application, which we created with ASP.NET core.

How it works…

In this recipe, we logged in to Windows Server 2016 and opened the Visual Studio 2017 software. We also created the ASP.NET Core website application and ran it on Visual Studio 2017.

Comments are closed.