Angular + ASP.NET Core +
Docker na nuvem
Microsoft Most Valuable Professional (MVP)
Arquiteto de Software na TV Bandeirantes
Autor Técnico e Palestrante
Um dos organizadores das .NET SP e SampaDe
Thiago da Silva Adriano
Contatos
/tadriano-net @programadriano
@programadriano /perfil/thiagoadriano/
@programadriano tadriano.net@gmail.com
Agenda
▸ Código .NET Core e Angular
▸ Docker + .NET e Angular
▸ Deploy no Azure
Código .NET Core e
Angular
Docker
Docker
https://docs.docker.com/develop/develop-images/baseimages/
Most Dockerfiles start from a parent image. If you need to completely control the contents of your
image, you might need to create a base image instead. Here’s the difference:
● A parent image is the image that your image is based on. It refers to the contents of the
FROM directive in the Dockerfile. Each subsequent declaration in the Dockerfile modifies this
parent image. Most Dockerfiles start from a parent image, rather than a base image.
However, the terms are sometimes used interchangeably.
● A base image either has no FROM line in its Dockerfile, or has FROM scratch.
Tipos de imagens
Docker
Deploy dos projetos
no
Azure
1. az login
2. az group create -l westus -n azRGMeetup
3. az container create --resource-group azRGMeetup --name api-
everis --image tadrianonet/apieveris --dns-name-label
apieverisdemo --ports 80
4. az container show --resource-group azRGMeetup --name api-
everis --query
"{FQDN:ipAddress.fqdn,ProvisioningState:provisioningState}" --out
table
5. az container exec --resource-group azRGMeetup --name api-everis
--exec-command "/bin/sh"
Deploy no Azure
https://github.com/programadriano/angular-dotnetcore-azure
Angular + asp.net core + docker na nuvem
Angular + asp.net core + docker na nuvem

Angular + asp.net core + docker na nuvem