Redis OM .NET Skeleton ASP.NET Core App

Welcome to the Redis OM .NET Skeleton App, this app is designed to provide you a jumping off point to add Redis OM .NET to your ASP.NET Core app, and get you up and running with some basic CRUD operations. For a detailed explanation of how everything in the app works, read through the App walkthrough.

This app is accompanied by a workshop video on YouTube (watch here).

Prerequisites

Run the App

Spin up Redis

You'll want to spin up Redis before running the app, to do so you can use the Redis Cloud, or you can just run docker run -p 6379:6379 -p 8001:8001 redis/redis-stack

Configure the App

If you are running in Docker, or you're running Redis locally you probably don't need to do anything here. If you are running anywhere else you'll just need to update the REDIS_CONNECTION_STRING field in appsettings.json to an appropriately formatted Redis URI.

Run it

Now just run dotnet run to run the app, this will start the app up on https://localhost:7090.

Interact with the API

You can interact with the API either directly through the Swagger interface.