Skip to content

Instantly share code, notes, and snippets.

View andyb's full-sized avatar

Andy Britcliffe andyb

View GitHub Profile
@andyb
andyb / service-checklist.md
Created September 12, 2016 07:54 — forked from acolyer/service-checklist.md
Internet Scale Services Checklist

Internet Scale Services Checklist

A checklist for designing and developing internet scale services, inspired by James Hamilton's 2007 paper "On Desgining and Deploying Internet-Scale Services."

Basic tenets

  • Does the design expect failures to happen regularly and handle them gracefully?
  • Have we kept things as simple as possible?
public class TextBoxAttached : TextBox
{
#region ValidateOnTextChange (Attached DependencyProperty)
public static readonly DependencyProperty ValidateOnTextChangeProperty =
DependencyProperty.RegisterAttached("ValidateOnTextChange", typeof(bool), typeof(TextBoxAttached), new PropertyMetadata(new PropertyChangedCallback(OnValidateOnTextChangeChanged)));
public static void SetValidateOnTextChange(DependencyObject o, bool value)