โ .NET Core learning path.NET Core ยท Module 10 of 10
Deployment and cloud
Publish .NET apps to servers, containers and Azure.
๐ Key ideas
- dotnet publish -c Release produces deployable output.
- Containerise: dotnet publish with container support or a Dockerfile.
- Deploy to Azure App Service, AWS, Linux VMs or Kubernetes.
- Logging with ILogger and Serilog; health checks via MapHealthChecks.
- Use CI/CD (GitHub Actions, Azure DevOps).
๐ก Real-life example: Deployment is shipping a packed container: it runs the same in any port (cloud) it reaches.
Release buildOptimised configuration
Azure App ServiceManaged web hosting on Azure
Health checksEndpoint reporting app health
SerilogStructured logging library