ข้ามไปยังเนื้อหาหลัก
ไอคอนโทรโข่ง

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

กันยายน 22, 2564 | 12:00 - 1:00 ก่อนเที่ยง (UTC) เวลาสากลที่ประสานกัน

พร้อมที่จะเริ่มต้นใช้งาน AI และเทคโนโลยีล่าสุดหรือไม่ Microsoft Reactor มีกิจกรรม การฝึกอบรม และทรัพยากรของชุมชนเพื่อช่วยเหลือนักพัฒนา ผู้ประกอบการ และสตาร์ทอัพที่สร้างขึ้นบนเทคโนโลยี AI และอื่น ๆ เข้าร่วมกับเรา!

Creating a Containerized .NET Application

กันยายน 22, 2564 | 12:00 - 1:00 ก่อนเที่ยง (UTC) เวลาสากลที่ประสานกัน

พร้อมที่จะเริ่มต้นใช้งาน AI และเทคโนโลยีล่าสุดหรือไม่ Microsoft Reactor มีกิจกรรม การฝึกอบรม และทรัพยากรของชุมชนเพื่อช่วยเหลือนักพัฒนา ผู้ประกอบการ และสตาร์ทอัพที่สร้างขึ้นบนเทคโนโลยี AI และอื่น ๆ เข้าร่วมกับเรา!

กลับไป

Creating a Containerized .NET Application

กันยายน 22, 2564 | 12:00 - 1:00 ก่อนเที่ยง (UTC) เวลาสากลที่ประสานกัน

  • รูปแบบ:
  • alt##Livestreamถ่ายทอดสด

หัวข้อ: เครื่องมือ DevSecOps และนักพัฒนา

ภาษา: ภาษาอังกฤษ

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

ข้อกำหนดเบื้องต้น

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)

ผู้พูด

เหตุการณ์ที่เกี่ยวข้อง

เหตุการณ์ด้านล่างนี้อาจน่าสนใจสําหรับคุณเช่นกัน อย่าลืมเยี่ยมชมเว็บไซต์ของเรา หน้าแรกของ Reactor เพื่อดูกิจกรรมทั้งหมดที่มีให้เลือก

  • VS Code Live: Release Recap

    VS Code Live: Release Recap

    รูปแบบ: ไอคอนถ่ายทอดสด ถ่ายทอดสด

    หัวข้อ: เครื่องมือสำหรับนักพัฒนา

    ภาษา: ภาษาอังกฤษ

    • VS Code
    • GitHub Copilot

ส่วนต่างๆ ของหน้านี้อาจได้รับการแปลโดยเครื่องหรือ AI