NavigationService and MVVM on Windows Phone 7

If you have started to implement MVVM for your Silverlight on Windows Phone application then you will soon or a later discover that the NavigationService is only accessible from a class that inherits from PhoneApplocationPage. I found a very nice and clean solution for this problem by implementing an ApplicationController class that looks after all the navigation. This one thing I love about it is the only place you enter a string in for the page URI is within the ApplicationController class when you register it. The rest of your application uses a nice strongly typed name.

Read the full article here

  1. Leave a comment

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: