NRedi2Read-Preview

A Redis + .NET Coding Adventure

Pattern View

A collection of .NET REST services for a mythical online bookstore powered by Redis. It uses:

Prerequisites:

Getting Started

Clone the Repository w/ Submodules

To install this example application, run the following commands:

git clone git@github.com:redis-developer/NRedi2Read-preview.git --recurse-submodule
cd NRedi2Read-preview

You can also import the code straight into your IDE:

Start Redis and the .NET Application

Set the environment secrets

dotnet user-secrets init
dotnet user-secrets set CacheConnection "localhost,abortConnect=false,ssl=false,allowAdmin=false,password="

Start the Docker Compose application:

docker-compose up

Start the app (in separate shell)

dotnet run

Access the Swashbuckle/Swagger UI: https://localhost:5001/swagger/index.html

See Also

Quick Tutorial on Redis' Powerful Modules:

Help

Please post any questions and comments on the Redis Discord Server, and remember to visit our Redis Developer Page for awesome tutorials, project and tips.

License

MIT Licence

Credit