Using Messenger in the CommunityToolkit.Mvvm

As mentioned in my last post I wanted to hit on the IMessenger services included with the CommunityToolkit.Mvvm.  There is a ton of funtionality with the IMessenger but at it’s core it passes messages between an instance that sends a message and any instances that are registered to receive the message. To do this there […]

.

Read more

A light tutorial of CommunityToolkit.Mvvm and Dependency Injection

The intention here is to cover some simple basics with getting CommunityToolkit.Mvvm going using dependency injection. There are a ton of of tutorials that go much further in-depth with CommunityToolkit including Microsoft’s own introduction. But as a basic intro let’s start with what CommunityToolkit.Mvvm is. It is a package that integrates the MVVM pattern into […]

.

Read more

Live Filter Design Pattern in XAML

I decided I should start titling my posts with XAML instead of WPF as they are applicable regardless of whether you are developing in Windows 7 with WPF or Windows 8. I’m going to take the BreadCrumb design pattern sample and extend it to include the Live Filter design pattern. The premise behind the Live […]

.

Read more

Binding a Dependency Property of a View to its ViewModel, part Deux

I’ve been getting quite a few hits lately on my post, Binding a Dependency Property of a View to its ViewModel. After reviewing it I realized that, while the post isn’t too bad, it doesn’t read as smooth as I would like (though it does have some pretty pictures with arrows and boxes and stuff, […]

.

Read more

Adapter Design Pattern – A Real World Example

I think the simplest design pattern we’ve all used without really calling it a pattern, other than observer, is the adapter design pattern. The adapter design pattern is known more colloquially as a wrapper where you wrap a bunch of functionality from one or more classes into a single class because of incompatibilities between the […]

.

Read more

Observer and Command Design Patterns – A Real World Example

Up next in my series on ways you’ve probably used design patterns in real-life and may not have even known it, the Observer and Command design patterns. This continues on from my post Composite and Memento Design Patterns – A Real World Example. Command pattern is meant to actually decouple the GUI and back-end code. […]

.

Read more

Composite and Memento Design Patterns – A Real World Example

So you don’t need to know software design patterns. But, as I hope got across in my post, knowing and understanding patterns can only benefit you. I wanted to put together a real-life example of some of the instances where I’ve used patterns, even if the use of the patterns was unintentional. Hopefully you will […]

.

Read more

Binding a Dependency Property of a View to its ViewModel

UPDATE 07/30/2014:Please be sure to check out the second part to this at Binding a Dependency Property of a View to its ViewModel, part Deux which contains a working sample solution of the code here. I like MVVM in concept and I had prepared a long, off-topic rant about MVVM because of a bit of […]

.

Read more

The Task Parallel Library Sampler – Part 14: Wrap-up / Future posts

This has been a fun journey and hopefully you’ve learned a bit about MVVM and the TPL. I do have plans for future posts in this series that will center around the TPL.Dataflow namespace. It’s an area of the TPL I don’t seem written about a lot and I think there are probably a few […]

.

Read more

The Task Parallel Library Sampler – Part 13: Async/Await

Previous Post in this series:Part 12: Cancelling Threads with the CancellationTokenSource – The Code This sample derives from a Microsoft example and an updated solution is available here. AsyncAwaitSample model: There are two runs here, one shown using the keyword “await” with an asyncronous method and another run just running an asyncronous method without using […]

.

Read more
FormatException

928 East Plymouth Drive Asbury Park, NJ 07712