Visual Studio 2019 Tutorial: install VS

Find Visual Studio 2019 installation package link in VS 2019 and click to start the download. If this is the free version of Visual Studio, select "Visual Studio community."

Start the installation program

After the download is complete, click "Run" to start the installation program.

vs2019-installer.png

Select the workload

Visual Studio can be used for many different types of development, while the workload allows you to easily everything you need to download the application you want to build. Select ASP.NET and Web development, and .NET Core cross-platform development workload during installation, allowing you to restart the installer can later use to install additional workload and components.

vs2019-choose-workloads.png

installation

Click "Install", allow the installer to download and install Visual Studio.

First run Visual Studio

After the installation process is complete, Visual Studio will automatically start, you are prompted to log in, you can choose to log in now or later. Next, you can choose themes and development settings, and then you can start your first project.

Click "Create a new project", then select "ASP.NET Core Web Application".

vs2019-create-new-project.png

Exploring ASP.NET Core Project Type

You can select a project name and location, and then select Create. Now, select the template ASP.NET Core of the application you want to use. You can choose from the following options:

  • Empty. It allows you to start from scratch a blank project template.

  • API. The most suitable Web API.

  • Web Application. Razor Pages built using standard ASP.NET Core Web applications.

  • Web Application (Model-View-Controller). The use of a standard Model-View-Controller pattern ASP.NET Core Web applications.

  • Angular。

  • React.js。

  • React.js/Redux

  • Razor Class Library. Razor shared between projects for assets.

Note that for most of the project template, you can select by checking a box to enable the Docker support, you can also add validation support by clicking change Authentication button. you can choose:

  • No Authentication

  • Individual User Accounts. Or stored in the local database based Azure.

  • Work or School Accounts. This option uses Active Directory, Azure AD or Office 365 authentication.

  • Windows Authentication. Suitable for Intranet applications.

  • Select without authentication standard Web Application template, and then click Create.

vs2019-choose-aspnetcore-project.png

These are the installation of Visual Studio 2019-related content.

Guess you like

Origin blog.51cto.com/14452385/2450170