This repository contains sample code for a real-time leaderboard implemented with Redis Cache Sorted Set data structure. It's written in .NET with StackExchange.Redis library.
Here is an example output for running the application:
Prerequisites:
- Azure subscription. Start free
- .NET 8 or above. Download
- Docker. Get docker
- Azure Developer CLI. Install
- Open a command prompt
- Change directory to the project folder where azure.yaml file is located
- Run:
azd up
- Follow command prompt to enter environment name and select subscription
- This will create all the resources needed to run the sample:
- Azure Container App instance and environment
- Azure Container Registry
- Azure Cache for Redis
- Azure Key Vault
- To clean up the environment, run
azd down