DotNet DevOps Pipeline is a fully automated production-ready CI/CD DevOps showcase project built using .NET 8, Docker, GitHub Actions, and Render Cloud.
This project demonstrates how to build, test, containerize, and deploy a modern web API into a real production environment using professional DevOps workflows.
| Service | URL |
|---|---|
| โ Health Check | https://dotnet-devops-pipeline.onrender.com/api/v1/health |
| ๐ Swagger UI | https://dotnet-devops-pipeline.onrender.com/api/v1/swagger |
flowchart LR
A[Git Push] --> B[GitHub]
B --> C[GitHub Actions CI]
C --> D[dotnet restore]
D --> E[dotnet build]
E --> F[dotnet test]
F --> G[Docker Build]
G --> H[Render Deploy]
H --> I[Live Production API]
Replace this URL with your own screenshot later
https://dotnet-devops-pipeline.onrender.com/swaggerhttps://dotnet-devops-pipeline.onrender.comPush โ CI โ Test โ Docker โ Cloud โ Live| Layer | Technology |
|---|---|
| Backend | .NET 8 Web API |
| Logging | Serilog |
| Containers | Docker |
| CI/CD | GitHub Actions |
| Cloud | Render |
| Monitoring | Health Checks |
| Docs | Swagger |
โ Full DevOps lifecycle automation โ Dockerized cloud-native API โ Automated build, test, and deploy โ Health monitoring & logging โ Production deployment with zero downtime triggers
DotnetDevopsPipeline
โโ DotnetDevopsPipeline.Api
โ โโ Controllers
โ โโ Program.cs
โ โโ Dockerfile
โ โโ appsettings.json
โ โโ Properties
โโ .github
โ โโ workflows
โ โโ dotnet-ci.yml
โโ .gitignore
โโ README.mddocker build -t dotnetdevopspipeline .docker run -p 8080:8080 dotnetdevopspipeline- Swagger: http://localhost:8080/swagger
- Health: http://localhost:8080/health
Defined in .github/workflows/dotnet-ci.yml
- Push to
main - Pull Requests
- Restore
- Build
- Test
- Docker Image Build
- Auto Deploy to Render
Uses Docker-based deployment with real-time health checks.
ASPNETCORE_URLS=http://+:8080
GET /healthโ Demonstrates Production CI/CD expertise โ Shows real DevOps toolchain usage โ Proves cloud-native deployment skills
CodeByPinar https://github.com/CodeByPinar
- API Versioning
- Authentication
- Database Integration
- Metrics Monitoring (Prometheus)
- Distributed tracing
MIT
All notable changes to this project are documented in this section.
This project follows Semantic Versioning (SemVer).
Release Date: 2025-12-09
- API versioning structure introduced (
/api/v1) - Versioned health endpoint:
/api/v1/health - Versioned Swagger UI access
- Production-ready routing structure using
MapGroup - Render production environment stabilization
- Improved Serilog request logging for production visibility
UsePathBaserouting conflict resolved- Swagger and Health endpoints properly aligned with API versioning
- Render port binding and startup stability issues fixed
- Fully automated CI + Docker + Render deployment verified
- Live health monitoring confirmed in production
Release Date: 2025-12-09
- .NET 8 Web API project initialized
- Swagger UI integrated
- Health check endpoint added (
/health) - Serilog file & console logging enabled
- Docker multi-stage build configured
- GitHub CI pipeline created and verified
- Render cloud deployment completed successfully
- Production-ready baseline established