fjb4 / steeltoe-redis-example

Demonstrates using Steeltoe's Service Connectors feature to connect to Redis.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Redis Example App

Tested with .NET Core 2.2

Deploy

  • Create a Redis service instance: cf create-service redis plan my-redis
  • Deploy application: cf push redis-example --random-route
  • Bind the Redis service to the application: cf bind-service redis-example my-redis
  • Restage the application: cf restage redis-example

Usage

  • Return a cached datetime: redis-example-url.com/api/values
  • Remove the datetime from cache: redis-example-url.com/api/values/reset

About

Demonstrates using Steeltoe's Service Connectors feature to connect to Redis.


Languages

Language:C# 100.0%