Azure Cloud: Create Web Application (App Service)
Create a ASP.NET core web project in Visual Studio 2022.
Name your solution project as shown below.
Select the .NET Version 6.0 for your project.
Click ‘Build’ on your solution by right clicking on the project name. Once successfully build , Right-Click on the project and click ‘Publish…’ Button
Select the host application infrastructure type. Azure App Service (Linux)
Sign in into the Azure Account and you will see screen like below and click on ‘+’ sign as shown below.
Create App Service (Linux) and name it. Name has to be globally unique.
Once, App infrastructure is created, you can publish your project finally.
Click on “Publish” button as shown below.
Once, your project is finally published into the Azure Infrastructure Web app instance you have created, you will see success or failure.
If you hit your website on your browser, you can access the hello world ASP.net website.
My app name is given: helloworldwebapp214 so my website can be accessed at
https://helloworldwebapp214.azurewebsites.net
Do not forget to drop the resources you have created in your Azure account.