asp.net-core Getting started with asp.net-core Installation and Setup


Example

Installing Visual Studio

If you do not have Visual Studio installed, you can download the free Visual Studio Community Edition here. If you already have it installed, you can proceed to the next step.

Creating an ASP.NET Core MVC Application.

  1. Open Visual Studio.
  2. Select File > New Project.
  3. Select Web under the language of your choice within the Templates section on the left.
  4. Choose a preferred Project type within the dialog.
  5. Optional: Choose a .NET Framework you would like to target
  6. Name your project and indicate if you want to create a Solution for the project.
  7. Click OK to create the project.

enter image description here

You will be presented with another dialog to select the template you want to use for the project :

enter image description here

Each of the descriptions are self-explanatory. For this first project, select Web Application, which will contain all of the default configurations, authentication, and some existing content.

Since this is an introduction application and doesn't require any security or authentication, you can change the authentication option to No Authentication on the right-side of the dialog and click OK to create the project.

You should then see the new project within the Solution Explorer :

enter image description here

Press the F5 key to run the application and begin a debugging session, which will launch the application within your default browser :

enter image description here

You can now see that your project is up and running locally and is ready as a starting point for you to build your application.