Introduction
Making sense of microservices architecture in a .NET and Azure ecosystem
()
What you should know
()
What we are going to build
()
1. Introduction to Microservices
The importance of software architecture
()
What is the monolithic architecture?
()
Service-oriented architecture (SOA) overview
()
Introduction to the microservices architectural style
()
Core principles of microservices
()
Microservices and Domain-Driven Design
()
Communication between microservices
()
2. Hands On: Creating Microservices with ASP.NET Core
Creating and cloning the repo
()
Creating your first microservice using ASP.NET Core
()
Creating and registering the DbContext for the microservice
()
Creating the PetsController and returning the list of pets
()
Obtaining a single pet in the PetsController
()
Creating a new pet
()
Challenge: Implementing BreedsController and validations
()
Solution: Implementing BreedsController and validations
()
3. Hands On: Microservices Containerization with Docker and Azure Container Registry
Creating the service principal and configuring the repo
()
Creating a workflow to log into Azure
()
Creating the Azure Container Registry resource
()
Creating the Dockerfile in Visual Studio
()
Modifying the workflow to create the container images
()
Challenge: Formatting the container image tags
()
Solution: Formatting the container image tags
()
4. Hands On: Microservices Deployment in Azure Container Apps
Creating the Container Apps environment using the Azure CLI
()
Creating the Container App using the Azure CLI
()
Modifying the workflow to deploy to the Container App
()
Challenge: Configuring environment variables
()
Solution: Configuring environment variables
()
5. Hands On: Synchronous Communication between Microservices
Creating the Clinic microservice
()
Adding the ClinicDbContext class
()
Implementing the ManagementService class
()
Implementing the ClinicApplicationService class
()
Adding resilience traits to the microservice using Polly
()
Creating the Container App for the Clinic microservice
()
Creating the Dockerfile and modifying the workflow
()
Adding environment variables to the Clinic microservice
()
Challenge: Implementing a new endpoint and memory cache
()
Solution: Implement a new endpoint and memory cache
()
Conclusion
Next steps with .NET microservices
()