GithubHelp home page GithubHelp logo

daniellarsennz / azurecacheredisclient Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 1.0 60 KB

A Redis client library that incorporates best practices for Azure Cache for Redis.

License: MIT License

C# 100.00%
microsoft azure azure-cache-redis redis redis-client

azurecacheredisclient's Introduction

Azure Cache for Redis Client

Azure Cache for Redis client for .NET 6.0.

Getting started

For a more detailed example see RedisCacheTests.cs.

var cache = new RedisCache(connectionString);

var item = new TestItem { Name = "foo", Value = "bar" };

// Set cache item
await cache.Set("foobar1", item, TimeSpan.FromSeconds(90));

// Get cached item
var cachedItem = await cache.Get<TestItem>("foobar1");

// Deletes a specified key from the cache.
await cache.Delete("foobar1");

azurecacheredisclient's People

Contributors

daniellarsennz avatar willvelida avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

willvelida

azurecacheredisclient's Issues

DISCUSSION: Documentation for the client

We should decide how we will document the Client library so other developers can use it as a reference point when using the client.

I have a couple of ideas on how we can do this:

  • Create a website that documents the Client Library (We could set this up using a static website engine like Hugo).
  • Use Markdown files here in GitHub.

Implement remaining API

  • Decrement
  • Get (multiple keys)
  • Set (multiple keys)
  • ⬇️ Get and delete
  • ⬇️ Set Range
  • ⬇️ Get Range (substring)
  • ⬇️ String length

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.