Web Deployments in Visual Studio 2019 Publish Website
Prerequisites
Visual Studio 2019 installed with the appropriate workloads for your language of choice:
ASP.NET: ASP.NET and web development
Python: Python development
Node.js: Node.js development
ASP.NET, ASP.NET Core, Node.js, Python, and .NET Core: Use the Publish tool to deploy to a local folder. The exact options available depend on your app type. In Solution Explorer, right-click your project and select Publish. (If you haven't previously configured any publishing profiles
Web Deploy simplifies deployment of Web applications and Web sites to IIS servers, and must be installed as an application on the server.