Memory samples and a basic WPF app