A simple demo showing how to use .NET Aspire with Redis. The AppHost project is references Aspire.Hosting.Redis and wires up the redis resource, and the ApiApplication references Aspire.StackExchange.Redis and wires up the redis component.
The aspire dashboard shows distributed traces that include the HTTP request to the API and the outgoing calls to redis. This works because Aspire.StackExchange.Redis enables OpenTelemetry for the redis client.
![image](https://private-user-images.githubusercontent.com/95136/326286894-d5824c06-413b-474f-9dcc-6908fc8622c1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk2ODgzNjEsIm5iZiI6MTcxOTY4ODA2MSwicGF0aCI6Ii85NTEzNi8zMjYyODY4OTQtZDU4MjRjMDYtNDEzYi00NzRmLTlkY2MtNjkwOGZjODYyMmMxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjI5VDE5MDc0MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTY3ZTFjYWZjZDIzMmQ4MjZhOGMwNGJhNjljOTBlZDk5ZjU0MWUzZTkxZTBmZjc4MGRhYTc3Y2IxNjcxY2Y5ZTUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.3KTw4y_MInu-dV02FlmIWiiCdVw_lzrykJJAHcVpTAw)