Browse Source

Added SQLite Database Provider and refactored AppSelfHost out of AppHost.

Additionally, added logic to only include routes for databases that did
not produce an error when Service was initialized.
Kevin Howard 12 years ago
parent
commit
ecde547e91
60 changed files with 1455 additions and 1624 deletions
  1. 17 1
      servicestack/README.md
  2. 1 0
      servicestack/lib/ServiceStack.OrmLite.MySql.3.9.57/ServiceStack.OrmLite.MySql.3.9.57.nuspec
  3. BIN
      servicestack/lib/ServiceStack.OrmLite.Sqlite.Mono.3.9.57/Content/sqlite/x64/sqlite3.dll
  4. 208 0
      servicestack/lib/ServiceStack.OrmLite.Sqlite.Mono.3.9.57/Content/sqlite/x86/sqlite3.def
  5. BIN
      servicestack/lib/ServiceStack.OrmLite.Sqlite.Mono.3.9.57/Content/sqlite/x86/sqlite3.dll
  6. BIN
      servicestack/lib/ServiceStack.OrmLite.Sqlite.Mono.3.9.57/Content/sqlite/x86/sqlite3.exe
  7. BIN
      servicestack/lib/ServiceStack.OrmLite.Sqlite.Mono.3.9.57/ServiceStack.OrmLite.Sqlite.Mono.3.9.57.nupkg
  8. 22 0
      servicestack/lib/ServiceStack.OrmLite.Sqlite.Mono.3.9.57/ServiceStack.OrmLite.Sqlite.Mono.3.9.57.nuspec
  9. BIN
      servicestack/lib/ServiceStack.OrmLite.Sqlite.Mono.3.9.57/lib/net35/Mono.Data.Sqlite.dll
  10. BIN
      servicestack/lib/ServiceStack.OrmLite.Sqlite.Mono.3.9.57/lib/net35/ServiceStack.OrmLite.Sqlite.dll
  11. BIN
      servicestack/lib/ServiceStack.OrmLite.Sqlite.Mono.3.9.57/lib/net35/ServiceStack.OrmLite.Sqlite.pdb
  12. BIN
      servicestack/lib/ServiceStack.OrmLite.Sqlite.Mono.3.9.57/lib/net35/ServiceStack.OrmLite.dll
  13. BIN
      servicestack/lib/ServiceStack.OrmLite.Sqlite.Mono.3.9.57/lib/net35/ServiceStack.OrmLite.pdb
  14. BIN
      servicestack/lib/ServiceStack.OrmLite.Sqlite.Mono.3.9.57/lib/net40/Mono.Data.Sqlite.dll
  15. BIN
      servicestack/lib/ServiceStack.OrmLite.Sqlite.Mono.3.9.57/lib/net40/ServiceStack.OrmLite.Sqlite.dll
  16. BIN
      servicestack/lib/ServiceStack.OrmLite.Sqlite.Mono.3.9.57/lib/net40/ServiceStack.OrmLite.Sqlite.pdb
  17. BIN
      servicestack/lib/ServiceStack.OrmLite.Sqlite.Mono.3.9.57/lib/net40/ServiceStack.OrmLite.dll
  18. BIN
      servicestack/lib/ServiceStack.OrmLite.Sqlite.Mono.3.9.57/lib/net40/ServiceStack.OrmLite.pdb
  19. BIN
      servicestack/lib/ServiceStack.Redis.3.9.56/ServiceStack.Redis.3.9.56.nupkg
  20. 0 22
      servicestack/lib/ServiceStack.Redis.3.9.56/ServiceStack.Redis.3.9.56.nuspec
  21. 0 1355
      servicestack/lib/ServiceStack.Redis.3.9.56/lib/net35/ServiceStack.Redis.XML
  22. BIN
      servicestack/lib/ServiceStack.Redis.3.9.56/lib/net35/ServiceStack.Redis.dll
  23. BIN
      servicestack/lib/System.Data.SQLite.x86.1.0.88.0/System.Data.SQLite.x86.1.0.88.0.nupkg
  24. 19 0
      servicestack/lib/System.Data.SQLite.x86.1.0.88.0/System.Data.SQLite.x86.1.0.88.0.nuspec
  25. BIN
      servicestack/lib/System.Data.SQLite.x86.1.0.88.0/lib/net20/System.Data.SQLite.Linq.dll
  26. BIN
      servicestack/lib/System.Data.SQLite.x86.1.0.88.0/lib/net20/System.Data.SQLite.dll
  27. BIN
      servicestack/lib/System.Data.SQLite.x86.1.0.88.0/lib/net40/System.Data.SQLite.Linq.dll
  28. BIN
      servicestack/lib/System.Data.SQLite.x86.1.0.88.0/lib/net40/System.Data.SQLite.dll
  29. BIN
      servicestack/lib/System.Data.SQLite.x86.1.0.88.0/lib/net45/System.Data.SQLite.Linq.dll
  30. BIN
      servicestack/lib/System.Data.SQLite.x86.1.0.88.0/lib/net45/System.Data.SQLite.dll
  31. 12 194
      servicestack/src/AppHost.cs
  32. 174 0
      servicestack/src/AppHostConfigHelper.cs
  33. 8 0
      servicestack/src/DbFactories/ISQLiteOrmLiteConnectionFactory.cs
  34. 14 0
      servicestack/src/DbFactories/SQLiteOrmLiteConnectionFactory.cs
  35. 11 2
      servicestack/src/Model/Fortune.cs
  36. 13 4
      servicestack/src/Model/World.cs
  37. 33 0
      servicestack/src/Properties/AssemblyInfo.cs
  38. 7 3
      servicestack/src/SelfHost/App.config
  39. 85 0
      servicestack/src/SelfHost/AppHostSelfHelper.cs
  40. 55 0
      servicestack/src/SelfHost/AppSelfHost.cs
  41. 1 7
      servicestack/src/SelfHost/Program.cs
  42. 70 8
      servicestack/src/SelfHost/ServiceStackBenchmark.SelfHost.csproj
  43. 2 2
      servicestack/src/SelfHost/app.manifest
  44. 2 1
      servicestack/src/SelfHost/packages.config
  45. BIN
      servicestack/src/SelfHost/x64/sqlite3.dll
  46. 208 0
      servicestack/src/SelfHost/x86/sqlite3.def
  47. BIN
      servicestack/src/SelfHost/x86/sqlite3.dll
  48. BIN
      servicestack/src/SelfHost/x86/sqlite3.exe
  49. 2 7
      servicestack/src/Service/MySqlService.cs
  50. 2 7
      servicestack/src/Service/PostgreSqlService.cs
  51. 174 0
      servicestack/src/Service/SQLiteService.cs
  52. 2 7
      servicestack/src/Service/SqlServerService.cs
  53. 77 2
      servicestack/src/ServiceStackBenchmark.csproj
  54. 20 0
      servicestack/src/ServiceStackBenchmark.sln
  55. 6 2
      servicestack/src/Web.config
  56. 2 0
      servicestack/src/packages.config
  57. BIN
      servicestack/src/x64/sqlite3.dll
  58. 208 0
      servicestack/src/x86/sqlite3.def
  59. BIN
      servicestack/src/x86/sqlite3.dll
  60. BIN
      servicestack/src/x86/sqlite3.exe

+ 17 - 1
servicestack/README.md

@@ -21,6 +21,13 @@
 * `http://localhost:8080/sqlserver/fortunes`
 * `http://localhost:8080/sqlserver/updates?queries=25`
 
+**[SQLite](http://www.nuget.org/packages/ServiceStack.OrmLite.Sqlite.Mono)**
+
+* `http://localhost:8080/sqlite/db`
+* `http://localhost:8080/sqlite/queries?queries=10`
+* `http://localhost:8080/sqlite/fortunes`
+* `http://localhost:8080/sqlite/updates?queries=25`
+
 **[MySQL](http://www.nuget.org/packages/ServiceStack.OrmLite.MySql)**
 
 * `http://localhost:8080/mysql/db`
@@ -69,7 +76,7 @@
 
 **Web Servers**
 
-* Self Hosted (Windows)
+* Self Hosting using HTTPListener (Windows/Linux)
 * IIS 8 (Windows)
 * nginx 1.4.0 & XSP FastCGI (Linux)
 
@@ -83,6 +90,15 @@
 * Microsoft SQL Server 2005+
 * [MySQL 5.x](http://www.nuget.org/packages/mysql.data) 
 * [PostgreSQL 7.x](http://www.nuget.org/packages/Npgsql)
+* [SQLite 1.x 32-bit](http://www.nuget.org/packages/System.Data.SQLite.x86)
+
+**Caching Providers**
+
+* In-Memory
+* Redis NoSQL Db - [redis]()  [ServiceStack package](http://www.nuget.org/packages/ServiceStack.Redis)
+* MemCache - [memcache](http://www.nuget.org/packages/EnyimMemcached)  [ServiceStack package](http://www.nuget.org/packages/ServiceStack.Caching.Memcached)
+* Amazon Web Services In-Memory DynamoDb DataCache - [aws](http://www.nuget.org/packages/AWSSDK)  [ServiceStack package](http://www.nuget.org/packages/ServiceStack.Caching.AwsDynamoDb)
+* Microsoft Azure In-Memory DataCache - [azure](http://www.nuget.org/packages/WindowsAzure.Caching)  [ServiceStack package](http://www.nuget.org/packages/ServiceStack.Caching.Azure)
 
 **Developer Tools**
 

+ 1 - 0
servicestack/lib/ServiceStack.OrmLite.MySql.3.9.57/ServiceStack.OrmLite.MySql.3.9.57.nuspec

@@ -12,6 +12,7 @@
     <requireLicenseAcceptance>false</requireLicenseAcceptance>
     <description>Light, simple and fast convention-based code-first POCO ORM for MySQL. 
 		Support for Creating and Dropping Table Schemas from POCOs, Complex Property types transparently stored in schemaless text blobs in MySQL.</description>
+    <releaseNotes />
     <copyright>ServiceStack 2013 and contributors</copyright>
     <language>en-US</language>
     <tags>MySql OrmLite POCO Code-First Orm Schema-less Blobs</tags>

BIN
servicestack/lib/ServiceStack.OrmLite.Sqlite.Mono.3.9.57/Content/sqlite/x64/sqlite3.dll


+ 208 - 0
servicestack/lib/ServiceStack.OrmLite.Sqlite.Mono.3.9.57/Content/sqlite/x86/sqlite3.def

@@ -0,0 +1,208 @@
+EXPORTS
+sqlite3_aggregate_context
+sqlite3_aggregate_count
+sqlite3_auto_extension
+sqlite3_backup_finish
+sqlite3_backup_init
+sqlite3_backup_pagecount
+sqlite3_backup_remaining
+sqlite3_backup_step
+sqlite3_bind_blob
+sqlite3_bind_double
+sqlite3_bind_int
+sqlite3_bind_int64
+sqlite3_bind_null
+sqlite3_bind_parameter_count
+sqlite3_bind_parameter_index
+sqlite3_bind_parameter_name
+sqlite3_bind_text
+sqlite3_bind_text16
+sqlite3_bind_value
+sqlite3_bind_zeroblob
+sqlite3_blob_bytes
+sqlite3_blob_close
+sqlite3_blob_open
+sqlite3_blob_read
+sqlite3_blob_reopen
+sqlite3_blob_write
+sqlite3_busy_handler
+sqlite3_busy_timeout
+sqlite3_changes
+sqlite3_clear_bindings
+sqlite3_close
+sqlite3_close_v2
+sqlite3_collation_needed
+sqlite3_collation_needed16
+sqlite3_column_blob
+sqlite3_column_bytes
+sqlite3_column_bytes16
+sqlite3_column_count
+sqlite3_column_database_name
+sqlite3_column_database_name16
+sqlite3_column_decltype
+sqlite3_column_decltype16
+sqlite3_column_double
+sqlite3_column_int
+sqlite3_column_int64
+sqlite3_column_name
+sqlite3_column_name16
+sqlite3_column_origin_name
+sqlite3_column_origin_name16
+sqlite3_column_table_name
+sqlite3_column_table_name16
+sqlite3_column_text
+sqlite3_column_text16
+sqlite3_column_type
+sqlite3_column_value
+sqlite3_commit_hook
+sqlite3_compileoption_get
+sqlite3_compileoption_used
+sqlite3_complete
+sqlite3_complete16
+sqlite3_config
+sqlite3_context_db_handle
+sqlite3_create_collation
+sqlite3_create_collation16
+sqlite3_create_collation_v2
+sqlite3_create_function
+sqlite3_create_function16
+sqlite3_create_function_v2
+sqlite3_create_module
+sqlite3_create_module_v2
+sqlite3_data_count
+sqlite3_db_config
+sqlite3_db_filename
+sqlite3_db_handle
+sqlite3_db_mutex
+sqlite3_db_readonly
+sqlite3_db_release_memory
+sqlite3_db_status
+sqlite3_declare_vtab
+sqlite3_enable_load_extension
+sqlite3_enable_shared_cache
+sqlite3_errcode
+sqlite3_errmsg
+sqlite3_errmsg16
+sqlite3_errstr
+sqlite3_exec
+sqlite3_expired
+sqlite3_extended_errcode
+sqlite3_extended_result_codes
+sqlite3_file_control
+sqlite3_finalize
+sqlite3_free
+sqlite3_free_table
+sqlite3_get_autocommit
+sqlite3_get_auxdata
+sqlite3_get_table
+sqlite3_global_recover
+sqlite3_initialize
+sqlite3_interrupt
+sqlite3_last_insert_rowid
+sqlite3_libversion
+sqlite3_libversion_number
+sqlite3_limit
+sqlite3_load_extension
+sqlite3_log
+sqlite3_malloc
+sqlite3_memory_alarm
+sqlite3_memory_highwater
+sqlite3_memory_used
+sqlite3_mprintf
+sqlite3_mutex_alloc
+sqlite3_mutex_enter
+sqlite3_mutex_free
+sqlite3_mutex_leave
+sqlite3_mutex_try
+sqlite3_next_stmt
+sqlite3_open
+sqlite3_open16
+sqlite3_open_v2
+sqlite3_os_end
+sqlite3_os_init
+sqlite3_overload_function
+sqlite3_prepare
+sqlite3_prepare16
+sqlite3_prepare16_v2
+sqlite3_prepare_v2
+sqlite3_profile
+sqlite3_progress_handler
+sqlite3_randomness
+sqlite3_realloc
+sqlite3_release_memory
+sqlite3_reset
+sqlite3_reset_auto_extension
+sqlite3_result_blob
+sqlite3_result_double
+sqlite3_result_error
+sqlite3_result_error16
+sqlite3_result_error_code
+sqlite3_result_error_nomem
+sqlite3_result_error_toobig
+sqlite3_result_int
+sqlite3_result_int64
+sqlite3_result_null
+sqlite3_result_text
+sqlite3_result_text16
+sqlite3_result_text16be
+sqlite3_result_text16le
+sqlite3_result_value
+sqlite3_result_zeroblob
+sqlite3_rollback_hook
+sqlite3_rtree_geometry_callback
+sqlite3_set_authorizer
+sqlite3_set_auxdata
+sqlite3_shutdown
+sqlite3_sleep
+sqlite3_snprintf
+sqlite3_soft_heap_limit
+sqlite3_soft_heap_limit64
+sqlite3_sourceid
+sqlite3_sql
+sqlite3_status
+sqlite3_step
+sqlite3_stmt_busy
+sqlite3_stmt_readonly
+sqlite3_stmt_status
+sqlite3_stricmp
+sqlite3_strnicmp
+sqlite3_table_column_metadata
+sqlite3_test_control
+sqlite3_thread_cleanup
+sqlite3_threadsafe
+sqlite3_total_changes
+sqlite3_trace
+sqlite3_transfer_bindings
+sqlite3_update_hook
+sqlite3_uri_boolean
+sqlite3_uri_int64
+sqlite3_uri_parameter
+sqlite3_user_data
+sqlite3_value_blob
+sqlite3_value_bytes
+sqlite3_value_bytes16
+sqlite3_value_double
+sqlite3_value_int
+sqlite3_value_int64
+sqlite3_value_numeric_type
+sqlite3_value_text
+sqlite3_value_text16
+sqlite3_value_text16be
+sqlite3_value_text16le
+sqlite3_value_type
+sqlite3_vfs_find
+sqlite3_vfs_register
+sqlite3_vfs_unregister
+sqlite3_vmprintf
+sqlite3_vsnprintf
+sqlite3_vtab_config
+sqlite3_vtab_on_conflict
+sqlite3_wal_autocheckpoint
+sqlite3_wal_checkpoint
+sqlite3_wal_checkpoint_v2
+sqlite3_wal_hook
+sqlite3_win32_mbcs_to_utf8
+sqlite3_win32_set_directory
+sqlite3_win32_sleep
+sqlite3_win32_utf8_to_mbcs
+sqlite3_win32_write_debug

BIN
servicestack/lib/ServiceStack.OrmLite.Sqlite.Mono.3.9.57/Content/sqlite/x86/sqlite3.dll


BIN
servicestack/lib/ServiceStack.OrmLite.Sqlite.Mono.3.9.57/Content/sqlite/x86/sqlite3.exe


BIN
servicestack/lib/ServiceStack.OrmLite.Sqlite.Mono.3.9.57/ServiceStack.OrmLite.Sqlite.Mono.3.9.57.nupkg


+ 22 - 0
servicestack/lib/ServiceStack.OrmLite.Sqlite.Mono.3.9.57/ServiceStack.OrmLite.Sqlite.Mono.3.9.57.nuspec

@@ -0,0 +1,22 @@
+<?xml version="1.0"?>
+<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
+  <metadata>
+    <id>ServiceStack.OrmLite.Sqlite.Mono</id>
+    <version>3.9.57</version>
+    <title>OrmLite.Sqlite - Compatible with Mono. inc. win x86/64 sqlite.dll</title>
+    <authors>Demis Bellot</authors>
+    <owners>Demis Bellot</owners>
+    <licenseUrl>https://github.com/ServiceStack/ServiceStack.OrmLite/blob/master/LICENSE</licenseUrl>
+    <projectUrl>https://github.com/ServiceStack/ServiceStack.OrmLite</projectUrl>
+    <iconUrl>http://www.servicestack.net/logo-100x100.png</iconUrl>
+    <requireLicenseAcceptance>false</requireLicenseAcceptance>
+    <description>Light, simple and fast convention-based code-first POCO ORM. Support for Creating and Dropping Table Schemas from POCOs, Complex Property types transparently stored in schemaless text blobs in Sqlite.</description>
+    <releaseNotes />
+    <copyright>ServiceStack 2013 and contributors</copyright>
+    <language>en-US</language>
+    <tags>Sqlite 32bit OrmLite POCO Code-First Orm Schema-less Blobs</tags>
+    <dependencies>
+      <dependency id="ServiceStack.Common" />
+    </dependencies>
+  </metadata>
+</package>

BIN
servicestack/lib/ServiceStack.OrmLite.Sqlite.Mono.3.9.57/lib/net35/Mono.Data.Sqlite.dll


BIN
servicestack/lib/ServiceStack.OrmLite.Sqlite.Mono.3.9.57/lib/net35/ServiceStack.OrmLite.Sqlite.dll


BIN
servicestack/lib/ServiceStack.OrmLite.Sqlite.Mono.3.9.57/lib/net35/ServiceStack.OrmLite.Sqlite.pdb


BIN
servicestack/lib/ServiceStack.OrmLite.Sqlite.Mono.3.9.57/lib/net35/ServiceStack.OrmLite.dll


BIN
servicestack/lib/ServiceStack.OrmLite.Sqlite.Mono.3.9.57/lib/net35/ServiceStack.OrmLite.pdb


BIN
servicestack/lib/ServiceStack.OrmLite.Sqlite.Mono.3.9.57/lib/net40/Mono.Data.Sqlite.dll


BIN
servicestack/lib/ServiceStack.OrmLite.Sqlite.Mono.3.9.57/lib/net40/ServiceStack.OrmLite.Sqlite.dll


BIN
servicestack/lib/ServiceStack.OrmLite.Sqlite.Mono.3.9.57/lib/net40/ServiceStack.OrmLite.Sqlite.pdb


BIN
servicestack/lib/ServiceStack.OrmLite.Sqlite.Mono.3.9.57/lib/net40/ServiceStack.OrmLite.dll


BIN
servicestack/lib/ServiceStack.OrmLite.Sqlite.Mono.3.9.57/lib/net40/ServiceStack.OrmLite.pdb


BIN
servicestack/lib/ServiceStack.Redis.3.9.56/ServiceStack.Redis.3.9.56.nupkg


+ 0 - 22
servicestack/lib/ServiceStack.Redis.3.9.56/ServiceStack.Redis.3.9.56.nuspec

@@ -1,22 +0,0 @@
-<?xml version="1.0"?>
-<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
-  <metadata>
-    <id>ServiceStack.Redis</id>
-    <version>3.9.56</version>
-    <title>C# Redis client for the Redis NoSQL DB</title>
-    <authors>Demis Bellot</authors>
-    <owners>Demis Bellot</owners>
-    <licenseUrl>https://github.com/ServiceStack/ServiceStack.Redis/blob/master/LICENSE</licenseUrl>
-    <projectUrl>https://github.com/ServiceStack/ServiceStack.Redis</projectUrl>
-    <iconUrl>http://www.servicestack.net/logo-100x100.png</iconUrl>
-    <requireLicenseAcceptance>false</requireLicenseAcceptance>
-    <description>C# Redis Client for the worlds fastest distributed NoSQL datastore. Byte[], String and POCO Typed clients.
-      Thread-Safe Basic and Pooled client managers included.</description>
-    <copyright>ServiceStack 2013 and contributors</copyright>
-    <language>en-US</language>
-    <tags>Redis NoSQL Client Distributed Cache PubSub Messaging Transactions</tags>
-    <dependencies>
-      <dependency id="ServiceStack.Common" />
-    </dependencies>
-  </metadata>
-</package>

+ 0 - 1355
servicestack/lib/ServiceStack.Redis.3.9.56/lib/net35/ServiceStack.Redis.XML

@@ -1,1355 +0,0 @@
-<?xml version="1.0"?>
-<doc>
-    <assembly>
-        <name>ServiceStack.Redis</name>
-    </assembly>
-    <members>
-        <member name="T:ServiceStack.Redis.BasicRedisClientManager">
-            <summary>
-            Provides thread-safe retrievel of redis clients since each client is a new one.
-            Allows the configuration of different ReadWrite and ReadOnly hosts
-            </summary>
-            <summary>
-            BasicRedisClientManager for ICacheClient
-            
-            For more interoperabilty I'm also implementing the ICacheClient on
-            this cache client manager which has the affect of calling 
-            GetCacheClient() for all write operations and GetReadOnlyCacheClient() 
-            for the read ones.
-            
-            This works well for master-slave replication scenarios where you have 
-            1 master that replicates to multiple read slaves.
-            </summary>
-        </member>
-        <member name="M:ServiceStack.Redis.BasicRedisClientManager.#ctor(System.Collections.Generic.IEnumerable{System.String},System.Collections.Generic.IEnumerable{System.String})">
-            <summary>
-            Hosts can be an IP Address or Hostname in the format: host[:port]
-            e.g. 127.0.0.1:6379
-            default is: localhost:6379
-            </summary>
-            <param name="readWriteHosts">The write hosts.</param>
-            <param name="readOnlyHosts">The read hosts.</param>
-        </member>
-        <member name="M:ServiceStack.Redis.BasicRedisClientManager.GetClient">
-            <summary>
-            Returns a Read/Write client (The default) using the hosts defined in ReadWriteHosts
-            </summary>
-            <returns></returns>
-        </member>
-        <member name="M:ServiceStack.Redis.BasicRedisClientManager.GetReadOnlyClient">
-            <summary>
-            Returns a ReadOnly client using the hosts defined in ReadOnlyHosts.
-            </summary>
-            <returns></returns>
-        </member>
-        <member name="P:ServiceStack.Redis.BasicRedisClientManager.NamespacePrefix">
-            <summary>
-            Gets or sets object key prefix.
-            </summary>
-        </member>
-        <member name="T:ServiceStack.Redis.BufferPool">
-            <summary>
-            Courtesy of @marcgravell
-            http://code.google.com/p/protobuf-net/source/browse/trunk/protobuf-net/BufferPool.cs
-            </summary>
-        </member>
-        <member name="T:ServiceStack.Redis.Generic.QueuedRedisTypedCommand`1">
-            <summary>
-            A complete redis command, with method to send command, receive response, and run callback on success or failure
-            </summary>
-        </member>
-        <member name="T:ServiceStack.Redis.Generic.RedisTypedClient`1">
-            <summary>
-            Allows you to get Redis value operations to operate against POCO types.
-            </summary>
-            <typeparam name="T"></typeparam>
-        </member>
-        <member name="M:ServiceStack.Redis.Generic.RedisTypedClient`1.#ctor(ServiceStack.Redis.RedisClient)">
-            <summary>
-            Use this to share the same redis connection with another
-            </summary>
-            <param name="client">The client.</param>
-        </member>
-        <member name="T:ServiceStack.Redis.RedisTypedPipeline`1">
-            <summary>
-            Pipeline for redis typed client
-            </summary>
-            <typeparam name="T"></typeparam>
-        </member>
-        <member name="T:ServiceStack.Redis.Generic.RedisTypedCommandQueue`1">
-            <summary>
-            Queue of commands for redis typed client
-            </summary>
-            <typeparam name="T"></typeparam>
-        </member>
-        <member name="T:ServiceStack.Redis.RedisQueueCompletableOperation">
-            <summary>
-            Redis operation (transaction/pipeline) that allows queued commands to be completed
-            </summary>
-        </member>
-        <member name="T:ServiceStack.Redis.Messaging.RedisMqHost">
-            <summary>
-            Creates an MQ Host that processes all messages on a single background thread. 
-            i.e. If you register 3 handlers it will only create 1 background thread.
-            
-            The same background thread that listens to the Redis MQ Subscription for new messages 
-            also cycles through each registered handler processing all pending messages one-at-a-time:
-            first in the message PriorityQ, then in the normal message InQ.
-            
-            The Start/Stop methods are idempotent i.e. It's safe to call them repeatedly on multiple threads 
-            and the Redis MQ Host will only have Started/Stopped once.
-            </summary>
-        </member>
-        <member name="P:ServiceStack.Redis.Messaging.RedisMqHost.ReplyClientFactory">
-            <summary>
-            Inject your own Reply Client Factory to handle custom Message.ReplyTo urls.
-            </summary>
-        </member>
-        <member name="T:ServiceStack.Redis.Messaging.RedisMqServer">
-            <summary>
-            Creates a Redis MQ Server that processes each message on its own background thread.
-            i.e. if you register 3 handlers it will create 7 background threads:
-              - 1 listening to the Redis MQ Subscription, getting notified of each new message
-              - 3x1 Normal InQ for each message handler
-              - 3x1 PriorityQ for each message handler
-            
-            When RedisMqServer Starts it creates a background thread subscribed to the Redis MQ Topic that
-            listens for new incoming messages. It also starts 2 background threads for each message type:
-             - 1 for processing the services Priority Queue and 1 processing the services normal Inbox Queue.
-            
-            Priority Queue's can be enabled on a message-per-message basis by specifying types in the 
-            OnlyEnablePriortyQueuesForTypes property. The DisableAllPriorityQueues property disables all Queues.
-            
-            The Start/Stop methods are idempotent i.e. It's safe to call them repeatedly on multiple threads 
-            and the Redis MQ Server will only have Started or Stopped once.
-            </summary>
-        </member>
-        <member name="P:ServiceStack.Redis.Messaging.RedisMqServer.RequestFilter">
-            <summary>
-            Execute global transformation or custom logic before a request is processed.
-            Must be thread-safe.
-            </summary>
-        </member>
-        <member name="P:ServiceStack.Redis.Messaging.RedisMqServer.ResponseFilter">
-            <summary>
-            Execute global transformation or custom logic on the response.
-            Must be thread-safe.
-            </summary>
-        </member>
-        <member name="P:ServiceStack.Redis.Messaging.RedisMqServer.ErrorHandler">
-            <summary>
-            Execute global error handler logic. Must be thread-safe.
-            </summary>
-        </member>
-        <member name="P:ServiceStack.Redis.Messaging.RedisMqServer.OnlyEnablePriortyQueuesForTypes">
-            <summary>
-            If you only want to enable priority queue handlers (and threads) for specific msg types
-            </summary>
-        </member>
-        <member name="P:ServiceStack.Redis.Messaging.RedisMqServer.DisableAllPriorityQueues">
-            <summary>
-            Don't listen on any Priority Queues
-            </summary>
-        </member>
-        <member name="M:ServiceStack.Redis.RedisClientManagerCacheClient.Dispose">
-            <summary>
-            Ignore dispose on RedisClientsManager, which should be registered as a singleton
-            </summary>
-        </member>
-        <member name="T:ServiceStack.Redis.RedisClientsManagerExtensions">
-            <summary>
-            Useful wrapper IRedisClientsManager to cut down the boiler plat of most IRedisClient access
-            </summary>
-        </member>
-        <member name="T:ServiceStack.Redis.Pipeline.QueuedRedisCommand">
-            <summary>
-            A complete redis command, with method to send command, receive response, and run callback on success or failure
-            </summary>
-        </member>
-        <member name="T:ServiceStack.Redis.RedisCommand">
-            <summary>
-            Redis command that does not get queued
-            </summary>
-        </member>
-        <member name="T:ServiceStack.Redis.RedisClient">
-            <summary>
-            The client wraps the native redis operations into a more readable c# API.
-            
-            Where possible these operations are also exposed in common c# interfaces, 
-            e.g. RedisClient.Lists => IList[string]
-            	 RedisClient.Sets => ICollection[string]
-            </summary>
-        </member>
-        <member name="T:ServiceStack.Redis.RedisNativeClient">
-            <summary>
-            This class contains all the common operations for the RedisClient.
-            The client contains a 1:1 mapping of c# methods to redis operations of the same name.
-            
-            Not threadsafe use a pooled manager
-            </summary>
-        </member>
-        <member name="M:ServiceStack.Redis.RedisNativeClient.Exec">
-            <summary>
-            Requires custom result parsing
-            </summary>
-            <returns>Number of results</returns>
-        </member>
-        <member name="M:ServiceStack.Redis.RedisNativeClient.SendCommand(System.Byte[][])">
-            <summary>
-            Command to set multuple binary safe arguments
-            </summary>
-            <param name="cmdWithBinaryArgs"></param>
-            <returns></returns>
-        </member>
-        <member name="M:ServiceStack.Redis.RedisNativeClient.ResetSendBuffer">
-            <summary>
-            reset buffer index in send buffer
-            </summary>
-        </member>
-        <member name="P:ServiceStack.Redis.RedisNativeClient.Active">
-            <summary>
-            Used to manage connection pooling
-            </summary>
-        </member>
-        <member name="P:ServiceStack.Redis.RedisNativeClient.NamespacePrefix">
-            <summary>
-            Gets or sets object key prefix.
-            </summary>
-        </member>
-        <member name="M:ServiceStack.Redis.RedisClient.New">
-            <summary>
-            Creates a new instance of the Redis Client from NewFactoryFn. 
-            </summary>
-        </member>
-        <member name="M:ServiceStack.Redis.RedisClient.UrnKey``1(``0)">
-            <summary>
-            Returns key with automatic object id detection in provided value with <typeparam name="T">generic type</typeparam>.
-            </summary>
-            <param name="value"></param>
-            <returns></returns>
-        </member>
-        <member name="M:ServiceStack.Redis.RedisClient.UrnKey``1(System.Object)">
-            <summary>
-            Returns key with explicit object id.
-            </summary>
-            <param name="id"></param>
-            <returns></returns>
-        </member>
-        <member name="M:ServiceStack.Redis.RedisClient.UrnKey(System.Type,System.Object)">
-            <summary>
-            Returns key with explicit object type and id.
-            </summary>
-            <param name="type"></param>
-            <param name="id"></param>
-            <returns></returns>
-        </member>
-        <member name="T:ServiceStack.Redis.ShardedConnectionPool">
-            <summary>
-            Provides a redis connection pool that can be sharded
-            </summary>
-        </member>
-        <member name="T:ServiceStack.Redis.PooledRedisClientManager">
-            <summary>
-            For interoperabilty GetCacheClient() and GetReadOnlyCacheClient()
-            return an ICacheClient wrapper around the redis manager which has the affect of calling 
-            GetClient() for all write operations and GetReadOnlyClient() for the read ones.
-            
-            This works well for master-slave replication scenarios where you have 
-            1 master that replicates to multiple read slaves.
-            </summary>
-            <summary>
-            Provides thread-safe pooling of redis client connections.
-            Allows load-balancing of master-write and read-slave hosts, ideal for
-            1 master and multiple replicated read slaves.
-            </summary>
-        </member>
-        <member name="M:ServiceStack.Redis.PooledRedisClientManager.#ctor(System.Collections.Generic.IEnumerable{System.String},System.Collections.Generic.IEnumerable{System.String},ServiceStack.Redis.RedisClientManagerConfig)">
-            <summary>
-            Hosts can be an IP Address or Hostname in the format: host[:port]
-            e.g. 127.0.0.1:6379
-            default is: localhost:6379
-            </summary>
-            <param name="readWriteHosts">The write hosts.</param>
-            <param name="readOnlyHosts">The read hosts.</param>
-            <param name="config">The config.</param>
-        </member>
-        <member name="M:ServiceStack.Redis.PooledRedisClientManager.GetClient">
-            <summary>
-            Returns a Read/Write client (The default) using the hosts defined in ReadWriteHosts
-            </summary>
-            <returns></returns>
-        </member>
-        <member name="M:ServiceStack.Redis.PooledRedisClientManager.GetInActiveWriteClient">
-            <summary>
-            Called within a lock
-            </summary>
-            <returns></returns>
-        </member>
-        <member name="M:ServiceStack.Redis.PooledRedisClientManager.GetReadOnlyClient">
-            <summary>
-            Returns a ReadOnly client using the hosts defined in ReadOnlyHosts.
-            </summary>
-            <returns></returns>
-        </member>
-        <member name="M:ServiceStack.Redis.PooledRedisClientManager.GetInActiveReadClient">
-            <summary>
-            Called within a lock
-            </summary>
-            <returns></returns>
-        </member>
-        <member name="M:ServiceStack.Redis.PooledRedisClientManager.DisposeReadOnlyClient(ServiceStack.Redis.RedisNativeClient)">
-            <summary>
-            Disposes the read only client.
-            </summary>
-            <param name="client">The client.</param>
-        </member>
-        <member name="M:ServiceStack.Redis.PooledRedisClientManager.DisposeWriteClient(ServiceStack.Redis.RedisNativeClient)">
-            <summary>
-            Disposes the write client.
-            </summary>
-            <param name="client">The client.</param>
-        </member>
-        <member name="P:ServiceStack.Redis.PooledRedisClientManager.NamespacePrefix">
-            <summary>
-            Gets or sets object key prefix.
-            </summary>
-        </member>
-        <member name="T:ServiceStack.Redis.PooledRedisClientManager.DisposablePooledClient`1">
-            <summary>
-            Manage a client acquired from the PooledRedisClientManager
-            Dispose method will release the client back to the pool.
-            </summary>
-        </member>
-        <member name="M:ServiceStack.Redis.PooledRedisClientManager.DisposablePooledClient`1.#ctor(ServiceStack.Redis.PooledRedisClientManager)">
-            <summary>
-            wrap the acquired client
-            </summary>
-            <param name="clientManager"></param>
-        </member>
-        <member name="M:ServiceStack.Redis.PooledRedisClientManager.DisposablePooledClient`1.Dispose">
-            <summary>
-            release the wrapped client back to the pool
-            </summary>
-        </member>
-        <member name="P:ServiceStack.Redis.PooledRedisClientManager.DisposablePooledClient`1.Client">
-            <summary>
-            access the wrapped client
-            </summary>
-        </member>
-        <member name="F:ServiceStack.Redis.ShardedConnectionPool.name">
-            <summary>
-            logical name
-            </summary>
-        </member>
-        <member name="F:ServiceStack.Redis.ShardedConnectionPool.weight">
-            <summary>
-            An arbitrary weight relative to other nodes
-            </summary>
-        </member>
-        <member name="M:ServiceStack.Redis.ShardedConnectionPool.#ctor(System.String,System.Int32,System.String[])">
-            <param name="name">logical name</param>
-            <param name="weight">An arbitrary weight relative to other nodes</param>
-            <param name="readWriteHosts">redis nodes</param>
-        </member>
-        <member name="T:ServiceStack.Redis.ShardedRedisClientManager">
-            <summary>
-            Provides sharding of redis client connections.
-            uses consistent hashing to distribute keys across connection pools
-            </summary>
-        </member>
-        <member name="M:ServiceStack.Redis.ShardedRedisClientManager.GetConnectionPool(System.String)">
-            <summary>
-            maps a key to a redis connection pool
-            </summary>
-            <param name="key">key to map</param>
-            <returns>a redis connection pool</returns>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.ConsistentHash`1.AddTarget(`0,System.Int32)">
-            <summary>
-             Adds a node and maps points across the circle
-            </summary>
-            <param name="node"> node to add </param>
-            <param name="weight"> An arbitrary number, specifies how often it occurs relative to other targets. </param>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.ConsistentHash`1.ModifiedBinarySearch(System.UInt64[],System.UInt64)">
-            <summary>
-              A variation of Binary Search algorithm. Given a number, matches the next highest number from the sorted array. 
-              If a higher number does not exist, then the first number in the array is returned.
-            </summary>
-            <param name="sortedArray"> a sorted array to perform the search </param>
-            <param name="val"> number to find the next highest number against </param>
-            <returns> next highest number </returns>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.ConsistentHash`1.Md5Hash(System.String)">
-            <summary>
-              Given a key, generates an unsigned 64 bit hash code using MD5
-            </summary>
-            <param name="key"> </param>
-            <returns> </returns>
-        </member>
-        <member name="T:ServiceStack.Redis.Support.Locking.IDistributedLock">
-            <summary>
-            Distributed lock interface
-            </summary>
-        </member>
-        <member name="T:ServiceStack.Redis.Support.OptimizedObjectSerializer">
-            <summary>
-            Optimized  <see cref="T:ServiceStack.Redis.Support.ISerializer"/> implementation. Primitive types are manually serialized, the rest are serialized using binary serializer /&gt;.
-            </summary>
-        </member>
-        <member name="T:ServiceStack.Redis.Support.ObjectSerializer">
-            <summary>
-            serialize/deserialize arbitrary objects
-            (objects must be serializable)
-            </summary>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.ObjectSerializer.Serialize(System.Object)">
-            <summary>
-             Serialize object to buffer
-            </summary>
-            <param name="value">serializable object</param>
-            <returns></returns>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.ObjectSerializer.Deserialize(System.Byte[])">
-            <summary>
-                Deserialize buffer to object
-            </summary>
-            <param name="someBytes">byte array to deserialize</param>
-            <returns></returns>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.OptimizedObjectSerializer.Serialize(System.Object)">
-            <summary>
-            
-            </summary>
-            <param name="value"></param>
-            <returns></returns>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.OptimizedObjectSerializer.Deserialize(System.Byte[])">
-            <summary>
-            
-            </summary>
-            <param name="someBytes"></param>
-            <returns></returns>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.OptimizedObjectSerializer.SerializeToWrapper(System.Object)">
-            <summary>
-            serialize value and wrap with <see cref="T:ServiceStack.Redis.Support.SerializedObjectWrapper"/>
-            </summary>
-            <param name="value"></param>
-            <returns></returns>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.OptimizedObjectSerializer.Unwrap(ServiceStack.Redis.Support.SerializedObjectWrapper)">
-            <summary>
-            Unwrap object wrapped in <see cref="T:ServiceStack.Redis.Support.SerializedObjectWrapper"/>
-            </summary>
-            <param name="item"></param>
-            <returns></returns>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.Queue.ISequentialData`1.PopAndUnlock">
-            <summary>
-            pop numProcessed items from queue and unlock queue for work item id that dequeued
-            items are associated with
-            </summary>
-            <returns></returns>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.Queue.ISequentialData`1.DoneProcessedWorkItem">
-            <summary>
-            A dequeued work item has been processed. When all of the dequeued items have been processed,
-            all items will be popped from the queue,and the queue unlocked for the work item id that
-            the dequeued items are associated with
-            </summary>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.Queue.ISequentialData`1.UpdateNextUnprocessed(`0)">
-            <summary>
-            Update first unprocessed item with new work item.
-            </summary>
-            <param name="newWorkItem"></param>
-        </member>
-        <member name="P:ServiceStack.Redis.Support.Queue.ISequentialData`1.DequeueItems">
-            <summary>
-            
-            </summary>
-        </member>
-        <member name="T:ServiceStack.Redis.Support.Queue.Implementation.RedisSequentialWorkQueue`1">
-            <summary>
-            distributed work item queue. Each message must have an associated
-            work item  id. For a given id, all work items are guaranteed to be processed
-            in the order in which they are received.
-            
-            
-            </summary>
-            <summary>
-            distributed work item queue. Each message must have an associated
-            work item  id. For a given id, all work items are guaranteed to be processed
-            in the order in which they are received.
-            
-            
-            </summary>
-        </member>
-        <member name="T:ServiceStack.Redis.Support.Queue.Implementation.RedisWorkQueue`1">
-            <summary>
-            distributed work item queue
-            </summary>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.Queue.ISequentialWorkQueue`1.Enqueue(System.String,`0)">
-            <summary>
-            Enqueue item in priority queue corresponding to workItemId identifier
-            </summary>
-            <param name="workItemId"></param>
-            <param name="workItem"></param>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.Queue.ISequentialWorkQueue`1.PrepareNextWorkItem">
-            <summary>
-            Preprare next work item id for dequeueing
-            </summary>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.Queue.ISequentialWorkQueue`1.Dequeue(System.Int32)">
-            <summary>
-            Dequeue up to maxBatchSize items from queue corresponding to workItemId identifier.
-            Once this method is called, <see cref="M:ServiceStack.Redis.Support.Queue.ISequentialWorkQueue`1.Dequeue(System.Int32)"/> or <see cref="!:Peek"/> will not
-            return any items for workItemId until the dequeue lock returned is unlocked.
-            </summary>
-            <param name="maxBatchSize"></param>
-            <param name="defer"></param>
-            <returns></returns>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.Queue.ISequentialWorkQueue`1.Update(System.String,System.Int32,`0)">
-            <summary>
-            Replace existing work item in workItemId queue
-            </summary>
-            <param name="workItemId"></param>
-            <param name="index"></param>
-            <param name="newWorkItem"></param>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.Queue.Implementation.RedisSequentialWorkQueue`1.Enqueue(System.String,`0)">
-            <summary>
-            Queue incoming messages
-            </summary>
-            <param name="workItem"></param>
-            <param name="workItemId"></param>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.Queue.Implementation.RedisSequentialWorkQueue`1.PrepareNextWorkItem">
-            <summary>
-            Must call this periodically to move work items from priority queue to pending queue
-            </summary>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.Queue.Implementation.RedisSequentialWorkQueue`1.Update(System.String,System.Int32,`0)">
-            <summary>
-            Replace existing work item in workItemId queue
-            </summary>
-            <param name="workItemId"></param>
-            <param name="index"></param>
-            <param name="newWorkItem"></param>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.Queue.Implementation.RedisSequentialWorkQueue`1.Pop(System.String,System.Int32)">
-            <summary>
-            Pop items from list
-            </summary>
-            <param name="workItemId"></param>
-            <param name="itemCount"></param>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.Queue.Implementation.RedisSequentialWorkQueue`1.HarvestZombies">
-            <summary>
-            Force release of locks held by crashed servers
-            </summary>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.Queue.Implementation.RedisSequentialWorkQueue`1.TryForceReleaseLock(ServiceStack.Redis.Support.Queue.Implementation.SerializingRedisClient,System.String)">
-            <summary>
-            release lock held by crashed server
-            </summary>
-            <param name="client"></param>
-            <param name="workItemId"></param>
-            <returns>true if lock is released, either by this method or by another client; false otherwise</returns>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.Queue.Implementation.RedisSequentialWorkQueue`1.Unlock(System.String)">
-            <summary>
-            Unlock work item id, so other servers can process items for this id
-            </summary>
-            <param name="workItemId"></param>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.Queue.Implementation.RedisSequentialWorkQueue`1.DequeueManager.UpdateNextUnprocessed(`0)">
-            <summary>
-            
-            </summary>
-            <param name="newWorkItem"></param>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.Queue.Implementation.RedisSequentialWorkQueue`1.DequeueManager.PopAndUnlock(System.Int32,ServiceStack.Redis.IRedisClient)">
-            <summary>
-            
-            </summary>
-            <param name="numProcessed"></param>
-            <param name="client"></param>
-            <returns></returns>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.Queue.Implementation.RedisSequentialWorkQueue`1.DequeueManager.PopAndUnlock(System.Int32)">
-            <summary>
-            
-            </summary>
-            <param name="numProcessed"></param>
-            <returns></returns>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.Queue.Implementation.SequentialData`1.PopAndUnlock">
-            <summary>
-            pop remaining items that were returned by dequeue, and unlock queue
-            </summary>
-            <returns></returns>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.Queue.Implementation.SequentialData`1.DoneProcessedWorkItem">
-            <summary>
-            indicate that an item has been processed by the caller
-            </summary>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.Queue.Implementation.SequentialData`1.UpdateNextUnprocessed(`0)">
-            <summary>
-            Update first unprocessed work item
-            </summary>
-            <param name="newWorkItem"></param>
-        </member>
-        <member name="T:ServiceStack.Redis.Support.SerializedObjectWrapper">
-            <summary>
-            wraps a serialized representation of an object
-            </summary>
-            
-        </member>
-        <member name="M:ServiceStack.Redis.Support.SerializedObjectWrapper.#ctor(System.UInt16,System.ArraySegment{System.Byte})">
-            <summary>
-            Initializes a new instance of <see cref="T:ServiceStack.Redis.Support.SerializedObjectWrapper"/>.
-            </summary>
-            <param name="flags">Custom item data.</param>
-            <param name="data">The serialized item.</param>
-        </member>
-        <member name="P:ServiceStack.Redis.Support.SerializedObjectWrapper.Data">
-            <summary>
-            The data representing the item being stored/retireved.
-            </summary>
-        </member>
-        <member name="P:ServiceStack.Redis.Support.SerializedObjectWrapper.Flags">
-            <summary>
-            Flags set for this instance.
-            </summary>
-        </member>
-        <member name="T:ServiceStack.Redis.Support.Locking.DisposableDistributedLock">
-            <summary>
-            distributed lock class that follows the Resource Allocation Is Initialization pattern
-            </summary>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.Locking.DisposableDistributedLock.#ctor(ServiceStack.Redis.IRedisClient,System.String,System.Int32,System.Int32)">
-            <summary>
-            Lock
-            </summary>
-            <param name="client"></param>
-            <param name="globalLockKey"></param>
-            <param name="acquisitionTimeout">in seconds</param>
-            <param name="lockTimeout">in seconds</param>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.Locking.DisposableDistributedLock.Dispose">
-            <summary>
-            unlock
-            </summary>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.Queue.ISimpleWorkQueue`1.Enqueue(`0)">
-            <summary>
-            Enqueue item
-            </summary>
-            <param name="workItem"></param>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.Queue.ISimpleWorkQueue`1.Dequeue(System.Int32)">
-            <summary>
-            Dequeue up to maxBatchSize items from queue
-            </summary>
-            <param name="maxBatchSize"></param>
-            <returns></returns>
-        </member>
-        <member name="T:ServiceStack.Redis.Support.Queue.Implementation.RedisChronologicalWorkQueue`1">
-            <summary>
-            distributed work item queue. Messages are processed in chronological order
-            </summary>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.Queue.Implementation.RedisChronologicalWorkQueue`1.Enqueue(System.String,`0,System.Double)">
-            <summary>
-            Enqueue incoming messages
-            </summary>
-            <param name="workItem"></param>
-            <param name="workItemId"></param>
-            <param name="time"></param>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.Queue.Implementation.RedisChronologicalWorkQueue`1.Dequeue(System.Double,System.Double,System.Int32)">
-            <summary>
-            Dequeue next batch of work items
-            </summary>
-            <param name="minTime"></param>
-            <param name="maxTime"></param>
-            <param name="maxBatchSize"></param>
-            <returns></returns>
-        </member>
-        <member name="T:ServiceStack.Redis.Support.Queue.Implementation.RedisSimpleWorkQueue`1">
-            <summary>
-            simple distributed work item queue 
-            
-            
-            </summary>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.Queue.Implementation.RedisSimpleWorkQueue`1.Enqueue(`0)">
-            <summary>
-            Queue incoming messages
-            </summary>
-            <param name="msg"></param>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.Queue.Implementation.RedisSimpleWorkQueue`1.Dequeue(System.Int32)">
-            <summary>
-            Dequeue next batch of work items for processing. After this method is called,
-            no other work items with same id will be available for
-            dequeuing until PostDequeue is called
-            </summary>
-            <returns>KeyValuePair: key is work item id, and value is list of dequeued items.
-            </returns>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.Queue.Implementation.SerializingRedisClient.Serialize(System.Object)">
-            <summary>
-             Serialize object to buffer
-            </summary>
-            <param name="value">serializable object</param>
-            <returns></returns>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.Queue.Implementation.SerializingRedisClient.Serialize(System.Object[])">
-            <summary>
-            
-            </summary>
-            <param name="values">array of serializable objects</param>
-            <returns></returns>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.Queue.Implementation.SerializingRedisClient.Deserialize(System.Byte[])">
-            <summary>
-             Deserialize buffer to object
-            </summary>
-            <param name="someBytes">byte array to deserialize</param>
-            <returns></returns>
-        </member>
-        <!-- Badly formed XML comment ignored for member "M:ServiceStack.Redis.Support.Queue.Implementation.SerializingRedisClient.Deserialize(System.Byte[][])" -->
-        <member name="P:ServiceStack.Redis.Support.Queue.Implementation.SerializingRedisClient.Serializer">
-            <summary>
-            customize the client serializer
-            </summary>
-        </member>
-        <member name="T:ServiceStack.Redis.Support.Queue.Implementation.SerializingRedisClientFactory">
-            <summary>
-            Factory to create SerializingRedisClient objects
-            </summary>
-        </member>
-        <member name="T:ServiceStack.Redis.RedisCommandQueue">
-            <summary>
-            </summary>
-        </member>
-        <member name="M:ServiceStack.Redis.RedisAllPurposePipeline.#ctor(ServiceStack.Redis.RedisClient)">
-            <summary>
-            General purpose pipeline
-            </summary>
-            <param name="redisClient"></param>
-        </member>
-        <member name="M:ServiceStack.Redis.RedisAllPurposePipeline.Flush">
-            <summary>
-            Flush send buffer, and read responses
-            </summary>
-        </member>
-        <member name="T:ServiceStack.Redis.Generic.RedisClientHash`2">
-            <summary>
-            Wrap the common redis set operations under a ICollection[string] interface.
-            </summary>
-        </member>
-        <member name="T:ServiceStack.Redis.Generic.RedisTypedTransaction`1">
-            <summary>
-            Adds support for Redis Transactions (i.e. MULTI/EXEC/DISCARD operations).
-            </summary>
-        </member>
-        <member name="M:ServiceStack.Redis.Generic.RedisTypedTransaction`1.QueueExpectQueued">
-            <summary>
-            Put "QUEUED" messages at back of queue
-            </summary>
-            <param name="queued"></param>
-        </member>
-        <member name="M:ServiceStack.Redis.Generic.RedisTypedTransaction`1.Exec">
-            <summary>
-            Issue exec command (not queued)
-            </summary>
-        </member>
-        <member name="M:ServiceStack.Redis.Generic.RedisTypedTransaction`1.handleMultiDataResultCount(System.Int32)">
-            <summary>
-            callback for after result count is read in
-            </summary>
-            <param name="count"></param>
-        </member>
-        <member name="T:ServiceStack.Redis.Generic.RedisClientSortedSet`1">
-            <summary>
-            Wrap the common redis set operations under a ICollection[string] interface.
-            </summary>
-        </member>
-        <member name="T:ServiceStack.Redis.RedisClientHash">
-            <summary>
-            Wrap the common redis set operations under a ICollection[string] interface.
-            </summary>
-        </member>
-        <member name="T:ServiceStack.Redis.RedisClientSortedSet">
-            <summary>
-            Wrap the common redis set operations under a ICollection[string] interface.
-            </summary>
-        </member>
-        <member name="T:ServiceStack.Redis.Messaging.RedisTransientMessageFactory">
-            <summary>
-            Transient message queues are a one-pass message queue service that starts
-            processing messages when Start() is called. Any subsequent Start() calls 
-            while the service is running is ignored.
-            
-            The transient service will continue to run until all messages have been 
-            processed after which time it will shutdown all processing until Start() is called again.
-            </summary>
-        </member>
-        <member name="T:ServiceStack.Redis.RedisException">
-            <summary>
-            Redis-specific exception. Thrown if unable to connect to Redis server due to socket exception, for example.
-            </summary>
-        </member>
-        <member name="T:ServiceStack.Redis.RedisTransaction">
-            <summary>
-            Adds support for Redis Transactions (i.e. MULTI/EXEC/DISCARD operations).
-            </summary>
-        </member>
-        <member name="M:ServiceStack.Redis.RedisTransaction.QueueExpectQueued">
-            <summary>
-            Put "QUEUED" messages at back of queue
-            </summary>
-            <param name="queued"></param>
-        </member>
-        <member name="M:ServiceStack.Redis.RedisTransaction.Exec">
-            <summary>
-            Issue exec command (not queued)
-            </summary>
-        </member>
-        <member name="M:ServiceStack.Redis.RedisTransaction.handleMultiDataResultCount(System.Int32)">
-            <summary>
-            callback for after result count is read in
-            </summary>
-            <param name="count"></param>
-        </member>
-        <member name="T:ServiceStack.Redis.RedisClientFactory">
-            <summary>
-            Provide the default factory implementation for creating a RedisClient that 
-            can be mocked and used by different 'Redis Client Managers' 
-            </summary>
-        </member>
-        <member name="T:ServiceStack.Redis.Generic.RedisClientSet`1">
-            <summary>
-            Wrap the common redis set operations under a ICollection[string] interface.
-            </summary>
-        </member>
-        <member name="T:ServiceStack.Redis.RedisCacheClientFactory">
-            <summary>
-            Provide the factory implementation for creating a RedisCacheClient that 
-            can be mocked and used by different 'Redis Client Managers' 
-            </summary>
-        </member>
-        <member name="T:ServiceStack.Redis.RedisClientSet">
-            <summary>
-            Wrap the common redis set operations under a ICollection[string] interface.
-            </summary>
-        </member>
-        <member name="T:ServiceStack.Redis.RedisClientList">
-            <summary>
-            Wrap the common redis list operations under a IList[string] interface.
-            </summary>
-        </member>
-        <member name="T:ServiceStack.Redis.Support.IOrderedDictionary`2">
-            <summary>
-            Represents a generic collection of key/value pairs that are ordered independently of the key and value.
-            </summary>
-            <typeparam name="TKey">The type of the keys in the dictionary</typeparam>
-            <typeparam name="TValue">The type of the values in the dictionary</typeparam>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.IOrderedDictionary`2.Add(`0,`1)">
-            <summary>
-            Adds an entry with the specified key and value into the <see cref="T:ServiceStack.Redis.Support.IOrderedDictionary`2">IOrderedDictionary&lt;TKey,TValue&gt;</see> collection with the lowest available index.
-            </summary>
-            <param name="key">The key of the entry to add.</param>
-            <param name="value">The value of the entry to add.</param>
-            <returns>The index of the newly added entry</returns>
-            <remarks>
-            <para>You can also use the <see cref="P:System.Collections.Generic.IDictionary{TKey,TValue}.Item(TKey)"/> property to add new elements by setting the value of a key that does not exist in the <see cref="T:ServiceStack.Redis.Support.IOrderedDictionary`2">IOrderedDictionary&lt;TKey,TValue&gt;</see> collection; however, if the specified key already exists in the <see cref="T:ServiceStack.Redis.Support.IOrderedDictionary`2">IOrderedDictionary&lt;TKey,TValue&gt;</see>, setting the <see cref="P:Item(TKey)"/> property overwrites the old value. In contrast, the <see cref="M:Add"/> method does not modify existing elements.</para></remarks>
-            <exception cref="T:System.ArgumentException">An element with the same key already exists in the <see cref="T:ServiceStack.Redis.Support.IOrderedDictionary`2">IOrderedDictionary&lt;TKey,TValue&gt;</see></exception>
-            <exception cref="T:System.NotSupportedException">The <see cref="T:ServiceStack.Redis.Support.IOrderedDictionary`2">IOrderedDictionary&lt;TKey,TValue&gt;</see> is read-only.<br/>
-            -or-<br/>
-            The <see cref="T:ServiceStack.Redis.Support.IOrderedDictionary`2">IOrderedDictionary&lt;TKey,TValue&gt;</see> has a fized size.</exception>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.IOrderedDictionary`2.Insert(System.Int32,`0,`1)">
-            <summary>
-            Inserts a new entry into the <see cref="T:ServiceStack.Redis.Support.IOrderedDictionary`2">IOrderedDictionary&lt;TKey,TValue&gt;</see> collection with the specified key and value at the specified index.
-            </summary>
-            <param name="index">The zero-based index at which the element should be inserted.</param>
-            <param name="key">The key of the entry to add.</param>
-            <param name="value">The value of the entry to add. The value can be <null/> if the type of the values in the dictionary is a reference type.</param>
-            <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="index"/> is less than 0.<br/>
-            -or-<br/>
-            <paramref name="index"/> is greater than <see cref="P:System.Collections.ICollection.Count"/>.</exception>
-            <exception cref="T:System.ArgumentException">An element with the same key already exists in the <see cref="T:ServiceStack.Redis.Support.IOrderedDictionary`2">IOrderedDictionary&lt;TKey,TValue&gt;</see>.</exception>
-            <exception cref="T:System.NotSupportedException">The <see cref="T:ServiceStack.Redis.Support.IOrderedDictionary`2">IOrderedDictionary&lt;TKey,TValue&gt;</see> is read-only.<br/>
-            -or-<br/>
-            The <see cref="T:ServiceStack.Redis.Support.IOrderedDictionary`2">IOrderedDictionary&lt;TKey,TValue&gt;</see> has a fized size.</exception>
-        </member>
-        <member name="P:ServiceStack.Redis.Support.IOrderedDictionary`2.Item(System.Int32)">
-            <summary>
-            Gets or sets the value at the specified index.
-            </summary>
-            <param name="index">The zero-based index of the value to get or set.</param>
-            <value>The value of the item at the specified index.</value>
-            <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="index"/> is less than 0.<br/>
-            -or-<br/>
-            <paramref name="index"/> is equal to or greater than <see cref="P:System.Collections.ICollection.Count"/>.</exception>
-        </member>
-        <member name="T:ServiceStack.Redis.Support.OrderedDictionary`2">
-            <summary>
-            Represents a generic collection of key/value pairs that are ordered independently of the key and value.
-            </summary>
-            <typeparam name="TKey">The type of the keys in the dictionary</typeparam>
-            <typeparam name="TValue">The type of the values in the dictionary</typeparam>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.OrderedDictionary`2.#ctor">
-            <summary>
-            Initializes a new instance of the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see> class.
-            </summary>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.OrderedDictionary`2.#ctor(System.Int32)">
-            <summary>
-            Initializes a new instance of the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see> class using the specified initial capacity.
-            </summary>
-            <param name="capacity">The initial number of elements that the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see> can contain.</param>
-            <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="capacity"/> is less than 0</exception>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.OrderedDictionary`2.#ctor(System.Collections.Generic.IEqualityComparer{`0})">
-            <summary>
-            Initializes a new instance of the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see> class using the specified comparer.
-            </summary>
-            <param name="comparer">The <see cref="T:System.Collections.Generic.IEqualityComparer`1">IEqualityComparer&lt;TKey&gt;</see> to use when comparing keys, or <null/> to use the default <see cref="T:System.Collections.Generic.EqualityComparer`1">EqualityComparer&lt;TKey&gt;</see> for the type of the key.</param>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.OrderedDictionary`2.#ctor(System.Int32,System.Collections.Generic.IEqualityComparer{`0})">
-            <summary>
-            Initializes a new instance of the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see> class using the specified initial capacity and comparer.
-            </summary>
-            <param name="capacity">The initial number of elements that the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see> collection can contain.</param>
-            <param name="comparer">The <see cref="T:System.Collections.Generic.IEqualityComparer`1">IEqualityComparer&lt;TKey&gt;</see> to use when comparing keys, or <null/> to use the default <see cref="T:System.Collections.Generic.EqualityComparer`1">EqualityComparer&lt;TKey&gt;</see> for the type of the key.</param>
-            <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="capacity"/> is less than 0</exception>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.OrderedDictionary`2.ConvertToKeyType(System.Object)">
-            <summary>
-            Converts the object passed as a key to the key type of the dictionary
-            </summary>
-            <param name="keyObject">The key object to check</param>
-            <returns>The key object, cast as the key type of the dictionary</returns>
-            <exception cref="T:System.ArgumentNullException"><paramref name="keyObject"/> is <null/>.</exception>
-            <exception cref="T:System.ArgumentException">The key type of the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see> is not in the inheritance hierarchy of <paramref name="keyObject"/>.</exception>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.OrderedDictionary`2.ConvertToValueType(System.Object)">
-            <summary>
-            Converts the object passed as a value to the value type of the dictionary
-            </summary>
-            <param name="value">The object to convert to the value type of the dictionary</param>
-            <returns>The value object, converted to the value type of the dictionary</returns>
-            <exception cref="T:System.ArgumentNullException"><paramref name="valueObject"/> is <null/>, and the value type of the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see> is a value type.</exception>
-            <exception cref="T:System.ArgumentException">The value type of the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see> is not in the inheritance hierarchy of <paramref name="valueObject"/>.</exception>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.OrderedDictionary`2.Insert(System.Int32,`0,`1)">
-            <summary>
-            Inserts a new entry into the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see> collection with the specified key and value at the specified index.
-            </summary>
-            <param name="index">The zero-based index at which the element should be inserted.</param>
-            <param name="key">The key of the entry to add.</param>
-            <param name="value">The value of the entry to add. The value can be <null/> if the type of the values in the dictionary is a reference type.</param>
-            <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="index"/> is less than 0.<br/>
-            -or-<br/>
-            <paramref name="index"/> is greater than <see cref="P:ServiceStack.Redis.Support.OrderedDictionary`2.Count"/>.</exception>
-            <exception cref="T:System.ArgumentNullException"><paramref name="key"/> is <null/>.</exception>
-            <exception cref="T:System.ArgumentException">An element with the same key already exists in the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see>.</exception>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.OrderedDictionary`2.System#Collections#Specialized#IOrderedDictionary#Insert(System.Int32,System.Object,System.Object)">
-            <summary>
-            Inserts a new entry into the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see> collection with the specified key and value at the specified index.
-            </summary>
-            <param name="index">The zero-based index at which the element should be inserted.</param>
-            <param name="key">The key of the entry to add.</param>
-            <param name="value">The value of the entry to add. The value can be <null/> if the type of the values in the dictionary is a reference type.</param>
-            <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="index"/> is less than 0.<br/>
-            -or-<br/>
-            <paramref name="index"/> is greater than <see cref="P:ServiceStack.Redis.Support.OrderedDictionary`2.Count"/>.</exception>
-            <exception cref="T:System.ArgumentNullException"><paramref name="key"/> is <null/>.<br/>
-            -or-<br/>
-            <paramref name="value"/> is <null/>, and the value type of the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see> is a value type.</exception>
-            <exception cref="T:System.ArgumentException">The key type of the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see> is not in the inheritance hierarchy of <paramref name="key"/>.<br/>
-            -or-<br/>
-            The value type of the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see> is not in the inheritance hierarchy of <paramref name="value"/>.<br/>
-            -or-<br/>
-            An element with the same key already exists in the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see>.</exception>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.OrderedDictionary`2.RemoveAt(System.Int32)">
-            <summary>
-            Removes the entry at the specified index from the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see> collection.
-            </summary>
-            <param name="index">The zero-based index of the entry to remove.</param>
-            <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="index"/> is less than 0.<br/>
-            -or-<br/>
-            index is equal to or greater than <see cref="P:ServiceStack.Redis.Support.OrderedDictionary`2.Count"/>.</exception>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.OrderedDictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Add(`0,`1)">
-            <summary>
-            Adds an entry with the specified key and value into the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see> collection with the lowest available index.
-            </summary>
-            <param name="key">The key of the entry to add.</param>
-            <param name="value">The value of the entry to add. This value can be <null/>.</param>
-            <remarks>A key cannot be <null/>, but a value can be.
-            <para>You can also use the <see cref="P:OrderedDictionary{TKey,TValue}.Item(TKey)"/> property to add new elements by setting the value of a key that does not exist in the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see> collection; however, if the specified key already exists in the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see>, setting the <see cref="P:OrderedDictionary{TKey,TValue}.Item(TKey)"/> property overwrites the old value. In contrast, the <see cref="M:Add"/> method does not modify existing elements.</para></remarks>
-            <exception cref="T:System.ArgumentNullException"><paramref name="key"/> is <null/></exception>
-            <exception cref="T:System.ArgumentException">An element with the same key already exists in the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see></exception>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.OrderedDictionary`2.Add(`0,`1)">
-            <summary>
-            Adds an entry with the specified key and value into the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see> collection with the lowest available index.
-            </summary>
-            <param name="key">The key of the entry to add.</param>
-            <param name="value">The value of the entry to add. This value can be <null/>.</param>
-            <returns>The index of the newly added entry</returns>
-            <remarks>A key cannot be <null/>, but a value can be.
-            <para>You can also use the <see cref="P:OrderedDictionary{TKey,TValue}.Item(TKey)"/> property to add new elements by setting the value of a key that does not exist in the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see> collection; however, if the specified key already exists in the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see>, setting the <see cref="P:OrderedDictionary{TKey,TValue}.Item(TKey)"/> property overwrites the old value. In contrast, the <see cref="M:Add"/> method does not modify existing elements.</para></remarks>
-            <exception cref="T:System.ArgumentNullException"><paramref name="key"/> is <null/></exception>
-            <exception cref="T:System.ArgumentException">An element with the same key already exists in the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see></exception>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.OrderedDictionary`2.System#Collections#IDictionary#Add(System.Object,System.Object)">
-            <summary>
-            Adds an entry with the specified key and value into the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see> collection with the lowest available index.
-            </summary>
-            <param name="key">The key of the entry to add.</param>
-            <param name="value">The value of the entry to add. This value can be <null/>.</param>
-            <exception cref="T:System.ArgumentNullException"><paramref name="key"/> is <null/>.<br/>
-            -or-<br/>
-            <paramref name="value"/> is <null/>, and the value type of the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see> is a value type.</exception>
-            <exception cref="T:System.ArgumentException">The key type of the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see> is not in the inheritance hierarchy of <paramref name="key"/>.<br/>
-            -or-<br/>
-            The value type of the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see> is not in the inheritance hierarchy of <paramref name="value"/>.</exception>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.OrderedDictionary`2.Clear">
-            <summary>
-            Removes all elements from the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see> collection.
-            </summary>
-            <remarks>The capacity is not changed as a result of calling this method.</remarks>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.OrderedDictionary`2.ContainsKey(`0)">
-            <summary>
-            Determines whether the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see> collection contains a specific key.
-            </summary>
-            <param name="key">The key to locate in the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see> collection.</param>
-            <returns><see langword="true"/> if the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see> collection contains an element with the specified key; otherwise, <see langword="false"/>.</returns>
-            <exception cref="T:System.ArgumentNullException"><paramref name="key"/> is <null/></exception>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.OrderedDictionary`2.System#Collections#IDictionary#Contains(System.Object)">
-            <summary>
-            Determines whether the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see> collection contains a specific key.
-            </summary>
-            <param name="key">The key to locate in the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see> collection.</param>
-            <returns><see langword="true"/> if the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see> collection contains an element with the specified key; otherwise, <see langword="false"/>.</returns>
-            <exception cref="T:System.ArgumentNullException"><paramref name="key"/> is <null/></exception>
-            <exception cref="T:System.ArgumentException">The key type of the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see> is not in the inheritance hierarchy of <paramref name="key"/>.</exception>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.OrderedDictionary`2.IndexOfKey(`0)">
-            <summary>
-            Returns the zero-based index of the specified key in the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see>
-            </summary>
-            <param name="key">The key to locate in the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see></param>
-            <returns>The zero-based index of <paramref name="key"/>, if <paramref name="ley"/> is found in the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see>; otherwise, -1</returns>
-            <remarks>This method performs a linear search; therefore it has a cost of O(n) at worst.</remarks>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.OrderedDictionary`2.Remove(`0)">
-            <summary>
-            Removes the entry with the specified key from the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see> collection.
-            </summary>
-            <param name="key">The key of the entry to remove</param>
-            <returns><see langword="true"/> if the key was found and the corresponding element was removed; otherwise, <see langword="false"/></returns>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.OrderedDictionary`2.System#Collections#IDictionary#Remove(System.Object)">
-            <summary>
-            Removes the entry with the specified key from the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see> collection.
-            </summary>
-            <param name="key">The key of the entry to remove</param>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.OrderedDictionary`2.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
-            <summary>
-            Copies the elements of the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see> elements to a one-dimensional Array object at the specified index.
-            </summary>
-            <param name="array">The one-dimensional <see cref="T:System.Array"/> object that is the destination of the <see cref="T:KeyValuePair`2&gt;"/> objects copied from the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see>. The <see cref="T:System.Array"/> must have zero-based indexing.</param>
-            <param name="index">The zero-based index in <paramref name="array"/> at which copying begins.</param>
-            <remarks>The <see cref="M:CopyTo"/> method preserves the order of the elements in the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see></remarks>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.OrderedDictionary`2.TryGetValue(`0,`1@)">
-            <summary>
-            Gets the value associated with the specified key.
-            </summary>
-            <param name="key">The key of the value to get.</param>
-            <param name="value">When this method returns, contains the value associated with the specified key, if the key is found; otherwise, the default value for the type of <paramref name="value"/>. This parameter can be passed uninitialized.</param>
-            <returns><see langword="true"/> if the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see> contains an element with the specified key; otherwise, <see langword="false"/>.</returns>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.OrderedDictionary`2.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey@TValue}}#Add(System.Collections.Generic.KeyValuePair{`0,`1})">
-            <summary>
-            Adds the specified value to the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see> with the specified key.
-            </summary>
-            <param name="item">The <see cref="T:KeyValuePair{TKey,TValue}">KeyValuePair&lt;TKey,TValue&gt;</see> structure representing the key and value to add to the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see>.</param>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.OrderedDictionary`2.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey@TValue}}#Contains(System.Collections.Generic.KeyValuePair{`0,`1})">
-            <summary>
-            Determines whether the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see> contains a specific key and value.
-            </summary>
-            <param name="item">The <see cref="T:KeyValuePair{TKey,TValue}">KeyValuePair&lt;TKey,TValue&gt;</see> structure to locate in the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see>.</param>
-            <returns><see langword="true"/> if <paramref name="keyValuePair"/> is found in the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see>; otherwise, <see langword="false"/>.</returns>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.OrderedDictionary`2.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey@TValue}}#CopyTo(System.Collections.Generic.KeyValuePair{`0,`1}[],System.Int32)">
-            <summary>
-            Copies the elements of the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see> to an array of type <see cref="T:KeyValuePair`2&gt;"/>, starting at the specified index.
-            </summary>
-            <param name="array">The one-dimensional array of type <see cref="T:KeyValuePair{TKey,TValue}">KeyValuePair&lt;TKey,TValue&gt;</see> that is the destination of the <see cref="T:KeyValuePair{TKey,TValue}">KeyValuePair&lt;TKey,TValue&gt;</see> elements copied from the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see>. The array must have zero-based indexing.</param>
-            <param name="arrayIndex">The zero-based index in <paramref name="array"/> at which copying begins.</param>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.OrderedDictionary`2.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey@TValue}}#Remove(System.Collections.Generic.KeyValuePair{`0,`1})">
-            <summary>
-            Removes a key and value from the dictionary.
-            </summary>
-            <param name="item">The <see cref="T:KeyValuePair{TKey,TValue}">KeyValuePair&lt;TKey,TValue&gt;</see> structure representing the key and value to remove from the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see>.</param>
-            <returns><see langword="true"/> if the key and value represented by <paramref name="keyValuePair"/> is successfully found and removed; otherwise, <see langword="false"/>. This method returns <see langword="false"/> if <paramref name="keyValuePair"/> is not found in the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see>.</returns>
-        </member>
-        <member name="P:ServiceStack.Redis.Support.OrderedDictionary`2.Dictionary">
-            <summary>
-            Gets the dictionary object that stores the keys and values
-            </summary>
-            <value>The dictionary object that stores the keys and values for the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see></value>
-            <remarks>Accessing this property will create the dictionary object if necessary</remarks>
-        </member>
-        <member name="P:ServiceStack.Redis.Support.OrderedDictionary`2.List">
-            <summary>
-            Gets the list object that stores the key/value pairs.
-            </summary>
-            <value>The list object that stores the key/value pairs for the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see></value>
-            <remarks>Accessing this property will create the list object if necessary.</remarks>
-        </member>
-        <member name="P:ServiceStack.Redis.Support.OrderedDictionary`2.Item(System.Int32)">
-            <summary>
-            Gets or sets the value at the specified index.
-            </summary>
-            <param name="index">The zero-based index of the value to get or set.</param>
-            <value>The value of the item at the specified index.</value>
-            <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="index"/> is less than 0.<br/>
-            -or-<br/>
-            index is equal to or greater than <see cref="P:ServiceStack.Redis.Support.OrderedDictionary`2.Count"/>.</exception>
-        </member>
-        <member name="P:ServiceStack.Redis.Support.OrderedDictionary`2.System#Collections#Specialized#IOrderedDictionary#Item(System.Int32)">
-            <summary>
-            Gets or sets the value at the specified index.
-            </summary>
-            <param name="index">The zero-based index of the value to get or set.</param>
-            <value>The value of the item at the specified index.</value>
-            <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="index"/> is less than 0.<br/>
-            -or-<br/>
-            index is equal to or greater than <see cref="P:ServiceStack.Redis.Support.OrderedDictionary`2.Count"/>.</exception>
-            <exception cref="T:System.ArgumentNullException"><paramref name="valueObject"/> is a null reference, and the value type of the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see> is a value type.</exception>
-            <exception cref="T:System.ArgumentException">The value type of the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see> is not in the inheritance hierarchy of <paramref name="valueObject"/>.</exception>
-        </member>
-        <member name="P:ServiceStack.Redis.Support.OrderedDictionary`2.System#Collections#IDictionary#IsFixedSize">
-            <summary>
-            Gets a value indicating whether the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see> has a fixed size.
-            </summary>
-            <value><see langword="true"/> if the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see> has a fixed size; otherwise, <see langword="false"/>. The default is <see langword="false"/>.</value>
-        </member>
-        <member name="P:ServiceStack.Redis.Support.OrderedDictionary`2.IsReadOnly">
-            <summary>
-            Gets a value indicating whether the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see> collection is read-only.
-            </summary>
-            <value><see langword="true"/> if the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see> is read-only; otherwise, <see langword="false"/>. The default is <see langword="false"/>.</value>
-            <remarks>
-            A collection that is read-only does not allow the addition, removal, or modification of elements after the collection is created.
-            <para>A collection that is read-only is simply a collection with a wrapper that prevents modification of the collection; therefore, if changes are made to the underlying collection, the read-only collection reflects those changes.</para>
-            </remarks>
-        </member>
-        <member name="P:ServiceStack.Redis.Support.OrderedDictionary`2.System#Collections#IDictionary#Keys">
-            <summary>
-            Gets an <see cref="T:System.Collections.ICollection"/> object containing the keys in the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see>.
-            </summary>
-            <value>An <see cref="T:System.Collections.ICollection"/> object containing the keys in the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see>.</value>
-            <remarks>The returned <see cref="T:System.Collections.ICollection"/> object is not a static copy; instead, the collection refers back to the keys in the original <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see>. Therefore, changes to the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see> continue to be reflected in the key collection.</remarks>
-        </member>
-        <member name="P:ServiceStack.Redis.Support.OrderedDictionary`2.System#Collections#IDictionary#Values">
-            <summary>
-            Gets an <see cref="T:System.Collections.ICollection"/> object containing the values in the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see> collection.
-            </summary>
-            <value>An <see cref="T:System.Collections.ICollection"/> object containing the values in the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see> collection.</value>
-            <remarks>The returned <see cref="T:System.Collections.ICollection"/> object is not a static copy; instead, the <see cref="T:System.Collections.ICollection"/> refers back to the values in the original <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see> collection. Therefore, changes to the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see> continue to be reflected in the <see cref="T:System.Collections.ICollection"/>.</remarks>
-        </member>
-        <member name="P:ServiceStack.Redis.Support.OrderedDictionary`2.Item(`0)">
-            <summary>
-            Gets or sets the value with the specified key.
-            </summary>
-            <param name="key">The key of the value to get or set.</param>
-            <value>The value associated with the specified key. If the specified key is not found, attempting to get it returns <null/>, and attempting to set it creates a new element using the specified key.</value>
-        </member>
-        <member name="P:ServiceStack.Redis.Support.OrderedDictionary`2.System#Collections#IDictionary#Item(System.Object)">
-            <summary>
-            Gets or sets the value with the specified key.
-            </summary>
-            <param name="key">The key of the value to get or set.</param>
-            <value>The value associated with the specified key. If the specified key is not found, attempting to get it returns <null/>, and attempting to set it creates a new element using the specified key.</value>
-        </member>
-        <member name="P:ServiceStack.Redis.Support.OrderedDictionary`2.Count">
-            <summary>
-            Gets the number of key/values pairs contained in the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see> collection.
-            </summary>
-            <value>The number of key/value pairs contained in the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see> collection.</value>
-        </member>
-        <member name="P:ServiceStack.Redis.Support.OrderedDictionary`2.System#Collections#ICollection#IsSynchronized">
-            <summary>
-            Gets a value indicating whether access to the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see> object is synchronized (thread-safe).
-            </summary>
-            <value>This method always returns false.</value>
-        </member>
-        <member name="P:ServiceStack.Redis.Support.OrderedDictionary`2.System#Collections#ICollection#SyncRoot">
-            <summary>
-            Gets an object that can be used to synchronize access to the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see> object.
-            </summary>
-            <value>An object that can be used to synchronize access to the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see> object.</value>
-        </member>
-        <member name="P:ServiceStack.Redis.Support.OrderedDictionary`2.Keys">
-            <summary>
-            Gets an <see cref="T:System.Collections.Generic.ICollection{TKey}">ICollection&lt;TKey&gt;</see> object containing the keys in the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see>.
-            </summary>
-            <value>An <see cref="T:System.Collections.Generic.ICollection{TKey}">ICollection&lt;TKey&gt;</see> object containing the keys in the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see>.</value>
-            <remarks>The returned <see cref="T:System.Collections.Generic.ICollection{TKey}">ICollection&lt;TKey&gt;</see> object is not a static copy; instead, the collection refers back to the keys in the original <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see>. Therefore, changes to the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see> continue to be reflected in the key collection.</remarks>
-        </member>
-        <member name="P:ServiceStack.Redis.Support.OrderedDictionary`2.Values">
-            <summary>
-            Gets an <see cref="T:ICollection{TValue}">ICollection&lt;TValue&gt;</see> object containing the values in the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see>.
-            </summary>
-            <value>An <see cref="T:ICollection{TValue}">ICollection&lt;TValue&gt;</see> object containing the values in the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see>.</value>
-            <remarks>The returned <see cref="T:ICollection{TValue}">ICollection&lt;TKey&gt;</see> object is not a static copy; instead, the collection refers back to the values in the original <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see>. Therefore, changes to the <see cref="T:ServiceStack.Redis.Support.OrderedDictionary`2">OrderedDictionary&lt;TKey,TValue&gt;</see> continue to be reflected in the value collection.</remarks>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.Locking.DistributedLock.Lock(System.String,System.Int32,System.Int32,System.Int64@,ServiceStack.Redis.IRedisClient)">
-            <summary>
-            acquire distributed, non-reentrant lock on key
-            </summary>
-            <param name="key">global key for this lock</param>
-            <param name="acquisitionTimeout">timeout for acquiring lock</param>
-            <param name="lockTimeout">timeout for lock, in seconds (stored as value against lock key) </param>
-            <param name="client"></param>
-            <param name="lockExpire"></param>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.Locking.DistributedLock.Unlock(System.String,System.Int64,ServiceStack.Redis.IRedisClient)">
-            <summary>
-            unlock key
-            </summary>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.Locking.DistributedLock.CalculateLockExpire(System.TimeSpan,System.Int32)">
-            <summary>
-            
-            </summary>
-            <param name="ts"></param>
-            <param name="timeout"></param>
-            <returns></returns>
-        </member>
-        <member name="T:ServiceStack.Redis.Support.Locking.ILockingStrategy">
-            <summary>
-            Locking strategy interface
-            </summary>
-        </member>
-        <member name="T:ServiceStack.Redis.Support.Locking.ReadLock">
-            <summary>
-            This class manages a read lock for a local readers/writer lock, 
-            using the Resource Acquisition Is Initialization pattern
-            </summary>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.Locking.ReadLock.#ctor(System.Threading.ReaderWriterLockSlim)">
-            <summary>
-            RAII initialization 
-            </summary>
-            <param name="lockObject"></param>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.Locking.ReadLock.Dispose">
-            <summary>
-            RAII disposal
-            </summary>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.Locking.WriteLock.#ctor(System.Threading.ReaderWriterLockSlim)">
-            <summary>
-            This class manages a write lock for a local readers/writer lock, 
-            using the Resource Acquisition Is Initialization pattern
-            </summary>
-            <param name="lockObject"></param>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.Locking.WriteLock.Dispose">
-            <summary>
-            RAII disposal
-            </summary>
-        </member>
-        <member name="T:ServiceStack.Redis.Support.RedisNamespace">
-            <summary>
-            manages a "region" in the redis key space
-            namespace can be cleared by incrementing the generation
-            </summary>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.RedisNamespace.GetGeneration">
-            <summary>
-            get current generation
-            </summary>
-            <returns></returns>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.RedisNamespace.SetGeneration(System.Int64)">
-            <summary>
-            set new generation
-            </summary>
-            <param name="generation"></param>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.RedisNamespace.GetGenerationKey">
-            <summary>
-            redis key for generation
-            </summary>
-            <returns></returns>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.RedisNamespace.GetGlobalKeysKey">
-            <summary>
-            get redis key that holds all namespace keys
-            </summary>
-            <returns></returns>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.RedisNamespace.GlobalCacheKey(System.Object)">
-            <summary>
-            get global cache key
-            </summary>
-            <param name="key"></param>
-            <returns></returns>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.RedisNamespace.GlobalKey(System.Object,System.Int32)">
-            <summary>
-            get global key inside of this namespace
-            </summary>
-            <param name="key"></param>
-            <param name="numUniquePrefixes">prefixes can be added for name deconfliction</param>
-            <returns></returns>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.RedisNamespace.Sanitize(System.String)">
-            <summary>
-            replace UniqueCharacter with its double, to avoid name clash
-            </summary>
-            <param name="dirtyString"></param>
-            <returns></returns>
-        </member>
-        <member name="M:ServiceStack.Redis.Support.RedisNamespace.Sanitize(System.Object)">
-            <summary>
-            
-            </summary>
-            <param name="dirtyString"></param>
-            <returns></returns>
-        </member>
-        <member name="P:ServiceStack.Redis.Support.RedisNamespace.LockingStrategy">
-            <summary>
-            get locking strategy
-            </summary>
-        </member>
-    </members>
-</doc>

BIN
servicestack/lib/ServiceStack.Redis.3.9.56/lib/net35/ServiceStack.Redis.dll


BIN
servicestack/lib/System.Data.SQLite.x86.1.0.88.0/System.Data.SQLite.x86.1.0.88.0.nupkg


+ 19 - 0
servicestack/lib/System.Data.SQLite.x86.1.0.88.0/System.Data.SQLite.x86.1.0.88.0.nuspec

@@ -0,0 +1,19 @@
+<?xml version="1.0"?>
+<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
+  <metadata>
+    <id>System.Data.SQLite.x86</id>
+    <version>1.0.88.0</version>
+    <title>System.Data.SQLite.x86</title>
+    <authors>SQLite Development Team</authors>
+    <owners>SQLite Development Team</owners>
+    <licenseUrl>http://www.sqlite.org/copyright.html</licenseUrl>
+    <projectUrl>http://system.data.sqlite.org/</projectUrl>
+    <iconUrl>http://system.data.sqlite.org/images/sqlite32.png</iconUrl>
+    <requireLicenseAcceptance>false</requireLicenseAcceptance>
+    <description>The official SQLite database engine combined with a complete ADO.NET provider all rolled into a single mixed-mode assembly for x86.</description>
+    <releaseNotes />
+    <copyright>Public Domain</copyright>
+    <language>en-US</language>
+    <tags>sqlite database ado.net provider interop</tags>
+  </metadata>
+</package>

BIN
servicestack/lib/System.Data.SQLite.x86.1.0.88.0/lib/net20/System.Data.SQLite.Linq.dll


BIN
servicestack/lib/System.Data.SQLite.x86.1.0.88.0/lib/net20/System.Data.SQLite.dll


BIN
servicestack/lib/System.Data.SQLite.x86.1.0.88.0/lib/net40/System.Data.SQLite.Linq.dll


BIN
servicestack/lib/System.Data.SQLite.x86.1.0.88.0/lib/net40/System.Data.SQLite.dll


BIN
servicestack/lib/System.Data.SQLite.x86.1.0.88.0/lib/net45/System.Data.SQLite.Linq.dll


BIN
servicestack/lib/System.Data.SQLite.x86.1.0.88.0/lib/net45/System.Data.SQLite.dll


+ 12 - 194
servicestack/src/AppHost.cs

@@ -1,6 +1,5 @@
 using System;
 using System.Linq;
-using System.Configuration;
 using System.Collections.Generic;
 
 using ServiceStack;
@@ -14,7 +13,6 @@ using ServiceStack.ServiceHost;
 using ServiceStack.WebHost.Endpoints;
 using ServiceStack.WebHost.Endpoints.Formats;
 
-using ServiceStackBenchmark.Model;
 
 namespace ServiceStackBenchmark
 {
@@ -24,16 +22,6 @@ namespace ServiceStackBenchmark
 		
 		public AppHost() : base("ServiceStackBenchmark", typeof(AppHost).Assembly) { }
 
-        #region Connection Strings
-
-        private static readonly ConnectionStringSettings mySqlConnectionString = ConfigurationManager.ConnectionStrings["MySQL"];
-
-        private static readonly ConnectionStringSettings sqlServerConnectionString = ConfigurationManager.ConnectionStrings["SQLServer"];
-
-        private static readonly ConnectionStringSettings postgreSqlConnectionString = ConfigurationManager.ConnectionStrings["PostgreSQL"];
-
-        #endregion
-
         public override void Configure(Funq.Container container)
 		{
 			ServiceStack.Text.JsConfig.EmitCamelCaseNames = true;
@@ -45,17 +33,24 @@ namespace ServiceStackBenchmark
             // Add plugins
             Plugins.Add(new SwaggerFeature());
 
-            SetConfig(new EndpointHostConfig
+            // Get disable features specified in Config file (i.e. Soap, Metadata, etc.)
+            var disabled = AppHostConfigHelper.GetDisabledFeatures();
+
+            // Construct Service Endpoint Host Configuration store
+            var config = new EndpointHostConfig
             {
                 DefaultRedirectPath = "/swagger-ui/index.html", // default to the Swagger page
                 DefaultContentType = ContentType.Json,
                 WriteErrorsToResponse = false,
-                EnableFeatures = Feature.All.Remove(GetDisabledFeatures()), // disable features specified in Web.Config (i.e. Soap, Metadata, etc.)
+                EnableFeatures = Feature.All.Remove(disabled),
                 AppendUtf8CharsetOnContentTypes = new HashSet<string> { ContentType.Html },
-            });
+            };
 
-            // Initialize Databases
-            InitDatabases(container);
+            // Apply configuration
+            SetConfig(config);
+
+            // Initialize Databases & associated Routes
+            container.InitDatabaseRoutes(Routes);
 
             // Register Cache Clients
             container.Register<ICacheClient>(new MemoryCacheClient());
@@ -65,182 +60,5 @@ namespace ServiceStackBenchmark
                 new PooledRedisClientManager("localhost:6379"));
 		}
 
-        private static void InitDatabases(Funq.Container container)
-        {
-            // Register the MySql Database Connection Factory
-            var mySqlFactory = new MySqlOrmLiteConnectionFactory(mySqlConnectionString.ConnectionString);
-            mySqlFactory.DialectProvider.UseUnicode = true;
-            container.Register<IMySqlOrmLiteConnectionFactory>(c => mySqlFactory);
-
-            // Create needed tables in MySql Server if they do not exist
-            try
-            {
-                using (var conn = mySqlFactory.OpenDbConnection())
-                {
-                    conn.CreateWorldTable();
-                    conn.CreateFortuneTable();
-                }
-            }
-            catch
-            { }
-
-            // Register the PostgreSQL Database Connection Factory
-            var postgreSqlFactory = new PostgreSqlOrmLiteConnectionFactory(postgreSqlConnectionString.ConnectionString);
-            postgreSqlFactory.DialectProvider.UseUnicode = true;
-            container.Register<IPostgreSqlOrmLiteConnectionFactory>(c => postgreSqlFactory);
-
-            // Create needed tables in PostgreSql Server if they do not exist
-            try
-            {
-                using (var conn = postgreSqlFactory.OpenDbConnection())
-                {
-                    conn.CreateWorldTable();
-                    conn.CreateFortuneTable();
-                }
-            }
-            catch
-            { }
-
-            // Register the Microsoft Sql Server Database Connection Factory
-            var sqlServerFactory = new SqlServerOrmLiteConnectionFactory(sqlServerConnectionString.ConnectionString);
-            sqlServerFactory.DialectProvider.UseUnicode = true;
-            container.Register<ISqlServerOrmLiteConnectionFactory>(c => sqlServerFactory);
-
-            // Create needed tables in Microsoft Sql Server if they do not exist
-            try
-            {
-                using (var conn = sqlServerFactory.OpenDbConnection())
-                {
-                    conn.CreateWorldTable();
-                    conn.CreateFortuneTable();
-                }
-            }
-            catch
-            { }
-        }
-
-        private static Feature GetDisabledFeatures()
-        {
-            var disabled = ConfigurationManager.AppSettings.Get("DisabledFeatures");
-
-            Feature d;
-            if (!string.IsNullOrWhiteSpace(disabled) && Enum.TryParse(disabled, true, out d))
-                return d;
-
-            return Feature.None;
-        }
-
 	}
-
-    public class AppSelfHost : AppHostHttpListenerBase
-    {
-
-        public AppSelfHost() : base("ServiceStackBenchmark", typeof(AppSelfHost).Assembly) { }
-
-        #region Connection Strings
-
-        private static readonly ConnectionStringSettings mySqlConnectionString = ConfigurationManager.ConnectionStrings["MySQL"];
-
-        private static readonly ConnectionStringSettings sqlServerConnectionString = ConfigurationManager.ConnectionStrings["SQLServer"];
-
-        private static readonly ConnectionStringSettings postgreSqlConnectionString = ConfigurationManager.ConnectionStrings["PostgreSQL"];
-
-        #endregion
-
-        public override void Configure(Funq.Container container)
-        {
-            ServiceStack.Text.JsConfig.EmitCamelCaseNames = true;
-
-            // Remove some unused features that by default are included
-            Plugins.RemoveAll(p => p is CsvFormat);
-            Plugins.RemoveAll(p => p is MetadataFeature);
-
-            // Add plugins
-            Plugins.Add(new SwaggerFeature());
-
-            SetConfig(new EndpointHostConfig
-            {
-                DefaultContentType = ContentType.Json,
-                WriteErrorsToResponse = false,
-                EnableFeatures = Feature.All.Remove(GetDisabledFeatures()), // disable features specified in Web.Config (i.e. Soap, Metadata, etc.)
-                AppendUtf8CharsetOnContentTypes = new HashSet<string> { ContentType.Html },
-            });
-
-            // Initialize Databases
-            InitDatabases(container);
-
-            // Register Cache Clients
-            container.Register<ICacheClient>(new MemoryCacheClient());
-
-            // Register Redis Client Manager
-            container.Register<IRedisClientsManager>(c =>
-                new PooledRedisClientManager("localhost:6379"));
-        }
-
-        private static void InitDatabases(Funq.Container container)
-        {
-            // Register the MySql Database Connection Factory
-            var mySqlFactory = new MySqlOrmLiteConnectionFactory(mySqlConnectionString.ConnectionString);
-            mySqlFactory.DialectProvider.UseUnicode = true;
-            container.Register<IMySqlOrmLiteConnectionFactory>(c => mySqlFactory);
-
-            // Create needed tables in MySql Server if they do not exist
-            try
-            {
-                using (var conn = mySqlFactory.OpenDbConnection())
-                {
-                    conn.CreateWorldTable();
-                    conn.CreateFortuneTable();
-                }
-            }
-            catch
-            { }
-
-            // Register the PostgreSQL Database Connection Factory
-            var postgreSqlFactory = new PostgreSqlOrmLiteConnectionFactory(postgreSqlConnectionString.ConnectionString);
-            postgreSqlFactory.DialectProvider.UseUnicode = true;
-            container.Register<IPostgreSqlOrmLiteConnectionFactory>(c => postgreSqlFactory);
-
-            // Create needed tables in PostgreSql Server if they do not exist
-            try
-            {
-                using (var conn = postgreSqlFactory.OpenDbConnection())
-                {
-                    conn.CreateWorldTable();
-                    conn.CreateFortuneTable();
-                }
-            }
-            catch
-            { }
-
-            // Register the Microsoft Sql Server Database Connection Factory
-            var sqlServerFactory = new SqlServerOrmLiteConnectionFactory(sqlServerConnectionString.ConnectionString);
-            sqlServerFactory.DialectProvider.UseUnicode = true;
-            container.Register<ISqlServerOrmLiteConnectionFactory>(c => sqlServerFactory);
-
-            // Create needed tables in Microsoft Sql Server if they do not exist
-            try
-            {
-                using (var conn = sqlServerFactory.OpenDbConnection())
-                {
-                    conn.CreateWorldTable();
-                    conn.CreateFortuneTable();
-                }
-            }
-            catch
-            { }
-        }
-
-        private static Feature GetDisabledFeatures()
-        {
-            var disabled = ConfigurationManager.AppSettings.Get("DisabledFeatures");
-
-            Feature d;
-            if (!string.IsNullOrWhiteSpace(disabled) && Enum.TryParse(disabled, true, out d))
-                return d;
-
-            return Feature.None;
-        }
-
-    }
 }

+ 174 - 0
servicestack/src/AppHostConfigHelper.cs

@@ -0,0 +1,174 @@
+using System;
+using System.Data;
+using System.Linq;
+using System.Configuration;
+using System.Collections.Generic;
+using ServiceStack.ServiceHost;
+using ServiceStackBenchmark.Model;
+
+namespace ServiceStackBenchmark
+{
+    public static class AppHostConfigHelper
+    {
+        public static bool InitMySQL(this Funq.Container container)
+        {
+            try
+            {
+                // Register the MySql Database Connection Factory
+                var mySqlConnectionString = ConfigurationManager.ConnectionStrings["MySQL"];
+                var mySqlFactory = new MySqlOrmLiteConnectionFactory(mySqlConnectionString.ConnectionString);
+                mySqlFactory.DialectProvider.UseUnicode = true;
+                container.Register<IMySqlOrmLiteConnectionFactory>(c => mySqlFactory);
+
+                // Create needed tables in MySql Server if they do not exist
+                using (var conn = mySqlFactory.OpenDbConnection())
+                {
+                    return conn.CreateWorldTable() && conn.CreateFortuneTable();
+                }
+            }
+            catch (Exception ex)
+            {
+                // Unregister failed database connection factory
+                container.Register<IMySqlOrmLiteConnectionFactory>(c => null);
+
+                return false;
+            }
+
+        }
+
+        public static bool InitPostgreSQL(this Funq.Container container)
+        {
+            try
+            {
+                // Register the PostgreSQL Database Connection Factory
+                var postgreSqlConnectionString = ConfigurationManager.ConnectionStrings["PostgreSQL"];
+                var postgreSqlFactory = new PostgreSqlOrmLiteConnectionFactory(postgreSqlConnectionString.ConnectionString);
+                postgreSqlFactory.DialectProvider.UseUnicode = true;
+                container.Register<IPostgreSqlOrmLiteConnectionFactory>(c => postgreSqlFactory);
+
+                // Create needed tables in PostgreSql Server if they do not exist
+                using (var conn = postgreSqlFactory.OpenDbConnection())
+                {
+                    return conn.CreateWorldTable() && conn.CreateFortuneTable();
+                }
+            }
+            catch (Exception ex)
+            {
+                // Unregister failed database connection factory
+                container.Register<IPostgreSqlOrmLiteConnectionFactory>(c => null);
+
+                return false;
+            }
+
+        }
+
+        public static bool InitSQLite(this Funq.Container container)
+        {
+            try
+            {
+                // Register the SQLite Database Connection Factory
+                var sqLiteConnectionString = ConfigurationManager.ConnectionStrings["SQLite"];
+                var sqLiteFactory = new SQLiteOrmLiteConnectionFactory(sqLiteConnectionString.ConnectionString);
+                sqLiteFactory.DialectProvider.UseUnicode = true;
+                container.Register<IDbConnection>(c => sqLiteFactory.CreateDbConnection());
+
+                var con = container.Resolve<IDbConnection>();
+                con.Open();
+
+                // Create needed tables in SQLite if they do not exist
+                return con.CreateWorldTable() && con.CreateFortuneTable();
+            }
+            catch (Exception ex)
+            {
+                // Unregister failed database connection
+                container.Register<IDbConnection>(c => null);
+
+                return false;
+            }
+        }
+
+        public static bool InitSQLServer(this Funq.Container container)
+        {
+            try
+            {
+                // Register the Microsoft Sql Server Database Connection Factory
+                var sqlServerConnectionString = ConfigurationManager.ConnectionStrings["SQLServer"];
+                var sqlServerFactory = new SqlServerOrmLiteConnectionFactory(sqlServerConnectionString.ConnectionString);
+                sqlServerFactory.DialectProvider.UseUnicode = true;
+                container.Register<ISqlServerOrmLiteConnectionFactory>(c => sqlServerFactory);
+
+                // Create needed tables in Microsoft Sql Server if they do not exist
+                using (var conn = sqlServerFactory.OpenDbConnection())
+                {
+                    return conn.CreateWorldTable() && conn.CreateFortuneTable();
+                }
+            }
+            catch (Exception ex)
+            {
+                // Unregister failed database connection factory
+                container.Register<ISqlServerOrmLiteConnectionFactory>(c => null);
+
+                return false;
+            }
+
+        }
+
+        public static void InitDatabaseRoutes(this Funq.Container container, IServiceRoutes routes)
+        {
+            if (container.InitMySQL())
+            {
+                routes.Add<MySqlDbRequest>("/mysql/db", "GET");
+                routes.Add<MySqlQueriesRequest>("/mysql/queries/{queries}", "GET");
+                routes.Add<MySqlFortunesRequest>("/mysql/fortunes", "GET");
+                routes.Add<MySqlUpdatesRequest>("/mysql/updates/{queries}", "GET");
+                routes.Add<MySqlCachedDbRequest>("/mysql/cached/db", "GET");
+            }
+
+            if (container.InitPostgreSQL())
+            {
+                routes.Add<PostgreSqlDbRequest>("/postgresql/db", "GET");
+                routes.Add<PostgreSqlQueriesRequest>("/postgresql/queries/{queries}", "GET");
+                routes.Add<PostgreSqlFortunesRequest>("/postgresql/fortunes", "GET");
+                routes.Add<PostgreSqlUpdatesRequest>("/postgresql/updates/{queries}", "GET");
+                routes.Add<PostgreSqlCachedDbRequest>("/postgresql/cached/db", "GET");
+            }
+
+            if (container.InitSQLite())
+            {
+                routes.Add<SQLiteDbRequest>("/sqlite/db", "GET");
+                routes.Add<SQLiteQueriesRequest>("/sqlite/queries/{queries}", "GET");
+                routes.Add<SQLiteFortunesRequest>("/sqlite/fortunes", "GET");
+                routes.Add<SQLiteUpdatesRequest>("/sqlite/updates/{queries}", "GET");
+                routes.Add<SQLiteCachedDbRequest>("/sqlite/cached/db", "GET");
+            }
+
+            if (container.InitSQLServer())
+            {
+                routes.Add<SqlServerDbRequest>("/sqlserver/db", "GET");
+                routes.Add<SqlServerQueriesRequest>("/sqlserver/queries/{queries}", "GET");
+                routes.Add<SqlServerFortunesRequest>("/sqlserver/fortunes", "GET");
+                routes.Add<SqlServerUpdatesRequest>("/sqlserver/updates/{queries}", "GET");
+                routes.Add<SqlServerCachedDbRequest>("/sqlserver/cached/db", "GET");
+            }
+        }
+
+        public static Feature GetDisabledFeatures()
+        {
+            try
+            {
+                var disabled = ConfigurationManager.AppSettings.Get("DisabledFeatures");
+
+                Feature d;
+                if (Enum.TryParse(disabled, true, out d))
+                    return d;
+
+                return Feature.None;
+            }
+            catch
+            {
+                return Feature.None;
+            }
+
+        }
+    }
+}

+ 8 - 0
servicestack/src/DbFactories/ISQLiteOrmLiteConnectionFactory.cs

@@ -0,0 +1,8 @@
+using System;
+
+using ServiceStack.OrmLite;
+
+namespace ServiceStackBenchmark
+{
+    public interface ISQLiteOrmLiteConnectionFactory : IDbConnectionFactory { }
+}

+ 14 - 0
servicestack/src/DbFactories/SQLiteOrmLiteConnectionFactory.cs

@@ -0,0 +1,14 @@
+using System;
+
+using ServiceStack.OrmLite;
+using ServiceStack.OrmLite.Sqlite;
+
+namespace ServiceStackBenchmark
+{
+    public class SQLiteOrmLiteConnectionFactory : OrmLiteConnectionFactory, ISQLiteOrmLiteConnectionFactory
+    {
+        // NOTE: since we are using an In-Memory database, we can not close the connection because it will destroy the database
+        public SQLiteOrmLiteConnectionFactory(string s) : base(s, false, SqliteOrmLiteDialectProvider.Instance, true) 
+        { }
+    }
+}

+ 11 - 2
servicestack/src/Model/Fortune.cs

@@ -35,9 +35,12 @@ namespace ServiceStackBenchmark.Model
             return db.Select<Fortune>();
         }
 
-        public static void CreateFortuneTable(this IDbConnection db)
+        public static bool CreateFortuneTable(this IDbConnection db)
         {
-            if (!db.TableExists("Fortune"))
+            if (db.TableExists("Fortune"))
+                return true;
+
+            try
             {
                 db.CreateTable<Fortune>();
 
@@ -56,6 +59,12 @@ namespace ServiceStackBenchmark.Model
                 fortunes.Add(new Fortune() { id = 11, message = "&lt;script&gt;alert(\"This should not be displayed in a browser alert box.\");&lt;/script&gt;" });
                 fortunes.Add(new Fortune() { id = 12, message = "フレームワークのベンチマーク" });
                 db.Insert<Fortune>(fortunes.ToArray());
+
+                return true;
+            }
+            catch
+            {
+                return false;
             }
         }
 

+ 13 - 4
servicestack/src/Model/World.cs

@@ -31,7 +31,7 @@ namespace ServiceStackBenchmark.Model
         public static List<World> GetWorlds(this IDbConnection db)
         {
             // retrieve all Worlds
-            return db.Select<World>(w => w);
+            return db.Select<World>();
         }
 
         public static List<World> GetWorlds(this IDbConnection db, IEnumerable<int> ids)
@@ -76,17 +76,20 @@ namespace ServiceStackBenchmark.Model
             });
         }
 
-        public static void CreateWorldTable(this IDbConnection db)
+        public static bool CreateWorldTable(this IDbConnection db)
         {
             // only create table if it does not already exist
-            if (!db.TableExists("World"))
+            if (db.TableExists("World"))
+                return true;
+
+            try
             {
                 // create the database table based on model
                 db.CreateTable<World>();
 
                 // populate the table
                 var worlds = new List<World>(10000);
-                Parallel.For(1, 10000, i =>
+                Parallel.For(0, 10000, i =>
                     {
                         lock (worlds)
                         {
@@ -97,6 +100,12 @@ namespace ServiceStackBenchmark.Model
 
                 // insert new records into database
                 db.Insert<World>(worlds.ToArray());
+
+                return true;
+            }
+            catch
+            {
+                return false;
             }
         }
 

+ 33 - 0
servicestack/src/Properties/AssemblyInfo.cs

@@ -0,0 +1,33 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following 
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("ServiceStackBenchmark.Properties")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("ServiceStackBenchmark.Properties")]
+[assembly: AssemblyCopyright("Copyright ©  2013")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible 
+// to COM components.  If you need to access a type in this assembly from 
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("b93603f5-a9d3-483e-b26b-1e6fc272c078")]
+
+// Version information for an assembly consists of the following four values:
+//
+//      Major Version
+//      Minor Version 
+//      Build Number
+//      Revision
+//
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]

+ 7 - 3
servicestack/src/SelfHost/App.config

@@ -1,14 +1,14 @@
 <?xml version="1.0" encoding="utf-8"?>
 <configuration>
-  <startup> 
+  <startup>
     <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
   </startup>
   <connectionStrings>
     <add name="MySQL" connectionString="server=localhost; user id=benchmarkdbuser; password=benchmarkdbpass; database=hello_world" providerName="MySql.Data.MySqlClient" />
     <add name="PostgreSQL" connectionString="server=localhost; user id=benchmarkdbuser; password=benchmarkdbpass; database=hello_world" providerName="Npgsql" />
+    <add name="SQLite" connectionString="Data Source=:memory:; Version=3;" providerName="System.Data.SQLite" />
     <!-- Set max pool size to SQL Server's default max_connections value. In practice, we don't seem to be getting close to the max at all. -->
-    <!-- add name="SQLServer" connectionString="server=localhost; user id=benchmarkdbuser; password=B3nchmarkDBPass; database=hello_world; max pool size=32767" providerName="System.Data.SqlClient" / -->
-    <add name="SQLServer" connectionString="Data Source=R994W11\SQLEXPRESS; Integrated Security=True; Initial Catalog=hello_world; max pool size=32767" providerName="System.Data.SqlClient" />
+    <add name="SQLServer" connectionString="server=localhost; user id=benchmarkdbuser; password=B3nchmarkDBPass; database=hello_world; max pool size=32767" providerName="System.Data.SqlClient" />
   </connectionStrings>
   <appSettings>
     <add key="DisabledFeatures" value="MetaData, Soap, Soap11, Soap12" />
@@ -27,6 +27,10 @@
         <assemblyIdentity name="AWSSDK" publicKeyToken="9f476d3089b52be3" culture="neutral" />
         <bindingRedirect oldVersion="0.0.0.0-1.5.28.3" newVersion="1.5.28.3" />
       </dependentAssembly>
+      <dependentAssembly>
+        <assemblyIdentity name="System.Data.SQLite" publicKeyToken="db937bc2d44ff139" culture="neutral" />
+        <bindingRedirect oldVersion="0.0.0.0-1.0.88.0" newVersion="1.0.88.0" />
+      </dependentAssembly>
     </assemblyBinding>
   </runtime>
 </configuration>

+ 85 - 0
servicestack/src/SelfHost/AppHostSelfHelper.cs

@@ -0,0 +1,85 @@
+using System;
+using System.Linq;
+using System.Net;
+using System.Collections.Generic;
+using System.Diagnostics;
+
+namespace ServiceStackBenchmark
+{
+    public static class AppHostSelfHelper
+    {
+        public static bool IsMono()
+        {
+            return Type.GetType("Mono.Runtime") != null;
+        }
+
+        public static void StartListening(this AppSelfHost appHost, string urlBase)
+        {
+            var addedURLToACL = false;
+
+            try
+            {
+                appHost.Start(urlBase);
+            }
+            catch (HttpListenerException ex)
+            {
+                if (IsMono())
+                    throw ex;
+
+                if (ex.ErrorCode == 5)
+                {
+                    AppHostSelfHelper.AddAddress(urlBase);
+                    addedURLToACL = true;
+                    appHost.Start(urlBase);
+                }
+            }
+
+            Console.WriteLine("AppHost Created at {0}, listening on {1}", DateTime.Now, urlBase);
+            Console.WriteLine("Press <Esc> to stop.");
+            do { } while (Console.ReadKey(true).Key != ConsoleKey.Escape);
+
+            if (addedURLToACL)
+                AppHostSelfHelper.DeleteAddress(urlBase);
+        }
+
+
+        #region Methods to Handle URL Listening with ACL Permissions
+
+        public static void AddAddress(string address)
+        {
+            AddAddress(address, Environment.UserDomainName, Environment.UserName);
+        }
+
+        public static void AddAddress(string address, string domain, string user)
+        {
+            string args = string.Format(@"http add urlacl url={0} user={1}\{2} listen=yes", address, domain, user);
+
+            var psi = new ProcessStartInfo("netsh", args)
+            {
+                Verb = "runas",
+                CreateNoWindow = true,
+                WindowStyle = ProcessWindowStyle.Hidden,
+                UseShellExecute = true
+            };
+
+            Process.Start(psi).WaitForExit();
+        }
+
+        public static void DeleteAddress(string address)
+        {
+            string args = string.Format(@"http delete urlacl url={0}", address);
+
+            var psi = new ProcessStartInfo("netsh", args)
+            {
+                CreateNoWindow = true,
+                WindowStyle = ProcessWindowStyle.Hidden,
+                UseShellExecute = true
+            };
+
+            Process.Start(psi).WaitForExit();
+        }
+
+
+        #endregion
+    }
+}

+ 55 - 0
servicestack/src/SelfHost/AppSelfHost.cs

@@ -0,0 +1,55 @@
+using System;
+using System.Linq;
+using System.Collections.Generic;
+using ServiceStack;
+using ServiceStack.CacheAccess;
+using ServiceStack.CacheAccess.Providers;
+using ServiceStack.Common;
+using ServiceStack.Common.Web;
+using ServiceStack.Redis;
+using ServiceStack.ServiceHost;
+using ServiceStack.WebHost.Endpoints;
+using ServiceStack.WebHost.Endpoints.Formats;
+
+namespace ServiceStackBenchmark
+{
+    public class AppSelfHost : AppHostHttpListenerBase
+    {
+
+        public AppSelfHost() : base("ServiceStackBenchmark", typeof(AppHost).Assembly) { }
+
+        public override void Configure(Funq.Container container)
+        {
+            ServiceStack.Text.JsConfig.EmitCamelCaseNames = true;
+
+            // Remove some unused features that by default are included
+            Plugins.RemoveAll(p => p is CsvFormat);
+            Plugins.RemoveAll(p => p is MetadataFeature);
+
+            // Get disable features specified in Config file (i.e. Soap, Metadata, etc.)
+            var disabled = AppHostConfigHelper.GetDisabledFeatures();
+
+            // Construct Service Endpoint Host Configuration store
+            var config = new EndpointHostConfig
+            {
+                DefaultContentType = ContentType.Json,
+                WriteErrorsToResponse = false,
+                EnableFeatures = Feature.All.Remove(disabled),
+                AppendUtf8CharsetOnContentTypes = new HashSet<string> { ContentType.Html },
+            };
+
+            // Apply configuration
+            SetConfig(config);
+
+            // Initialize Databases & associated Routes
+            container.InitDatabaseRoutes(Routes);
+
+            // Register Cache Clients
+            container.Register<ICacheClient>(new MemoryCacheClient());
+
+            // Register Redis Client Manager
+            container.Register<IRedisClientsManager>(c =>
+                new PooledRedisClientManager("localhost:6379"));
+        }
+    }
+}

+ 1 - 7
servicestack/src/SelfHost/Program.cs

@@ -1,7 +1,6 @@
 using System;
 using System.Collections.Generic;
 using System.Linq;
-using System.Threading;
 
 using ServiceStackBenchmark;
 
@@ -18,16 +17,11 @@ namespace ServiceStackBenchmark.SelfHost
                 try
                 {
                     appHost.Init();
-                    appHost.Start(listeningOn);
-
-                    Console.WriteLine("AppHost Created at {0}, listening on {1}", DateTime.Now, listeningOn);
-                    Console.WriteLine("Press <CTRL>+C to stop.");
-                    Thread.Sleep(Timeout.Infinite);
+                    appHost.StartListening(listeningOn);
                 }
                 catch (Exception ex)
                 {
                     Console.WriteLine("ERROR: {0}: {1}", ex.GetType().Name, ex.Message);
-                    throw;
                 }
                 finally
                 {

+ 70 - 8
servicestack/src/SelfHost/ServiceStackBenchmark.SelfHost.csproj

@@ -36,6 +36,46 @@
   <PropertyGroup>
     <ApplicationManifest>app.manifest</ApplicationManifest>
   </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
+    <DebugSymbols>true</DebugSymbols>
+    <OutputPath>bin\x86\Debug\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <DebugType>full</DebugType>
+    <PlatformTarget>x86</PlatformTarget>
+    <ErrorReport>prompt</ErrorReport>
+    <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
+    <Prefer32Bit>true</Prefer32Bit>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
+    <OutputPath>bin\x86\Release\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <Optimize>true</Optimize>
+    <DebugType>pdbonly</DebugType>
+    <PlatformTarget>x86</PlatformTarget>
+    <ErrorReport>prompt</ErrorReport>
+    <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
+    <Prefer32Bit>true</Prefer32Bit>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
+    <DebugSymbols>true</DebugSymbols>
+    <OutputPath>bin\x64\Debug\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <DebugType>full</DebugType>
+    <PlatformTarget>x64</PlatformTarget>
+    <ErrorReport>prompt</ErrorReport>
+    <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
+    <Prefer32Bit>true</Prefer32Bit>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
+    <OutputPath>bin\x64\Release\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <Optimize>true</Optimize>
+    <DebugType>pdbonly</DebugType>
+    <PlatformTarget>x64</PlatformTarget>
+    <ErrorReport>prompt</ErrorReport>
+    <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
+    <Prefer32Bit>true</Prefer32Bit>
+  </PropertyGroup>
   <ItemGroup>
     <Reference Include="ServiceStack">
       <HintPath>..\..\lib\ServiceStack.3.9.56\lib\net35\ServiceStack.dll</HintPath>
@@ -49,11 +89,9 @@
     <Reference Include="ServiceStack.OrmLite">
       <HintPath>..\..\lib\ServiceStack.OrmLite.SqlServer.3.9.56\lib\ServiceStack.OrmLite.dll</HintPath>
     </Reference>
-    <Reference Include="ServiceStack.OrmLite.SqlServer">
-      <HintPath>..\..\lib\ServiceStack.OrmLite.SqlServer.3.9.56\lib\ServiceStack.OrmLite.SqlServer.dll</HintPath>
-    </Reference>
-    <Reference Include="ServiceStack.Redis">
-      <HintPath>..\..\lib\ServiceStack.Redis.3.9.56\lib\net35\ServiceStack.Redis.dll</HintPath>
+    <Reference Include="ServiceStack.Redis, Version=3.9.57.0, Culture=neutral, processorArchitecture=MSIL">
+      <SpecificVersion>False</SpecificVersion>
+      <HintPath>..\..\lib\ServiceStack.Redis.3.9.57\lib\net35\ServiceStack.Redis.dll</HintPath>
     </Reference>
     <Reference Include="ServiceStack.ServiceInterface">
       <HintPath>..\..\lib\ServiceStack.3.9.56\lib\net35\ServiceStack.ServiceInterface.dll</HintPath>
@@ -63,6 +101,12 @@
     </Reference>
     <Reference Include="System" />
     <Reference Include="System.Core" />
+    <Reference Include="System.Data.SQLite">
+      <HintPath>..\..\lib\System.Data.SQLite.x86.1.0.88.0\lib\net45\System.Data.SQLite.dll</HintPath>
+    </Reference>
+    <Reference Include="System.Data.SQLite.Linq">
+      <HintPath>..\..\lib\System.Data.SQLite.x86.1.0.88.0\lib\net45\System.Data.SQLite.Linq.dll</HintPath>
+    </Reference>
     <Reference Include="System.Xml.Linq" />
     <Reference Include="System.Data.DataSetExtensions" />
     <Reference Include="Microsoft.CSharp" />
@@ -70,13 +114,13 @@
     <Reference Include="System.Xml" />
   </ItemGroup>
   <ItemGroup>
+    <Compile Include="AppHostSelfHelper.cs" />
+    <Compile Include="AppSelfHost.cs" />
     <Compile Include="Program.cs" />
     <Compile Include="Properties\AssemblyInfo.cs" />
   </ItemGroup>
   <ItemGroup>
-    <None Include="App.config">
-      <SubType>Designer</SubType>
-    </None>
+    <None Include="App.config" />
     <None Include="app.manifest" />
     <None Include="packages.config" />
   </ItemGroup>
@@ -86,8 +130,26 @@
       <Name>ServiceStackBenchmark</Name>
     </ProjectReference>
   </ItemGroup>
+  <ItemGroup>
+    <Content Include="x64\sqlite3.dll">
+      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
+    </Content>
+    <Content Include="x86\sqlite3.def" />
+    <RootContent Include="x86\sqlite3.dll">
+      <CopyToOutputDirectory>RootContent</CopyToOutputDirectory>
+    </RootContent>
+    <Content Include="x86\sqlite3.exe" />
+  </ItemGroup>
+  <ItemGroup>
+    <AvailableItemName Include="RootContent">
+      <Visible>false</Visible>
+    </AvailableItemName>
+  </ItemGroup>
   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
   <Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
+  <Target Name="AfterBuild">
+    <Copy DestinationFolder="$(OutputPath)" SourceFiles="@(RootContent)" SkipUnchangedFiles="true" />
+  </Target>
   <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
        Other similar extension points exist, see Microsoft.Common.targets.
   <Target Name="BeforeBuild">

+ 2 - 2
servicestack/src/SelfHost/app.manifest

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <asmv1:assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
-  <assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
+  <assemblyIdentity version="1.0.0.0" name="ServiceStackBenchmark.SelfHost"/>
   <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
     <security>
       <requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
@@ -16,7 +16,7 @@
             If you want to utilize File and Registry Virtualization for backward 
             compatibility then delete the requestedExecutionLevel node.
         -->
-        <requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
+        <!-- requestedExecutionLevel level="requireAdministrator" uiAccess="true" / -->
       </requestedPrivileges>
     </security>
   </trustInfo>

+ 2 - 1
servicestack/src/SelfHost/packages.config

@@ -3,6 +3,7 @@
   <package id="ServiceStack" version="3.9.56" targetFramework="net45" />
   <package id="ServiceStack.Common" version="3.9.56" targetFramework="net45" />
   <package id="ServiceStack.OrmLite.SqlServer" version="3.9.56" targetFramework="net45" />
-  <package id="ServiceStack.Redis" version="3.9.56" targetFramework="net45" />
+  <package id="ServiceStack.Redis" version="3.9.57" targetFramework="net45" />
   <package id="ServiceStack.Text" version="3.9.56" targetFramework="net45" />
+  <package id="System.Data.SQLite.x86" version="1.0.88.0" targetFramework="net45" />
 </packages>

BIN
servicestack/src/SelfHost/x64/sqlite3.dll


+ 208 - 0
servicestack/src/SelfHost/x86/sqlite3.def

@@ -0,0 +1,208 @@
+EXPORTS
+sqlite3_aggregate_context
+sqlite3_aggregate_count
+sqlite3_auto_extension
+sqlite3_backup_finish
+sqlite3_backup_init
+sqlite3_backup_pagecount
+sqlite3_backup_remaining
+sqlite3_backup_step
+sqlite3_bind_blob
+sqlite3_bind_double
+sqlite3_bind_int
+sqlite3_bind_int64
+sqlite3_bind_null
+sqlite3_bind_parameter_count
+sqlite3_bind_parameter_index
+sqlite3_bind_parameter_name
+sqlite3_bind_text
+sqlite3_bind_text16
+sqlite3_bind_value
+sqlite3_bind_zeroblob
+sqlite3_blob_bytes
+sqlite3_blob_close
+sqlite3_blob_open
+sqlite3_blob_read
+sqlite3_blob_reopen
+sqlite3_blob_write
+sqlite3_busy_handler
+sqlite3_busy_timeout
+sqlite3_changes
+sqlite3_clear_bindings
+sqlite3_close
+sqlite3_close_v2
+sqlite3_collation_needed
+sqlite3_collation_needed16
+sqlite3_column_blob
+sqlite3_column_bytes
+sqlite3_column_bytes16
+sqlite3_column_count
+sqlite3_column_database_name
+sqlite3_column_database_name16
+sqlite3_column_decltype
+sqlite3_column_decltype16
+sqlite3_column_double
+sqlite3_column_int
+sqlite3_column_int64
+sqlite3_column_name
+sqlite3_column_name16
+sqlite3_column_origin_name
+sqlite3_column_origin_name16
+sqlite3_column_table_name
+sqlite3_column_table_name16
+sqlite3_column_text
+sqlite3_column_text16
+sqlite3_column_type
+sqlite3_column_value
+sqlite3_commit_hook
+sqlite3_compileoption_get
+sqlite3_compileoption_used
+sqlite3_complete
+sqlite3_complete16
+sqlite3_config
+sqlite3_context_db_handle
+sqlite3_create_collation
+sqlite3_create_collation16
+sqlite3_create_collation_v2
+sqlite3_create_function
+sqlite3_create_function16
+sqlite3_create_function_v2
+sqlite3_create_module
+sqlite3_create_module_v2
+sqlite3_data_count
+sqlite3_db_config
+sqlite3_db_filename
+sqlite3_db_handle
+sqlite3_db_mutex
+sqlite3_db_readonly
+sqlite3_db_release_memory
+sqlite3_db_status
+sqlite3_declare_vtab
+sqlite3_enable_load_extension
+sqlite3_enable_shared_cache
+sqlite3_errcode
+sqlite3_errmsg
+sqlite3_errmsg16
+sqlite3_errstr
+sqlite3_exec
+sqlite3_expired
+sqlite3_extended_errcode
+sqlite3_extended_result_codes
+sqlite3_file_control
+sqlite3_finalize
+sqlite3_free
+sqlite3_free_table
+sqlite3_get_autocommit
+sqlite3_get_auxdata
+sqlite3_get_table
+sqlite3_global_recover
+sqlite3_initialize
+sqlite3_interrupt
+sqlite3_last_insert_rowid
+sqlite3_libversion
+sqlite3_libversion_number
+sqlite3_limit
+sqlite3_load_extension
+sqlite3_log
+sqlite3_malloc
+sqlite3_memory_alarm
+sqlite3_memory_highwater
+sqlite3_memory_used
+sqlite3_mprintf
+sqlite3_mutex_alloc
+sqlite3_mutex_enter
+sqlite3_mutex_free
+sqlite3_mutex_leave
+sqlite3_mutex_try
+sqlite3_next_stmt
+sqlite3_open
+sqlite3_open16
+sqlite3_open_v2
+sqlite3_os_end
+sqlite3_os_init
+sqlite3_overload_function
+sqlite3_prepare
+sqlite3_prepare16
+sqlite3_prepare16_v2
+sqlite3_prepare_v2
+sqlite3_profile
+sqlite3_progress_handler
+sqlite3_randomness
+sqlite3_realloc
+sqlite3_release_memory
+sqlite3_reset
+sqlite3_reset_auto_extension
+sqlite3_result_blob
+sqlite3_result_double
+sqlite3_result_error
+sqlite3_result_error16
+sqlite3_result_error_code
+sqlite3_result_error_nomem
+sqlite3_result_error_toobig
+sqlite3_result_int
+sqlite3_result_int64
+sqlite3_result_null
+sqlite3_result_text
+sqlite3_result_text16
+sqlite3_result_text16be
+sqlite3_result_text16le
+sqlite3_result_value
+sqlite3_result_zeroblob
+sqlite3_rollback_hook
+sqlite3_rtree_geometry_callback
+sqlite3_set_authorizer
+sqlite3_set_auxdata
+sqlite3_shutdown
+sqlite3_sleep
+sqlite3_snprintf
+sqlite3_soft_heap_limit
+sqlite3_soft_heap_limit64
+sqlite3_sourceid
+sqlite3_sql
+sqlite3_status
+sqlite3_step
+sqlite3_stmt_busy
+sqlite3_stmt_readonly
+sqlite3_stmt_status
+sqlite3_stricmp
+sqlite3_strnicmp
+sqlite3_table_column_metadata
+sqlite3_test_control
+sqlite3_thread_cleanup
+sqlite3_threadsafe
+sqlite3_total_changes
+sqlite3_trace
+sqlite3_transfer_bindings
+sqlite3_update_hook
+sqlite3_uri_boolean
+sqlite3_uri_int64
+sqlite3_uri_parameter
+sqlite3_user_data
+sqlite3_value_blob
+sqlite3_value_bytes
+sqlite3_value_bytes16
+sqlite3_value_double
+sqlite3_value_int
+sqlite3_value_int64
+sqlite3_value_numeric_type
+sqlite3_value_text
+sqlite3_value_text16
+sqlite3_value_text16be
+sqlite3_value_text16le
+sqlite3_value_type
+sqlite3_vfs_find
+sqlite3_vfs_register
+sqlite3_vfs_unregister
+sqlite3_vmprintf
+sqlite3_vsnprintf
+sqlite3_vtab_config
+sqlite3_vtab_on_conflict
+sqlite3_wal_autocheckpoint
+sqlite3_wal_checkpoint
+sqlite3_wal_checkpoint_v2
+sqlite3_wal_hook
+sqlite3_win32_mbcs_to_utf8
+sqlite3_win32_set_directory
+sqlite3_win32_sleep
+sqlite3_win32_utf8_to_mbcs
+sqlite3_win32_write_debug

BIN
servicestack/src/SelfHost/x86/sqlite3.dll


BIN
servicestack/src/SelfHost/x86/sqlite3.exe


+ 2 - 7
servicestack/src/Service/MySqlService.cs

@@ -15,12 +15,10 @@ namespace ServiceStackBenchmark
     #region MySQL Service Requests
 
     [Api("Test #2 using Service Stack, ORMLite, and MySQL")]
-    [Route("/mysql/db", "GET")]
     public class MySqlDbRequest : IReturn<World>
     { }
 
     [Api("Test #3 using Service Stack, ORMLite, and MySQL")]
-    [Route("/mysql/queries/{queries}", "GET")]
     public class MySqlQueriesRequest : IReturn<List<World>>
     {
         [ApiMember(Name = "queries", Description = "Number of Queries to Execute", DataType = "int", IsRequired = true)]
@@ -29,12 +27,10 @@ namespace ServiceStackBenchmark
     }
 
     [Api("Test #4 using Service Stack, ORMLite, and MySQL")]
-    [Route("/mysql/fortunes", "GET")]
     public class MySqlFortunesRequest : IReturn<List<Fortune>>
     { }
 
     [Api("Test #5 using Service Stack, ORMLite, and MySQL")]
-    [Route("/mysql/updates/{queries}", "GET")]
     public class MySqlUpdatesRequest : IReturn<List<World>>
     {
         [ApiMember(Name = "queries", Description = "Number of Queries to Execute", DataType = "int", IsRequired = true)]
@@ -43,7 +39,6 @@ namespace ServiceStackBenchmark
     }
 
     [Api("Test #7 using Service Stack, ORMLite, and MySQL with Caching")]
-    [Route("/mysql/cached/db", "GET")]
     public class MySqlCachedDbRequest : IReturn<World>
     { }
 
@@ -81,7 +76,7 @@ namespace ServiceStackBenchmark
 
             // concurrently create a list of random world ids to retrieve
             var ids = new List<int>();
-            Parallel.For(1, worldCount, i =>
+            Parallel.For(0, worldCount, i =>
             {
                 lock (ids)
                 {
@@ -124,7 +119,7 @@ namespace ServiceStackBenchmark
 
             // concurrently create a list of random world ids to update
             var ids = new List<int>(worldCount);
-            Parallel.For(1, worldCount, i =>
+            Parallel.For(0, worldCount, i =>
             {
                 lock (ids)
                 {

+ 2 - 7
servicestack/src/Service/PostgreSqlService.cs

@@ -16,12 +16,10 @@ namespace ServiceStackBenchmark
     #region PostgreSQL Service Requests
 
     [Api("Test #2 using Service Stack, ORMLite, and PostgreSQL")]
-    [Route("/postgresql/db", "GET")]
     public class PostgreSqlDbRequest : IReturn<World>
     { }
 
     [Api("Test #3 using Service Stack, ORMLite, and PostgreSQL")]
-    [Route("/postgresql/queries/{queries}", "GET")]
     public class PostgreSqlQueriesRequest : IReturn<List<World>>
     {
         [ApiMember(Name = "queries", Description = "Number of Queries to Execute", DataType = "int", IsRequired = true)]
@@ -30,12 +28,10 @@ namespace ServiceStackBenchmark
     }
 
     [Api("Test #4 using Service Stack, ORMLite, and PostgreSQL")]
-    [Route("/postgresql/fortunes", "GET")]
     public class PostgreSqlFortunesRequest : IReturn<List<Fortune>>
     { }
 
     [Api("Test #5 using Service Stack, ORMLite, and PostgreSQL")]
-    [Route("/postgresql/updates/{queries}", "GET")]
     public class PostgreSqlUpdatesRequest : IReturn<List<World>>
     {
         [ApiMember(Name = "queries", Description = "Number of Queries to Execute", DataType = "int", IsRequired = true)]
@@ -44,7 +40,6 @@ namespace ServiceStackBenchmark
     }
 
     [Api("Test #7 using Service Stack, ORMLite, and PostgreSQL with Caching")]
-    [Route("/postgresql/cached/db", "GET")]
     public class PostgreSqlCachedDbRequest : IReturn<World>
     { }
 
@@ -82,7 +77,7 @@ namespace ServiceStackBenchmark
 
             // concurrently create a list of random world ids to retrieve
             var ids = new List<int>();
-            Parallel.For(1, worldCount, i =>
+            Parallel.For(0, worldCount, i =>
             {
                 lock (ids)
                 {
@@ -125,7 +120,7 @@ namespace ServiceStackBenchmark
 
             // concurrently create a list of random world ids to update
             var ids = new List<int>(worldCount);
-            Parallel.For(1, worldCount, i =>
+            Parallel.For(0, worldCount, i =>
             {
                 lock (ids)
                 {

+ 174 - 0
servicestack/src/Service/SQLiteService.cs

@@ -0,0 +1,174 @@
+using System;
+using System.Collections.Generic;
+using System.Data;
+using System.Linq;
+using System.Threading.Tasks;
+
+using ServiceStack.Common;
+using ServiceStack.ServiceHost;
+using ServiceStack.ServiceInterface;
+
+using ServiceStackBenchmark.Model;
+
+namespace ServiceStackBenchmark
+{
+
+    #region SQLite Service Requests
+
+    [Api("Test #2 using Service Stack, ORMLite, and SQLite")]
+    public class SQLiteDbRequest : IReturn<World>
+    { }
+
+    [Api("Test #3 using Service Stack, ORMLite, and SQLite")]
+    public class SQLiteQueriesRequest : IReturn<List<World>>
+    {
+        [ApiMember(Name = "queries", Description = "Number of Queries to Execute", DataType = "int", IsRequired = true)]
+        [ApiAllowableValues("queries", 1, 500)]
+        public int queries { get; set; }
+    }
+
+    [Api("Test #4 using Service Stack, ORMLite, and SQLite")]
+    public class SQLiteFortunesRequest : IReturn<List<Fortune>>
+    { }
+
+    [Api("Test #5 using Service Stack, ORMLite, and SQLite")]
+    public class SQLiteUpdatesRequest : IReturn<List<World>>
+    {
+        [ApiMember(Name = "queries", Description = "Number of Queries to Execute", DataType = "int", IsRequired = true)]
+        [ApiAllowableValues("queries", 1, 500)]
+        public int queries { get; set; }
+    }
+
+    [Api("Test #7 using Service Stack, ORMLite, and SQLite with Caching")]
+    public class SQLiteCachedDbRequest : IReturn<World>
+    { }
+
+    #endregion
+
+    /// <summary>Service Stack tests using SQLite provider and ORMLite</summary>
+    public class SQLiteService : Service
+    {
+        private const string dbType = "SQLite";
+
+        #region Public Properties
+
+        public IDbConnection db { get; set; }
+
+        #endregion
+
+        #region Public Service Methods
+
+        public object Get(SQLiteDbRequest request)
+        {
+            // get a random world id
+            var id = SafeRandom.Instance.Next(1, 10000);
+
+            // retrieve world from database
+            return db.GetWorld(id);
+        }
+
+        public object Get(SQLiteQueriesRequest request)
+        {
+            // limit queries to be between 1 and 500 iterations
+            var worldCount = Math.Max(1, Math.Min(500, (int)request.queries));
+
+            // concurrently create a list of random world ids to retrieve
+            var ids = new List<int>();
+            Parallel.For(0, worldCount, i =>
+            {
+                lock (ids)
+                {
+                    ids.Add(SafeRandom.Instance.Next(1, 10000));
+                }
+            });
+
+            // retrieve worlds associated with ids
+            return db.GetWorlds(ids);
+        }
+
+        [AddHeader(ContentType = ServiceStack.Common.Web.ContentType.Html)]
+        public object Get(SQLiteFortunesRequest request)
+        {
+            var fortunes = new List<Fortune>();
+
+            // retrieve fortunes from database
+            //using (var db = dbFactory.OpenDbConnection())
+            //{
+                fortunes = db.GetFortunes();
+            //}
+
+            // add additional fortune record
+            fortunes.Add(new Fortune { id = 0, message = "Additional fortune added at request time." });
+
+            // sort fortunes
+            fortunes.Sort();
+
+            // construct HTML page using template and return
+            return FortuneMethods.ToHtml(fortunes);
+        }
+
+        public object Get(SQLiteUpdatesRequest request)
+        {
+            // limit queries to be between 1 and 500 iterations
+            var worldCount = Math.Max(1, Math.Min(500, (int)request.queries));
+
+            // concurrently create a list of random world ids to update
+            var ids = new List<int>(worldCount);
+            Parallel.For(0, worldCount, i =>
+            {
+                lock (ids)
+                {
+                    ids.Add(SafeRandom.Instance.Next(1, 10000));
+                }
+            });
+
+            // purge cache client
+            Cache.FlushAll();
+
+            // update the worlds
+            return db.UpdateWorlds(ids);
+        }
+
+        public object Get(SQLiteCachedDbRequest request)
+        {
+            // get a random world id
+            var id = SafeRandom.Instance.Next(1, 10000);
+
+            // create the cache key for the random world id
+            var cacheKey = UrnId.CreateWithParts<World>(new string[] { dbType, id.ToString() });
+
+            // if world is cached, return it
+            var world = Cache.Get<World>(cacheKey);
+            if (world != null)
+                return world;
+
+            // get all of the worlds form the database
+            List<World> worlds = db.GetWorlds();
+
+            // construct a cache dictionary
+            var cacheDict = new Dictionary<string, World>();
+            Parallel.ForEach(worlds, w =>
+            {
+                // collect the current result
+                if (w.id == id)
+                    world = w;
+
+                // add world to cache dictionary
+                var key = UrnId.CreateWithParts<World>(new string[] { dbType, w.id.ToString() });
+                lock (cacheDict)
+                {
+                    cacheDict.Add(key, w);
+                }
+            });
+
+            // populate cache
+            Cache.SetAll<World>(cacheDict);
+
+            // return current request
+            return world;
+        }
+
+        #endregion
+    }
+
+}

+ 2 - 7
servicestack/src/Service/SqlServerService.cs

@@ -15,12 +15,10 @@ namespace ServiceStackBenchmark
     #region Microsoft SQL Server Service Requests
 
     [Api("Test #2 using Service Stack, ORMLite, and Microsoft SQL Server")]
-    [Route("/sqlserver/db", "GET")]
     public class SqlServerDbRequest : IReturn<World>
     { }
 
     [Api("Test #3 using Service Stack, ORMLite, and Microsoft SQL Server")]
-    [Route("/sqlserver/queries/{queries}", "GET")]
     public class SqlServerQueriesRequest : IReturn<List<World>>
     {
         [ApiMember(Name = "queries", Description = "Number of Queries to Execute", DataType = "int", IsRequired = true)]
@@ -29,12 +27,10 @@ namespace ServiceStackBenchmark
     }
 
     [Api("Test #4 using Service Stack, ORMLite, and Microsoft SQL Server")]
-    [Route("/sqlserver/fortunes", "GET")]
     public class SqlServerFortunesRequest : IReturn<List<Fortune>>
     { }
 
     [Api("Test #5 using Service Stack, ORMLite, and Microsoft SQL Server")]
-    [Route("/sqlserver/updates/{queries}", "GET")]
     public class SqlServerUpdatesRequest : IReturn<List<World>>
     {
         [ApiMember(Name = "queries", Description = "Number of Queries to Execute", DataType = "int", IsRequired = true)]
@@ -43,7 +39,6 @@ namespace ServiceStackBenchmark
     }
 
     [Api("Test #7 using Service Stack, ORMLite, and Microsoft SQL Server with Caching")]
-    [Route("/sqlserver/cached/db", "GET")]
     public class SqlServerCachedDbRequest : IReturn<World>
     { }
 
@@ -81,7 +76,7 @@ namespace ServiceStackBenchmark
 
             // concurrently create a list of random world ids to retrieve
             var ids = new List<int>();
-            Parallel.For(1, worldCount, i =>
+            Parallel.For(0, worldCount, i =>
             {
                 lock (ids)
                 {
@@ -124,7 +119,7 @@ namespace ServiceStackBenchmark
 
             // concurrently create a list of random world ids to update
             var ids = new List<int>(worldCount);
-            Parallel.For(1, worldCount, i =>
+            Parallel.For(0, worldCount, i =>
             {
                 lock (ids)
                 {

+ 77 - 2
servicestack/src/ServiceStackBenchmark.csproj

@@ -40,6 +40,42 @@
   <PropertyGroup>
     <StartupObject />
   </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
+    <DebugSymbols>true</DebugSymbols>
+    <OutputPath>bin\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <DebugType>full</DebugType>
+    <PlatformTarget>x86</PlatformTarget>
+    <ErrorReport>prompt</ErrorReport>
+    <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
+    <OutputPath>bin\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <Optimize>true</Optimize>
+    <DebugType>pdbonly</DebugType>
+    <PlatformTarget>x86</PlatformTarget>
+    <ErrorReport>prompt</ErrorReport>
+    <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
+    <DebugSymbols>true</DebugSymbols>
+    <OutputPath>bin\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <DebugType>full</DebugType>
+    <PlatformTarget>x64</PlatformTarget>
+    <ErrorReport>prompt</ErrorReport>
+    <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
+    <OutputPath>bin\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <Optimize>true</Optimize>
+    <DebugType>pdbonly</DebugType>
+    <PlatformTarget>x64</PlatformTarget>
+    <ErrorReport>prompt</ErrorReport>
+    <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
+  </PropertyGroup>
   <ItemGroup>
     <Reference Include="AWSSDK, Version=1.5.28.3, Culture=neutral, PublicKeyToken=9f476d3089b52be3, processorArchitecture=MSIL">
       <SpecificVersion>False</SpecificVersion>
@@ -63,6 +99,9 @@
     <Reference Include="Microsoft.WindowsFabric.Data.Common">
       <HintPath>..\lib\WindowsAzure.Caching.1.7.0.0\lib\net35-full\Microsoft.WindowsFabric.Data.Common.dll</HintPath>
     </Reference>
+    <Reference Include="Mono.Data.Sqlite">
+      <HintPath>..\lib\ServiceStack.OrmLite.Sqlite.Mono.3.9.57\lib\net40\Mono.Data.Sqlite.dll</HintPath>
+    </Reference>
     <Reference Include="Mono.Security">
       <HintPath>..\lib\Npgsql.2.0.12.1\lib\net40\Mono.Security.dll</HintPath>
     </Reference>
@@ -101,9 +140,9 @@
       <SpecificVersion>False</SpecificVersion>
       <HintPath>..\lib\ServiceStack.Common.3.9.56\lib\net35\ServiceStack.Interfaces.dll</HintPath>
     </Reference>
-    <Reference Include="ServiceStack.OrmLite, Version=3.9.56.0, Culture=neutral, processorArchitecture=MSIL">
+    <Reference Include="ServiceStack.OrmLite, Version=3.9.57.0, Culture=neutral, processorArchitecture=MSIL">
       <SpecificVersion>False</SpecificVersion>
-      <HintPath>..\lib\ServiceStack.OrmLite.SqlServer.3.9.56\lib\ServiceStack.OrmLite.dll</HintPath>
+      <HintPath>..\lib\ServiceStack.OrmLite.Sqlite.Mono.3.9.57\lib\net40\ServiceStack.OrmLite.dll</HintPath>
     </Reference>
     <Reference Include="ServiceStack.OrmLite.MySql, Version=3.9.57.0, Culture=neutral, processorArchitecture=MSIL">
       <SpecificVersion>False</SpecificVersion>
@@ -113,6 +152,9 @@
       <SpecificVersion>False</SpecificVersion>
       <HintPath>..\lib\ServiceStack.OrmLite.PostgreSQL.3.9.57\lib\ServiceStack.OrmLite.PostgreSQL.dll</HintPath>
     </Reference>
+    <Reference Include="ServiceStack.OrmLite.Sqlite">
+      <HintPath>..\lib\ServiceStack.OrmLite.Sqlite.Mono.3.9.57\lib\net40\ServiceStack.OrmLite.Sqlite.dll</HintPath>
+    </Reference>
     <Reference Include="ServiceStack.OrmLite.SqlServer, Version=3.9.56.0, Culture=neutral, processorArchitecture=MSIL">
       <SpecificVersion>False</SpecificVersion>
       <HintPath>..\lib\ServiceStack.OrmLite.SqlServer.3.9.56\lib\ServiceStack.OrmLite.SqlServer.dll</HintPath>
@@ -134,6 +176,14 @@
     <Reference Include="System.Configuration" />
     <Reference Include="System.Data" />
     <Reference Include="System.Data.DataSetExtensions" />
+    <Reference Include="System.Data.SQLite, Version=1.0.88.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=MSIL">
+      <SpecificVersion>False</SpecificVersion>
+      <HintPath>..\lib\System.Data.SQLite.x86.1.0.88.0\lib\net45\System.Data.SQLite.dll</HintPath>
+    </Reference>
+    <Reference Include="System.Data.SQLite.Linq, Version=1.0.88.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=MSIL">
+      <SpecificVersion>False</SpecificVersion>
+      <HintPath>..\lib\System.Data.SQLite.x86.1.0.88.0\lib\net45\System.Data.SQLite.Linq.dll</HintPath>
+    </Reference>
     <Reference Include="System.Runtime.Serialization" />
     <Reference Include="System.Web" />
     <Reference Include="System.Web.ApplicationServices" />
@@ -144,6 +194,14 @@
     <Reference Include="System.Xml.Linq" />
   </ItemGroup>
   <ItemGroup>
+    <Content Include="x64\sqlite3.dll">
+      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
+    </Content>
+    <Content Include="x86\sqlite3.def" />
+    <RootContent Include="x86\sqlite3.dll">
+      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
+    </RootContent>
+    <Content Include="x86\sqlite3.exe" />
     <Content Include="swagger-ui\css\hightlight.default.css" />
     <Content Include="swagger-ui\css\screen.css" />
     <Content Include="swagger-ui\images\logo_small.png" />
@@ -167,8 +225,13 @@
     </Content>
   </ItemGroup>
   <ItemGroup>
+    <Compile Include="AppHostConfigHelper.cs" />
+    <Compile Include="DbFactories\SQLiteOrmLiteConnectionFactory.cs" />
+    <Compile Include="DbFactories\ISQLiteOrmLiteConnectionFactory.cs" />
     <Compile Include="Model\Fortune.cs" />
+    <Compile Include="Properties\AssemblyInfo.cs" />
     <Compile Include="SafeRandom.cs" />
+    <Compile Include="Service\SQLiteService.cs" />
     <Compile Include="Service\MySqlService.cs" />
     <Compile Include="Service\PostgreSqlService.cs" />
     <Compile Include="Service\Services.cs" />
@@ -195,6 +258,11 @@
       <DependentUpon>Web.config</DependentUpon>
     </None>
   </ItemGroup>
+  <ItemGroup>
+    <AvailableItemName Include="RootContent">
+      <Visible>false</Visible>
+    </AvailableItemName>
+  </ItemGroup>
   <ItemGroup />
   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
   <PropertyGroup>
@@ -206,6 +274,9 @@
   <Target Name="MvcBuildViews" AfterTargets="AfterBuild" Condition="'$(MvcBuildViews)'=='true'">
     <AspNetCompiler VirtualPath="/" PhysicalPath="$(WebProjectOutputDir)" />
   </Target>
+  <Target Name="AfterBuild">
+    <Copy DestinationFolder="$(OutputPath)" SourceFiles="@(RootContent)" SkipUnchangedFiles="true" />
+  </Target>
   <ProjectExtensions>
     <VisualStudio>
       <FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
@@ -216,4 +287,8 @@
     </VisualStudio>
   </ProjectExtensions>
   <Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
+  <PropertyGroup>
+    <PreBuildEvent>
+    </PreBuildEvent>
+  </PropertyGroup>
 </Project>

+ 20 - 0
servicestack/src/ServiceStackBenchmark.sln

@@ -20,17 +20,37 @@ EndProject
 Global
 	GlobalSection(SolutionConfigurationPlatforms) = preSolution
 		Debug|Any CPU = Debug|Any CPU
+		Debug|x64 = Debug|x64
+		Debug|x86 = Debug|x86
 		Release|Any CPU = Release|Any CPU
+		Release|x64 = Release|x64
+		Release|x86 = Release|x86
 	EndGlobalSection
 	GlobalSection(ProjectConfigurationPlatforms) = postSolution
 		{80CF41AB-455B-4EB9-BFCC-3F8C4E1D8354}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
 		{80CF41AB-455B-4EB9-BFCC-3F8C4E1D8354}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{80CF41AB-455B-4EB9-BFCC-3F8C4E1D8354}.Debug|x64.ActiveCfg = Debug|Any CPU
+		{80CF41AB-455B-4EB9-BFCC-3F8C4E1D8354}.Debug|x64.Build.0 = Debug|Any CPU
+		{80CF41AB-455B-4EB9-BFCC-3F8C4E1D8354}.Debug|x86.ActiveCfg = Debug|x86
+		{80CF41AB-455B-4EB9-BFCC-3F8C4E1D8354}.Debug|x86.Build.0 = Debug|x86
 		{80CF41AB-455B-4EB9-BFCC-3F8C4E1D8354}.Release|Any CPU.ActiveCfg = Release|Any CPU
 		{80CF41AB-455B-4EB9-BFCC-3F8C4E1D8354}.Release|Any CPU.Build.0 = Release|Any CPU
+		{80CF41AB-455B-4EB9-BFCC-3F8C4E1D8354}.Release|x64.ActiveCfg = Release|x64
+		{80CF41AB-455B-4EB9-BFCC-3F8C4E1D8354}.Release|x64.Build.0 = Release|x64
+		{80CF41AB-455B-4EB9-BFCC-3F8C4E1D8354}.Release|x86.ActiveCfg = Release|Any CPU
+		{80CF41AB-455B-4EB9-BFCC-3F8C4E1D8354}.Release|x86.Build.0 = Release|Any CPU
 		{64B2E432-0D03-40CE-9086-81FC7190D9A3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
 		{64B2E432-0D03-40CE-9086-81FC7190D9A3}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{64B2E432-0D03-40CE-9086-81FC7190D9A3}.Debug|x64.ActiveCfg = Debug|Any CPU
+		{64B2E432-0D03-40CE-9086-81FC7190D9A3}.Debug|x64.Build.0 = Debug|Any CPU
+		{64B2E432-0D03-40CE-9086-81FC7190D9A3}.Debug|x86.ActiveCfg = Debug|x86
+		{64B2E432-0D03-40CE-9086-81FC7190D9A3}.Debug|x86.Build.0 = Debug|x86
 		{64B2E432-0D03-40CE-9086-81FC7190D9A3}.Release|Any CPU.ActiveCfg = Release|Any CPU
 		{64B2E432-0D03-40CE-9086-81FC7190D9A3}.Release|Any CPU.Build.0 = Release|Any CPU
+		{64B2E432-0D03-40CE-9086-81FC7190D9A3}.Release|x64.ActiveCfg = Release|x64
+		{64B2E432-0D03-40CE-9086-81FC7190D9A3}.Release|x64.Build.0 = Release|x64
+		{64B2E432-0D03-40CE-9086-81FC7190D9A3}.Release|x86.ActiveCfg = Release|Any CPU
+		{64B2E432-0D03-40CE-9086-81FC7190D9A3}.Release|x86.Build.0 = Release|Any CPU
 	EndGlobalSection
 	GlobalSection(SolutionProperties) = preSolution
 		HideSolutionNode = FALSE

+ 6 - 2
servicestack/src/Web.config

@@ -7,9 +7,9 @@
   <connectionStrings>
     <add name="MySQL" connectionString="server=localhost; user id=benchmarkdbuser; password=benchmarkdbpass; database=hello_world" providerName="MySql.Data.MySqlClient" />
     <add name="PostgreSQL" connectionString="server=localhost; user id=benchmarkdbuser; password=benchmarkdbpass; database=hello_world" providerName="Npgsql" />
+    <add name="SQLite" connectionString="Data Source=:memory:; Version=3;" providerName="System.Data.SQLite" />
     <!-- Set max pool size to SQL Server's default max_connections value. In practice, we don't seem to be getting close to the max at all. -->
-    <!-- add name="SQLServer" connectionString="server=localhost; user id=benchmarkdbuser; password=B3nchmarkDBPass; database=hello_world; max pool size=32767" providerName="System.Data.SqlClient" / -->
-    <add name="SQLServer" connectionString="Data Source=R994W11\SQLEXPRESS; Integrated Security=True; Initial Catalog=hello_world; max pool size=32767" providerName="System.Data.SqlClient" />
+    <add name="SQLServer" connectionString="server=localhost; user id=benchmarkdbuser; password=B3nchmarkDBPass; database=hello_world; max pool size=32767" providerName="System.Data.SqlClient" />
   </connectionStrings>
   <appSettings>
     <add key="DisabledFeatures" value="MetaData, Soap, Soap11, Soap12" />
@@ -41,6 +41,10 @@
         <assemblyIdentity name="AWSSDK" publicKeyToken="9f476d3089b52be3" culture="neutral" />
         <bindingRedirect oldVersion="0.0.0.0-1.5.28.3" newVersion="1.5.28.3" />
       </dependentAssembly>
+      <dependentAssembly>
+        <assemblyIdentity name="System.Data.SQLite" publicKeyToken="db937bc2d44ff139" culture="neutral" />
+        <bindingRedirect oldVersion="0.0.0.0-1.0.88.0" newVersion="1.0.88.0" />
+      </dependentAssembly>
     </assemblyBinding>
   </runtime>  
   <dataCacheClients>

+ 2 - 0
servicestack/src/packages.config

@@ -12,8 +12,10 @@
   <package id="ServiceStack.Common" version="3.9.56" targetFramework="net45" />
   <package id="ServiceStack.OrmLite.MySql" version="3.9.57" targetFramework="net45" />
   <package id="ServiceStack.OrmLite.PostgreSQL" version="3.9.57" targetFramework="net45" />
+  <package id="ServiceStack.OrmLite.Sqlite.Mono" version="3.9.57" targetFramework="net45" />
   <package id="ServiceStack.OrmLite.SqlServer" version="3.9.56" targetFramework="net45" />
   <package id="ServiceStack.Redis" version="3.9.57" targetFramework="net45" />
   <package id="ServiceStack.Text" version="3.9.56" targetFramework="net45" />
+  <package id="System.Data.SQLite.x86" version="1.0.88.0" targetFramework="net45" />
   <package id="WindowsAzure.Caching" version="1.7.0.0" targetFramework="net45" />
 </packages>

BIN
servicestack/src/x64/sqlite3.dll


+ 208 - 0
servicestack/src/x86/sqlite3.def

@@ -0,0 +1,208 @@
+EXPORTS
+sqlite3_aggregate_context
+sqlite3_aggregate_count
+sqlite3_auto_extension
+sqlite3_backup_finish
+sqlite3_backup_init
+sqlite3_backup_pagecount
+sqlite3_backup_remaining
+sqlite3_backup_step
+sqlite3_bind_blob
+sqlite3_bind_double
+sqlite3_bind_int
+sqlite3_bind_int64
+sqlite3_bind_null
+sqlite3_bind_parameter_count
+sqlite3_bind_parameter_index
+sqlite3_bind_parameter_name
+sqlite3_bind_text
+sqlite3_bind_text16
+sqlite3_bind_value
+sqlite3_bind_zeroblob
+sqlite3_blob_bytes
+sqlite3_blob_close
+sqlite3_blob_open
+sqlite3_blob_read
+sqlite3_blob_reopen
+sqlite3_blob_write
+sqlite3_busy_handler
+sqlite3_busy_timeout
+sqlite3_changes
+sqlite3_clear_bindings
+sqlite3_close
+sqlite3_close_v2
+sqlite3_collation_needed
+sqlite3_collation_needed16
+sqlite3_column_blob
+sqlite3_column_bytes
+sqlite3_column_bytes16
+sqlite3_column_count
+sqlite3_column_database_name
+sqlite3_column_database_name16
+sqlite3_column_decltype
+sqlite3_column_decltype16
+sqlite3_column_double
+sqlite3_column_int
+sqlite3_column_int64
+sqlite3_column_name
+sqlite3_column_name16
+sqlite3_column_origin_name
+sqlite3_column_origin_name16
+sqlite3_column_table_name
+sqlite3_column_table_name16
+sqlite3_column_text
+sqlite3_column_text16
+sqlite3_column_type
+sqlite3_column_value
+sqlite3_commit_hook
+sqlite3_compileoption_get
+sqlite3_compileoption_used
+sqlite3_complete
+sqlite3_complete16
+sqlite3_config
+sqlite3_context_db_handle
+sqlite3_create_collation
+sqlite3_create_collation16
+sqlite3_create_collation_v2
+sqlite3_create_function
+sqlite3_create_function16
+sqlite3_create_function_v2
+sqlite3_create_module
+sqlite3_create_module_v2
+sqlite3_data_count
+sqlite3_db_config
+sqlite3_db_filename
+sqlite3_db_handle
+sqlite3_db_mutex
+sqlite3_db_readonly
+sqlite3_db_release_memory
+sqlite3_db_status
+sqlite3_declare_vtab
+sqlite3_enable_load_extension
+sqlite3_enable_shared_cache
+sqlite3_errcode
+sqlite3_errmsg
+sqlite3_errmsg16
+sqlite3_errstr
+sqlite3_exec
+sqlite3_expired
+sqlite3_extended_errcode
+sqlite3_extended_result_codes
+sqlite3_file_control
+sqlite3_finalize
+sqlite3_free
+sqlite3_free_table
+sqlite3_get_autocommit
+sqlite3_get_auxdata
+sqlite3_get_table
+sqlite3_global_recover
+sqlite3_initialize
+sqlite3_interrupt
+sqlite3_last_insert_rowid
+sqlite3_libversion
+sqlite3_libversion_number
+sqlite3_limit
+sqlite3_load_extension
+sqlite3_log
+sqlite3_malloc
+sqlite3_memory_alarm
+sqlite3_memory_highwater
+sqlite3_memory_used
+sqlite3_mprintf
+sqlite3_mutex_alloc
+sqlite3_mutex_enter
+sqlite3_mutex_free
+sqlite3_mutex_leave
+sqlite3_mutex_try
+sqlite3_next_stmt
+sqlite3_open
+sqlite3_open16
+sqlite3_open_v2
+sqlite3_os_end
+sqlite3_os_init
+sqlite3_overload_function
+sqlite3_prepare
+sqlite3_prepare16
+sqlite3_prepare16_v2
+sqlite3_prepare_v2
+sqlite3_profile
+sqlite3_progress_handler
+sqlite3_randomness
+sqlite3_realloc
+sqlite3_release_memory
+sqlite3_reset
+sqlite3_reset_auto_extension
+sqlite3_result_blob
+sqlite3_result_double
+sqlite3_result_error
+sqlite3_result_error16
+sqlite3_result_error_code
+sqlite3_result_error_nomem
+sqlite3_result_error_toobig
+sqlite3_result_int
+sqlite3_result_int64
+sqlite3_result_null
+sqlite3_result_text
+sqlite3_result_text16
+sqlite3_result_text16be
+sqlite3_result_text16le
+sqlite3_result_value
+sqlite3_result_zeroblob
+sqlite3_rollback_hook
+sqlite3_rtree_geometry_callback
+sqlite3_set_authorizer
+sqlite3_set_auxdata
+sqlite3_shutdown
+sqlite3_sleep
+sqlite3_snprintf
+sqlite3_soft_heap_limit
+sqlite3_soft_heap_limit64
+sqlite3_sourceid
+sqlite3_sql
+sqlite3_status
+sqlite3_step
+sqlite3_stmt_busy
+sqlite3_stmt_readonly
+sqlite3_stmt_status
+sqlite3_stricmp
+sqlite3_strnicmp
+sqlite3_table_column_metadata
+sqlite3_test_control
+sqlite3_thread_cleanup
+sqlite3_threadsafe
+sqlite3_total_changes
+sqlite3_trace
+sqlite3_transfer_bindings
+sqlite3_update_hook
+sqlite3_uri_boolean
+sqlite3_uri_int64
+sqlite3_uri_parameter
+sqlite3_user_data
+sqlite3_value_blob
+sqlite3_value_bytes
+sqlite3_value_bytes16
+sqlite3_value_double
+sqlite3_value_int
+sqlite3_value_int64
+sqlite3_value_numeric_type
+sqlite3_value_text
+sqlite3_value_text16
+sqlite3_value_text16be
+sqlite3_value_text16le
+sqlite3_value_type
+sqlite3_vfs_find
+sqlite3_vfs_register
+sqlite3_vfs_unregister
+sqlite3_vmprintf
+sqlite3_vsnprintf
+sqlite3_vtab_config
+sqlite3_vtab_on_conflict
+sqlite3_wal_autocheckpoint
+sqlite3_wal_checkpoint
+sqlite3_wal_checkpoint_v2
+sqlite3_wal_hook
+sqlite3_win32_mbcs_to_utf8
+sqlite3_win32_set_directory
+sqlite3_win32_sleep
+sqlite3_win32_utf8_to_mbcs
+sqlite3_win32_write_debug

BIN
servicestack/src/x86/sqlite3.dll


BIN
servicestack/src/x86/sqlite3.exe