Skip to content

artem-astafyev/BuildCloudNativeApplicationsWithDotNet5-DotNextPiter-2021

 
 

Repository files navigation

BuildCloudNativeApplicationsWithDotNet5-DotNextPiter-2021

Repository containing guidance and code to use during the DotNext Piter 2021 workshop: "Building Cloud Native applications with .NET 5 and AKS"

Presentation

Presentation Slides

Prerequisites

Please prepare your system and install the following software:

Additionally, prepare the following settings and extensions:

Docker Desktop

Prepare the following settings:

Screen capture from Docker Desktop Kubernetes settings

Visual Studio Code

Install the following extensions:

Workshop

Part 1 - Cloud Native with .NET 5

  • Step 01 - Create a .NET 5 HTTP Service (ASP.NET WebApi).
  • Step 02 - Create a .NET 5 Worker Service that calls the HTTP Service.
  • Step 03 - Test your Worker Service and HTTP Service using Project Tye.
  • Step 04 - Project Tye and custom configuration.
  • Step 05 - Create a .NET 5 gRPC Service and Client.
  • Step 06 - Changing the gRPC Service and Client to use a common part.
  • Step 07 - Putting everything together with custom configuration.

Part 2 - Containerize your services with Docker

  • Step 08 - Project Tye and additional Docker containers.
  • Step 09 - Create your own Docker images and run them as local containers.
  • Step 10 - Connect Visual Studio Code to your Azure Subscription.
  • Step 11 - Create a resource group in your Azure subscription.
  • Step 12 - Create the ACR (Azure Container Registry) resource in your Azure subscription.
  • Step 13 - Connect Visual Studio Code to your ACR and push your Docker images.
  • Step 14 - Run your Docker containers inside Azure App Service from ACR.

Part 3 - Deploy your containerized services on AKS

  • Step 15 - Create the AKS (Azure Kubernetes Service) resource in your Azure subscription.
  • Step 16 - Allow AKS to access ACR to automatically pull Docker images.
  • Step 17 - Deploy the WebApi to AKS and create a service for it.
  • Step 18 - Deploy the WorkerService to AKS and make it call the WebApi service.
  • Step 19 - Create an ASP.NET Core MVC Web application and deploy it to AKS.
  • Step 20 - Create a public IP-address and DNS entry.
  • Step 21 - Add an NGINX ingress controller to AKS.
  • Step 22 - Have some fun with the web application!

About

Repository containing guidance and code to use during the DotNext Piter 2021 workshop: "Building Cloud Native applications with .NET 5 and AKS"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 90.6%
  • Dockerfile 4.4%
  • HTML 3.3%
  • CSS 1.5%
  • JavaScript 0.2%