Skip to content

Instantly share code, notes, and snippets.

@Layoric Layoric/main.cs
Last active Aug 25, 2016

Embed
What would you like to do?
Initializing your Redis connection.
using System.Linq;
using ServiceStack;
using ServiceStack.Text;
using ServiceStack.Redis;
var redisManagerPool = new RedisManagerPool("localhost:6379");
using(var client = redisManagerPool.GetClient())
{
client.Info.PrintDump();
}
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="ServiceStack.Text" version="4.0.62" targetFramework="net45" />
<package id="ServiceStack.Client" version="4.0.62" targetFramework="net45" />
<package id="ServiceStack.Interfaces" version="4.0.62" targetFramework="net45" />
<package id="ServiceStack.Redis" version="4.0.62" targetFramework="net45" />
</packages>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.