[go: up one dir, main page]

Skip to content

A sample application demonstrating conections to Azure Redis Cache in cluster mode

Notifications You must be signed in to change notification settings

cognitox/Redistest

Repository files navigation

page_type languages name description products
sample
csharp
Quickstart: Use Azure Cache for Redis in .NET Core
Learn how to incorporate Azure Cache for Redis into a C# .NET Core console app using the StackExchange.Redis Redis client.
azure
dotnet
azure-cache-redis

Quickstart: Use Azure Cache for Redis in .NET Core

This sample shows you how to incorporate Azure Cache for Redis into a C# .NET Core console app using the StackExchange.Redis Redis client. See the accompanying article on the documentation site for details, including best practices and how to create the sample code from scratch.

Prerequisites

Run the sample

Download the sample code to your development PC.

In your command window, change directories to the folder containing this sample.

Execute the following command to restore the packages:

dotnet restore

Update the config.json file with cache name and password (primary access key).

Uncomment line 50 to set the keys first.

Execute the following command in your command window to build the app:

dotnet build

Then run the app with the following command:

dotnet run

References

About

A sample application demonstrating conections to Azure Redis Cache in cluster mode

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages