Introduction
In this article, we learn about how to use application insights in local environments for ASP Core applications, configuration, and setup from end to end.
Prerequisites
- MVC Core
- Web API Core
- Console Application
Follow the below steps.
Step 1
- Open Visual Studio 2019 -> Goto File --> Project ,
- Search 'Blank Solution' in the search bar to further filter the templates,
- Select 'Blank Solution' and Click on the 'Next' option, as shown below.

Step 2
Provide a valid solution name your blank solution, choose a disk location for the solution code path, and click on the 'Create' button.

Step 3
Now an Empty Solution was created. Next, create a new MVC core web application by right-clicking on the solution, which is shown below.

Step 4
As shown in the below image, we have the option to create a new project. So, name your project and click on the 'Create' button.
If you want to add an additional project to a solution, right-click the solution node in Solution Explorer and choose Add > New Project .

Step 5
Select .NET Core and ASP.NET Core 3.1 as shown in below filters and Select MVC Web application and click on the 'Create' button as shown in the below screengrab.

Step 6
If you want to add an additional project to a solution, right-click the solution node in Solution Explorer and choose Add > New Project .
Now we are required to have one more application for API. Select valid filters and Web API project template, then click on the 'Create' button.

Step 7
Now go to your VS 2019, right-click on my solution and select ‘Add Solution To Source Control’ for a solution path to push my code in GITHUB.

Step 8
Go to Team explorer -- > connect symbol --> select valid email id's to create a new repository and click on publish.

Step 9
Now we successfully pushed code to the GITHUB repository,
Note: If you've any issues with code pushing, the error will be logged in the output panel in Visual Studio 2019














Join the conversation! Your thoughts help the community grow.