How to publish ASP.NET core web app Visual Studio 2022

Authoring Tools > Visual Studio 2022
Below are instructions on how to publish .net core web app (i.e. where all the assemblies are included) with Visual Studio 2022.
 
1) Start Visual Studio 2022.
2) Click ‘Create a new project’.
3) In ‘Create a new project' window, select ASP.NET Core Web App or search it manually, then click on ‘Next’ button.
 
4) In the next window, type a project name and click ‘Next’.
5) In the next window, choose Framework version and Authentication type. After that, click ‘Create’ button.
6) Open the 'Publish' settings in your project by right clicking on it in the Solution Explorer window and then selecting it.
 
7) Choose Import Profile and click the ‘Next’ button.
 
8) Select the publish settings file and click ‘Finish’. 
    PS: you can easily download publish settings file from control panel like below screenshot.
            
9) Click ‘Show all settings’, validate the connection with our web deploy server and click 'save' button.
 
 
 
Now, you can deploy your solution your web application to your hosting account.