Zu Hauptinhalt wechseln
Megafon-Symbol

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

September 22, 2021 | 12:00 - 1:00 AM (UTC) Koordinierte Weltzeit (UTC)

Sind Sie bereit für die ersten Schritte mit KI und den neuesten Technologien? Microsoft Reactor bietet Veranstaltungen, Schulungen und Communityressourcen, die Entwicklern, Unternehmern und Startups helfen, auf KI-Technologie und mehr aufzubauen. Seien Sie dabei!

Creating a Containerized .NET Application

September 22, 2021 | 12:00 - 1:00 AM (UTC) Koordinierte Weltzeit (UTC)

Sind Sie bereit für die ersten Schritte mit KI und den neuesten Technologien? Microsoft Reactor bietet Veranstaltungen, Schulungen und Communityressourcen, die Entwicklern, Unternehmern und Startups helfen, auf KI-Technologie und mehr aufzubauen. Seien Sie dabei!

Zurück

Creating a Containerized .NET Application

September 22, 2021 | 12:00 - 1:00 AM (UTC) Koordinierte Weltzeit (UTC)

  • Format:
  • alt##LivestreamLivestream

Thema: DevSecOps und Entwicklertools

Sprache: Englisch

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

Voraussetzungen

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)

Referenten

Zugehörige Events

Die folgenden Events könnten Sie auch interessieren. Besuchen Sie unsere Reactor-Startseite, um alle verfügbaren Events anzuzeigen.

Teile dieser Seite können maschinell oder durch KI übersetzt sein.