docker – Visual Studio Publish Azure Container App missing

If you are trying with the console app, the option won’t be visible. Those options are available in the ASP.NET Core Web App only.

I followed the same MS Document and was able to see the options and publish.

I created an ASP. NET Core Web App with .net 7 version. Click on Enable Docker option and clicked on create as below:

enter image description here

Then, I started publishing the application as below:-

enter image description here

enter image description here

I created a container app as shown below,

enter image description here

enter image description here

enter image description here

Next, I created a Registry like below,

enter image description here

enter image description here

enter image description here

enter image description here

Then, I clicked on Publish as shown below:

enter image description here

The app was published successfully as below:-

enter image description here

The below output URL opens in the browser.

enter image description here

Then, I refreshed the browser and got the below output:-

enter image description here

Read more here: Source link