# ServiceStack.Redis **Repository Path**: mirrors_PKRoma/ServiceStack.Redis ## Basic Information - **Project Name**: ServiceStack.Redis - **Description**: .NET's leading C# Redis Client - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-25 - **Last Updated**: 2026-04-12 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README [Join the ServiceStack Google+ group](https://plus.google.com/u/0/communities/112445368900682590445) or follow [@servicestack](http://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 |