This repository showcases a sample API built with .NET 9 that demonstrates the integration of .NET Aspire orchestration. The application utilizes PostgreSQL as database, and Redis for caching.
To get a local copy up and running, follow these simple steps.
- .NET 9 SDK
- Docker
- Clone the repo
git clone https://github.com/poorna-soysa/url-shortener-app.git
- Navigate to the project directory
cd url-shortener-app
- Restore dependencies:
dotnet restore
This template follows the Vertical Slice Architecture, which organizes code by features rather than technical concerns. Each feature is self-contained, promoting high cohesion and low coupling.
- Built with .NET 9: Utilizes the latest features for efficient development.
- .NET Aspire: Optimized for cloud-native applications.
- PostgreSQL: Powerful relational database for data storage.
- Redis: Caching solution for improved performance.
- Health Check: Standardized approach for monitoring and assessing the operational status of systems.
- .NET 9
- .NET Aspire
- PostgreSQL
- Hybrid Cache
- Redis
- EF Core
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Create a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
If you find this project helpful, consider buying me a coffee!