<commit_before># NServiceBus4.Redis [![Build status](https://ci.appveyor.com/api/projects/status/i2b2phpdhk6boq5q?svg=true)](https://ci.appveyor.com/project/fabtesta/nservicebus4-redis) [![NuGet Status](http://img.shields.io/nuget/v/NServiceBus.Redis.svg)](https://www.nuget.org/packages/NServiceBus.Redis/)

Redis Persistence for NServiceBus 4.4.x.  
Version 1.x supports only TimeoutManager (IPersistTimeouts).  

Redis connection is based on [`ServiceStack.Redis`](https://github.com/ServiceStack/ServiceStack.Redis) library latest .NET 4.0 [`version`](https://github.com/ServiceStack/ServiceStack.Redis/tree/v4.0.54).

### Installation
* Get the source and build locally  
or  
* Install the [`NServiceBus.Redis`](https://www.nuget.org/packages/NServiceBus.Redis/) NuGet package using the Visual Studio NuGet Package Manager or Package Manager
```powershell
Install-Package NServiceBus.Redis -Version 1.0.1
```

### Configuration
After adding a reference to it from your project, specify `RedisPersistence` to be used for persistence.

```csharp
using NServiceBus;
using NServiceBus.Redis;<commit_msg>readme after upgrade servicestack 5.1.0<commit_after># NServiceBus4.Redis [![Build status](https://ci.appveyor.com/api/projects/status/i2b2phpdhk6boq5q?svg=true)](https://ci.appveyor.com/project/fabtesta/nservicebus4-redis) [![NuGet Status](http://img.shields.io/nuget/v/NServiceBus.Redis.svg)](https://www.nuget.org/packages/NServiceBus.Redis/)

Redis Persistence for NServiceBus 4.4.x.  
Version 1.x supports only TimeoutManager (IPersistTimeouts).  

Redis connection is based on [`ServiceStack.Redis`](https://github.com/ServiceStack/ServiceStack.Redis) library latest .NET 4.5 [`version`](https://github.com/ServiceStack/ServiceStack.Redis/tree/v5.1.0).

### Installation
* Get the source and build locally  
or  
* Install the [`NServiceBus.Redis`](https://www.nuget.org/packages/NServiceBus.Redis/) NuGet package using the Visual Studio NuGet Package Manager or Package Manager
```powershell
Install-Package NServiceBus.Redis -Version 1.1.0
```

### Configuration
After adding a reference to it from your project, specify `RedisPersistence` to be used for persistence.

```csharp
using NServiceBus;
using NServiceBus.Redis;
{'fraction_non_alphanumeric': 0.13333333333333333, 'fraction_numerical': 0.017002237136465325, 'mean_word_length': 5.443804034582133, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 12, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7670767', 'n_tokens_mistral': 761, 'n_tokens_neox': 728, 'n_words': 159}