Join the [ServiceStack Google+ Community](https://plus.google.com/communities/112445368900682590445) or follow [@ServiceStack](https://twitter.com/servicestack) for updates. # C#/.NET Client for Redis ## Redis Connection Strings Redis Connection strings have been expanded to support the more versatile URI format which is now able to capture most of Redis Client settings in a single connection string (akin to DB Connection strings). Redis Connection Strings supports multiple URI-like formats, from a simple **hostname** or **IP Address and port** pair to a fully-qualified **URI** with multiple options specified on the QueryString. Some examples of supported formats: localhost 127.0.0.1:6379 redis://localhost:6379 password@localhost:6379 clientid:password@localhost:6379 redis://clientid:password@localhost:6380?ssl=true&db=1 > More examples can be seen in [ConfigTests.cs](https://github.com/ServiceStack/ServiceStack.Redis/blob/master/tests/ServiceStack.Redis.Tests/ConfigTests.cs) Any additional configuration can be specified as QueryString parameters. The full list of options that can be specified include:
| Ssl | bool | If this is an SSL connection |
| Db | int | The Redis DB this connection should be set to |
| Client | string | A text alias to specify for this connection for analytic purposes |
| Password | string | UrlEncoded version of the Password for this connection |
| ConnectTimeout | int | Timeout in ms for making a TCP Socket connection |
| SendTimeout | int | Timeout in ms for making a synchronous TCP Socket Send |
| ReceiveTimeout | int | Timeout in ms for waiting for a synchronous TCP Socket Receive |
| IdleTimeOutSecs | int | Timeout in Seconds for an Idle connection to be considered active |
| NamespacePrefix | string | Use a custom prefix for ServiceStack.Redis internal index colletions |