# 194 - MVVM - How to create a ViewModelLocater

This episode we are we are going to take a look at how we can create a simple ViewModelLocator to inject our ViewModel into our DataContext at runtime via conventions.

The ViewModelLocator Pattern will allow you to create a very flexable application because it will decouple your Views from your ViewModel. The approach in this episode will take a convention based approach to determine which ViewModel should go with a given View.