davidfowl / AspireWithRedis

A simple hello world aspire redis project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Aspire with Redis

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.

Dashboard + OpenTelemetry

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

About

A simple hello world aspire redis project


Languages

Language:C# 100.0%