| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
This took me about 30 minutes to figure out. How to create a IRedisTypedClientAsync. The over-use of "var" makes finding samples very difficult.
using ServiceStack.Redis;
using ServiceStack.Redis.Generic;
IRedisClientsManager manager = new RedisManagerPool("localhost:6379");
//IRedisClientAsync rca = manager.GetClientAsync().Result;
IRedisClientAsync rca = await manager.GetClientAsync();
IRedisTypedClientAsync<MyPocoObject> typedClientAsync = rca.As<MyPocoObject>();
Getting Started
Designing APIs
Reference
Clients
Formats
View Engines 4. Razor & Markdown Razor
Hosts
Security
Advanced
Caching
HTTP Caching 1. CacheResponse Attribute 2. Cache Aware Clients
Auto Query
AutoQuery Data 1. AutoQuery Memory 2. AutoQuery Service 3. AutoQuery DynamoDB
Server Events
Service Gateway
Encrypted Messaging
Plugins
Tests
ServiceStackVS
Other Languages
Amazon Web Services
Deployment
Install 3rd Party Products
Use Cases
Performance
Other Products
Future
| Back | FazBrowse Home | New Git URL |