Skip to content

Sandeep-U-D/Hello-World-

Repository files navigation

.NET 8 Hello World

This sample demonstrates a tiny Hello World .NET Core app for App Service Web App. This sample can be used in a .NET Azure App Service app as well as in a Custom Container Azure App Service app.

Log in to Azure Container Registry

Using the Azure CLI, log in to the Azure Container Registry (ACR):

az acr login -n <your_registry_name>

Running in a Docker Container

This repository contains 2 Dockerfiles, a Linux container and a Windows container.

Publish the Windows image to your Registry

To build the Windows image locally and publish to ACR, run the following command:

docker build -f Dockerfile.windows -t dotnetcore-docs-hello-world-windows . 
docker tag dotnetcore-docs-hello-world-windows <your_registry_name>.azurecr.io/dotnetcore-docs-hello-world-windows:latest
docker push <your_registry_name>.azurecr.io/dotnetcore-docs-hello-world-windows:latest

Publish the Linux image to your Registry

To build the Linux image locally and publish to ACR, run the following command:

docker build -f Dockerfile.linux -t dotnetcore-docs-hello-world-linux . 
docker tag dotnetcore-docs-hello-world-windows <your_registry_name>.azurecr.io/dotnetcore-docs-hello-world-linux:latest
docker push <your_registry_name>.azurecr.io/dotnetcore-docs-hello-world-linux:latest

Contributing

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Hello World!

Hello World! 
Welcome to Canarys 
Thank you

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •