Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Microsoft

Create cloud-native apps and services with .NET and ASP.NET Core

Microsoft via Microsoft Learn

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
  • Microservice applications are composed of small, independently versioned, and scalable customer-focused services that communicate with each other by using standard protocols and well-defined interfaces. Each microservice typically encapsulates simple business logic, which you can scale out or in. You test, deploy, and manage the microservice independently. Smaller teams develop a microservice based on a customer scenario, and choose the technologies that they use. This module teaches you how to build your first microservice by using .NET.

    By the end of this module, you'll be able to:

    • Explain what microservices are.
    • Know the various technologies that are involved in microservices and how they relate to each other.
    • Build a microservice by using .NET.
  • Microservice applications are composed of small, independently versioned, and scalable customer-focused services. Microservices applications deployed in containers make it possible to scale out apps, and respond to increased demand by deploying more container instances, and to scale back if demand is decreasing. In complex solutions of many microservices the process of deploying, updating, monitoring, and removing containers introduces challenges. This module explains some of those challenges and shows how Kubernetes can help.

    In this module, you will:

    • Learn the concepts behind orchestrators and why you might need them.
    • Take an existing .NET microservice hosted in a Docker container and push it to Docker Hub.
    • Deploy the microservice from Docker Hub to a local Kubernetes instance.
    • Learn how to scale a container instance in a Kubernetes cluster.
  • This module guides you through implementing resiliency in an .NET microservices app in a Kubernetes Service.

    In this module, you'll:

    • Understand foundational resiliency concepts.
    • Observe the behavior of a microservice with no resiliency strategy.
    • Implement failure handling code for HTTP requests in one microservice.
    • Deploy an infrastructure-based resiliency solution to an Azure Kubernetes Service (AKS) cluster.
  • Learn about observability and how to implement it in a cloud-native application. Use OpenTelemetry packages to output logs, metrics, and tracing data and analyze the data in Application Insights and third-party applications.

    By the end of this module, you'll be able to:

    • Describe the three pillars of observability and how they help monitor applications.
    • Create an observability cloud-native application by using OpenTelemetry.
    • Ensure that a cloud-native application is generating observable data.
    • Use Application Insights and third-party tools to monitor a cloud-native application.
  • Microservice applications, because of their distributed nature, can be difficult to secure. In this module, you'll learn how to classify sensitive data in a cloud-native application, redact sensitive data in log files, and generate compliance reports for a cloud-native application.

    In this module, you'll:

    • Classify sensitive data in a cloud-native application
    • Redact sensitive data in log files
    • Generate compliance reports for a cloud-native application
  • This module guides you through implementing a feature flag in an ASP.NET Core microservices app using Azure App Configuration.

    In this module, you will:

    • Review ASP.NET Core app configuration concepts.
    • Implement real-time feature toggling with the .NET Feature Management library.
    • Implement a centralized Azure App Configuration store.
  • Use a GitHub Actions CI/CD pipeline to build a container image and deploy it to Azure Kubernetes Service (AKS).

    This module guides you through the following steps:

    • Authenticate GitHub Actions to a container registry.
    • Securely store sensitive information that GitHub Actions uses.
    • Implement an action to build the container image for a microservice.
    • Modify and commit the microservice code to trigger a build.
    • Implement an action to deploy the updated container to an Azure Kubernetes Service (AKS) cluster.
    • Revert the microservice to the previous deployment.
    • Implement Azure Pipelines to build and deploy a microservice to Azure Kubernetes Service (AKS) cluster.

Syllabus

  • Build your first microservice with .NET
    • Introduction
    • What are microservices?
    • Exercise - Build a container image for your .NET microservice
    • Microservices orchestration
    • Exercise - Create a Docker Compose file for orchestration
    • Summary
  • Deploy a .NET microservice to Kubernetes
    • Introduction
    • What are orchestrators?
    • Exercise - Push a microservice image to Docker Hub
    • Exercise - Deploy a microservice container to Kubernetes
    • Exercise - Scale a container instance in Kubernetes
    • Exercise - Prove microservice resilience in Kubernetes
    • Summary
  • Implement resiliency in a cloud-native .NET microservice
    • Introduction
    • Application and infrastructure resiliency
    • Implement application resiliency
    • Exercise - Implement application resiliency
    • Implement infrastructure resiliency with Kubernetes
    • Exercise - Implement infrastructure resiliency with Kubernetes
    • Module assessment
    • Summary
  • Implement observability in a cloud-native .NET 8 application with OpenTelemetry
    • Introduction
    • What is observability?
    • Add observability to a cloud-native application
    • Exercise - Add OpenTelemetry to a cloud-native application
    • View telemetry with Azure Monitor and third-party tools
    • Exercise - Use OpenTelemetry data in a cloud-native application
    • Exercise - Extend telemetry in .NET 8
    • Module assessment
    • Summary
  • Implement compliance in a cloud-native .NET 8 application
    • Introduction
    • Classify sensitive data in a cloud-native application
    • Exercise - Classify sensitive data in a cloud-native application
    • Redact sensitive data in a cloud-native application
    • Exercise - Redact sensitive data in cloud-native applications
    • Generate compliance reports for an annotated cloud-native app
    • Exercise - Generate compliance reports for an annotated cloud-native app
    • Module assessment
    • Summary
  • Implement feature flags in a cloud-native ASP.NET Core microservices app
    • Introduction
    • Review app configuration concepts
    • Exercise - Implement a feature flag to control ASP.NET Core app features
    • Exercise - Implement configuration settings in Azure App Configuration instance
    • Module assessment
    • Summary
  • Deploy a cloud-native .NET microservice automatically with GitHub Actions and Azure Pipelines
    • Introduction
    • Manually deploy your cloud-native app to Azure Kubernetes Service
    • Exercise - Create a GitHub action to build a container image
    • Exercise - Create a GitHub action to deploy to AKS
    • Explore different CI/CD approaches
    • Exercise - Create an Azure DevOps pipeline to deploy your cloud-native app
    • Summary

Reviews

Start your review of Create cloud-native apps and services with .NET and ASP.NET Core

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.