Pular para o conteúdo principal
Ícone do megafone

GitHub Universe on the Road

GitHub Universe is going on the road. Find a stop near you and join the experience.

Creating a Containerized .NET Application

setembro 22, 2021 | 12:00 - 1:00 AM (UTC) Tempo Universal Coordenado UTC

Pronto para começar a usar a IA e as tecnologias mais recentes? O Microsoft Reactor fornece eventos, treinamento e recursos da comunidade para ajudar desenvolvedores, empreendedores e startups a desenvolver a tecnologia de IA e muito mais. Junte-se a nós!

Creating a Containerized .NET Application

setembro 22, 2021 | 12:00 - 1:00 AM (UTC) Tempo Universal Coordenado UTC

Pronto para começar a usar a IA e as tecnologias mais recentes? O Microsoft Reactor fornece eventos, treinamento e recursos da comunidade para ajudar desenvolvedores, empreendedores e startups a desenvolver a tecnologia de IA e muito mais. Junte-se a nós!

Voltar

Creating a Containerized .NET Application

setembro 22, 2021 | 12:00 - 1:00 AM (UTC) Tempo Universal Coordenado UTC

  • Formato:
  • alt##LivestreamTransmissão ao vivo

Tópico: DevSecOps e Ferramentas para Desenvolvedores

Linguagem: Inglês

Containers are a tool that allows you to execute your applications inside of a lightweight, isolated environment built on top of a shared kernel. This allows you to create reproducible environments that can be relocated and redeployed quickly with similar results meaning that a container can be built once and then run on your local machine or in the cloud. This session is intended to introduce some of the concepts behind containers and how you can interact with them. We'll also be building our own local container using Docker that is able to run a .NET application for us. You will learn what a container is, some of the common use cases and the steps you need to take to build, run and interact with your containers.

A container image is a blueprint that represents the filesystem structure and configuration needed to create a container. These images are typically built in a series of layers describing the other images it is based on or the steps required to create the initial image. These steps might COPY files from your local filesystem into the image, RUN code or scripts or a number of other tasks.

Containers themselves are instances of the containers image. Multiple containers of the same image can be created and run simultaneously, in environments that are isolated from one another. Each container instance will have its own filesystem, memory and network interface that can be configured uniquely for that container.

We'll be creating a quick .NET application in C# and then building a Dockerfile that describes the image we will be creating. Using that image we'll build and run a container that executes our app. The code we'll write will be able to be run on your own machine but will require .NET and Docker.

Speaker:
Sam Wronski, Cloud Advocate, Microsoft

Pré-requisitos

You should have a working copy of .NET installed. This means you should be able to run dotnet in your terminal of choice successfully.
Some familiarity with writing C# code is expected. Installation instructions for .NET are located here at https://aka.ms/DotNetHelloWorldTutorial

You should have a working copy of Docker running. This means you should be able to run docker run hello-world in your terminal of choice successfully, docker will pull this image for you if it is not already on your local machine. Installation instructions for Docker are located here at https://aka.ms/GetDocker

Troubleshooting: on Docker for Windows you have the option to choose between Linux and Windows containers. We will be using Linux based containers.

You'll also want your code editor of choice.
We'll be using Visual Studio Code (https://code.visualstudio.com/) with the C# (https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csharp) and Docker Extension (https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-docker)

Palestrantes

Eventos relacionados

Os eventos abaixo também podem ser do seu interesse. Não deixe de visitar nossa página inicial do Reactor para ver todos os eventos disponíveis.

Partes desta página podem ser traduzidas por máquina ou IA.