Skip to content

Instantly share code, notes, and snippets.

@ar3cka
ar3cka / gist:92806ada767a898863a0
Last active August 29, 2015 14:04
Azure queue concurrency safe testing
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Queue;
namespace AzureQueue.ConcurrencySafeTesting
{
class Program
@ar3cka
ar3cka / gist:ed2217ee17f6bd3f2a91
Last active February 18, 2023 21:45
CQRS. In Process Command Dispatcher
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Runtime.Remoting.Messaging;
using System.Runtime.Remoting.Proxies;
using System.Threading.Tasks;
namespace Demo
{
@ar3cka
ar3cka / gist:f75c96ed0fefa67d8f99
Last active August 29, 2015 14:01
DDD, Error event design.
public abstract class DomainError : IEvent
{
public override string ToString()
{
return Describe();
}
protected abstract string Describe();
}