Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit 2f9a6e2

Browse files
committed
Merge branch 'master' of https://github.com/ServiceStack/ServiceStack.Redis into netcore
2 parents e080e43 + 78b7788 commit 2f9a6e2

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ using (IRedisClient redis = clientsManager.GetClient())
158158
}
159159
```
160160

161-
A more detailed list of the available RedisClient API's used in the example can be seen in the C# interfaces below:
161+
A more detailed list of the available RedisClient APIs used in the example can be seen in the C# interfaces below:
162162

163163
- [IRedisClient](https://github.com/ServiceStack/ServiceStack/blob/master/src/ServiceStack.Interfaces/Redis/IRedisClient.cs)
164164
- [IRedisTypedClient<T>](https://github.com/ServiceStack/ServiceStack/blob/master/src/ServiceStack.Interfaces/Redis/Generic/IRedisTypedClient.cs)
@@ -287,7 +287,7 @@ Most of the time when waiting to use a new [Redis Command](http://redis.io/comma
287287
**ServiceStack.Redis** to add support for the new commands likewise there are times when the Redis Client doesn't offer every permutation
288288
that redis-server supports.
289289

290-
With the new `Custom` and `RawCommand` API's on `IRedisClient` and `IRedisNativeClient` you can now use the RedisClient to send your own
290+
With the new `Custom` and `RawCommand` APIs on `IRedisClient` and `IRedisNativeClient` you can now use the RedisClient to send your own
291291
custom commands that can call adhoc Redis commands:
292292

293293
```csharp
@@ -305,7 +305,7 @@ public interface IRedisNativeClient
305305
}
306306
```
307307

308-
These Custom API's take a flexible `object[]` arguments which accepts any serializable value e.g.
308+
These Custom APIs take a flexible `object[]` arguments which accepts any serializable value e.g.
309309
`byte[]`, `string`, `int` as well as any user-defined Complex Types which are transparently serialized
310310
as JSON and send across the wire as UTF-8 bytes.
311311

@@ -337,7 +337,7 @@ var weekDays = ret.GetResults();
337337
weekDays.PrintDump(); // ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday"]
338338
```
339339

340-
and some more examples using Complex Types with the Custom API's:
340+
and some more examples using Complex Types with the Custom APIs:
341341

342342
```csharp
343343
var ret = Redis.Custom(Commands.Set, "foo", new Poco { Name = "Bar" }); // ret.Text = "OK"
@@ -499,7 +499,7 @@ var mergeCount = redis.CountHyperLog("mergedset"); //6
499499

500500
### Scan APIs
501501

502-
Redis v2.8 introduced a beautiful new [SCAN](http://redis.io/commands/scan) operation that provides an optimal strategy for traversing a redis instance entire keyset in managable-size chunks utilizing only a client-side cursor and without introducing any server state. It's a higher performance alternative and should be used instead of [KEYS](http://redis.io/commands/keys) in application code. SCAN and its related operations for traversing members of Sets, Sorted Sets and Hashes are now available in the Redis Client in the following API's:
502+
Redis v2.8 introduced a beautiful new [SCAN](http://redis.io/commands/scan) operation that provides an optimal strategy for traversing a redis instance entire keyset in managable-size chunks utilizing only a client-side cursor and without introducing any server state. It's a higher performance alternative and should be used instead of [KEYS](http://redis.io/commands/keys) in application code. SCAN and its related operations for traversing members of Sets, Sorted Sets and Hashes are now available in the Redis Client in the following APIs:
503503

504504
```csharp
505505
public interface IRedisClient
@@ -618,9 +618,9 @@ r = redis.ExecCachedLua(FastScanScript, sha1 =>
618618
redis.ExecLuaSha(sha1, "key:*", "10"));
619619
```
620620

621-
### IRedisClient LUA API's
621+
### IRedisClient LUA APIs
622622

623-
The `IRedisClient` API's for [redis server-side LUA support](http://redis.io/commands/eval) have been re-factored into the more user-friendly API's below:
623+
The `IRedisClient` APIs for [redis server-side LUA support](http://redis.io/commands/eval) have been re-factored into the more user-friendly APIs below:
624624

625625
```csharp
626626
public interface IRedisClient
@@ -740,12 +740,12 @@ The `ServiceStack.Redis.RedisClient` class below implements the following interf
740740
* [ICacheClient](https://github.com/ServiceStack/ServiceStack/wiki/Caching) - If you are using Redis solely as a cache, you should bind to the [ServiceStack's common interface](https://github.com/ServiceStack/ServiceStack.Redis/wiki/Caching) as there already are In-Memory an Memcached implementations available in ServiceStack, allowing you to easily switch providers in-future.
741741
* [IRedisNativeClient](https://github.com/ServiceStack/ServiceStack.Redis/wiki/IRedisNativeClient) - For those wanting a low-level raw byte access (where you can control your own serialization/deserialization) that map 1:1 with Redis operations of the same name.
742742

743-
For most cases if you require access to Redis-specific functionality you would want to bind to the interface below:
743+
For most cases if you require access to Redis specific functionality you would want to bind to the interface below:
744744

745745
* [IRedisClient](https://github.com/ServiceStack/ServiceStack.Redis/wiki/IRedisClient) - Provides a friendlier, more descriptive API that lets you store values as strings (UTF8 encoding).
746746
* [IRedisTypedClient](https://github.com/ServiceStack/ServiceStack.Redis/wiki/IRedisTypedClient) - created with `IRedisClient.As<T>()` - it returns a 'strongly-typed client' that provides a typed-interface for all redis value operations that works against any C#/.NET POCO type.
747747

748-
The class hierachy for the C# Redis clients effectively look like:
748+
The class hierarchy for the C# Redis clients effectively look like:
749749

750750
RedisTypedClient (POCO) > RedisClient (string) > RedisNativeClient (raw byte[])
751751

lib/ServiceStack.Client.dll

0 Bytes
Binary file not shown.

lib/ServiceStack.Common.dll

512 Bytes
Binary file not shown.

lib/ServiceStack.Interfaces.dll

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)