This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Disposables; | |
using System.IO; | |
using System.Linq; | |
using System.Net; | |
using System.Reflection; | |
using Funq; | |
using ServiceStack.Common.Web; | |
using ServiceStack.Service; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace RsaKeyConverter.Converter | |
{ | |
public static class BytesExtensions | |
{ | |
public static string ToBase64(this byte[] bytes) | |
{ | |
return Convert.ToBase64String(bytes); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Redisconf Notes: | |
"We will begin this morning with a performance" | |
"Is this a key store..." Bohemian Rhapsody Key/Value Store ballad. Epic Win! | |
"Any way the data flows doesn't really matter to me... flushdb..." | |
"Lua killed a db by writing after calling a nondeterministic function..." | |
"Got to leave SQL behind and face the truth..." | |
"Redis, I don't want to join, sometimes I wish I'd never described a query..." | |
"The ZSET has some data set aside for me, for me, for MEEEEEEE" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* WagStack | |
* | |
* TPL Async DAL using ServiceStack's Expression/SQL Building | |
* and Insight.Database's async features | |
*/ | |
public class WagStackAsyncRepository<T>:IAsyncRepository<T> | |
{ | |
static WagStackAsyncRepository() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Security.Cryptography; | |
using ServiceStack.Text; | |
namespace FragLabs.VOIP.Common.DTOs | |
{ | |
/// <summary> | |
/// Base class for DTOs that must be securely signed using the RSA algorithm. | |
/// </summary> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Text; | |
using NUnit.Framework; | |
using ServiceStack.Plugins.ProtoBuf; | |
using ServiceStack.ServiceClient.Web; | |
using ServiceStack.Text; | |
namespace ServiceStack.WebHost.IntegrationTests.Tests | |
{ | |
[TestFixture] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using Elmah; | |
using Microsoft.ApplicationServer.Caching; | |
using ServiceStack.CacheAccess; | |
namespace BusinessLogic | |
{ | |
public class AzureCacheClient : ICacheClient | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Text.RegularExpressions; | |
using System.Globalization; | |
using ServiceStack.ServiceInterface.Auth; | |
using ServiceStack.Common; | |
using NHibernate; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Content2 is represented as name in the Json, event if it's ToString returns null. Tried SerializeFn to. |
NewerOlder