URL Shortener in .NET 9 β Clean Architecture, High Performance, Production-Ready
β‘ .NET 9 URL Shortener API π
A blazing-fast, production-ready backend for shortening and tracking URLs β built with Clean Architecture & CQRS for maintainability and scale.
π Key Features:
β
Minimal APIs β Low overhead, lightning performance
β
Base62 Encoding β Short, URL-safe codes
β
Redis Caching β Faster redirects, less DB load π§
β
Click Analytics β Track IP, User-Agent, Referrer π
β
Docker-Ready β Deploy anywhere in minutes π³
β
FluentValidation β Robust URL & custom code rules
π‘ Perfect for:
π¨βπ» Developers integrating a scalable short-link service
π’ Teams needing internal link management
π Startups building SaaS link-tracking products
π¦ What You Get:
- Full API source code π
- Clean separation of layers (Domain / Application / Infrastructure / API)
- Ready-to-run with SQLite or swap to PostgreSQL/SQL Server
- Swagger/OpenAPI documentation π
π License: MIT β Use in personal, commercial, or educational projects.