Introduction
In this article, I am going to explain how to download and install Visual Studio 2019 Version 16.8 or later step by step and create a simple ASP.NET Core 5.0 Web application.
Visual Studio 2019 Version 16.8 or later supports Asp.Net Core 5.0 applications. Here we have download and install Visual Studio 2019 Version 16.8.
Visual Studio 2019 Community edition is free.
Step 1
You can download and install Visual Studio 2019 16.8 or later from
here,
Step 2
Click the "Download" button for downloading the VS 2019 executable file on the downloaded path.
Step 3
Open your systems download path and find the .exe file.
Step 4
Double-click the .exe file, the Visual Studio installer window will open. Click "Continue".
Step 5
Downloading and installing the progress bar window will open after clicking the continue button.
Step 6
After completing the download and installation, then workloads will open. We need to select what are the workloads we need. Here, we selected ASP.NET and web development, .NET Core cross-platform development (Very Important).
This workload will install the following packages by default. You can add or remove any optional package or individual components from the list.
Step 7
After selecting the desired packages, just click the “Install” button to install.
Step 8
Installation completed. After completing the installation restart your computer for a complete setup.
Step 9
Go to all programs in your systems, we can see Visual Studio 2019 folder. Under Visual Studio 2019, we can select and open Visual Studio 2019.
Now Visual Studio has been successfully launched. When we open Visual Studio for the first time, it takes 15-30 seconds for its initial internal setup.
Step 10
It will load your existing Visual Studio profile. It may also ask you to login into your Microsoft account. If you don’t have a Microsoft account, you can create a new account.
The sign-in step is optional so it can be skipped. But, don’t skip this! Sign in with your Gmail / Microsoft account. so that you can activate Visual Studio.
Step 11
Once done, you will be asked to choose the Development Settings and color theme.
- Select a color theme of your choice, here we have selected the Blue theme and by default Development Settings select General.
- Select Start Visual Studio
Step 12
After selecting the required options, click on the Start Visual Studio option. We can see a newly designed landing page of Visual Studio where we see a list of recent projects. We can also clone or check out the code from GitHub and Azure DevOps. We can open a project or solution and a folder. Also, we can create a new project.
Creating Your First Project
Click on Create a new Project to create a new project.
You can see various project types there. Choose “ASP.NET Core Web Application” project type for now.
Select ASP.NET Core Web Application and click Next.
Give a valid name to your project and select a path for it. Then click create button.
Now, choose any one of the listed project templates. I chose the MVC template.
In the Create a new ASP.NET Core web application dialog, select,
- .NET Core and ASP.NET Core 5.0 in the dropdowns.
- NET Core Web App (Model-View-Controller).
- Create
Then click the create button.
This template will create a Home Controller and two Views along with it. The project structure is shown below,
Now, build and run the application. I have made some minor changes to the view pages.
OutPut
Conclusion
In this article, we explained how to download and install Visual Studio 2019 Version 16.8 or later and install ASP.NET CORE web development workload. We also created a simple “Jay Jagannath” ASP.NET CORE 5.0 web application.