Patterns and Practices 2010 Symposium Content

Updated 11/15/2010.

Symposium Video Presentations 

 In the Box - MVVM Training 

 WPF Navigation Region Navigation Sample

The source code for the above Prism 4 Region Navigation sample is attached to the bottom of this post.  Since the presentation I’ve added a button, pointed to by the below red arrow.  This button allows you to refresh the data.

The reason I added this was because the first time the application loads the data, there is a little delay while Entity Framework initializes itself, the database is loaded and the web service is initialized.  This initial application startup cost is a one time cost, after this the application is very fast.  Remember, the ListBox on the left has 1,000 rows in it.


Please Note

This application uses a an oData Web Service from the web project.

You MUST start the web service before starting the application.

To start the web service, right click on Web\ThePhoneCompant.DataService.ThePhoneCompanyService.svc in the Solution Explorer and select view in browser.  This will start the web service and make the oData endpoint available.

Next, ensure that, “ThePhoneCompany” application is set as the startup project for the solution.

Press F5 or CTRL+F5 to run the application.

IE9 Users - IE9 Beta does not have the best experience when working with ASP.NET Web Services. Many times will take forever, seem like it's not doing anything and will then come back to life. If you get an error, just press refresh, then ignore the message about a root folder. You can now run the application.

I have another blog post on the TPL Library implementation that I’ll post on 11/16/2010.

Have a great day,


Comments (6)
  1. raffaeu says:

    I'm waiting impatiently InTheBox to be released. 🙂

  2. karl140.6 says:


    In the Box has been done for several days.  We are having issues the the VS Gallery, should be sorted out and uploaded tomorrow.



  3. Matt Phillips says:

    re in the box &…/in-the-box-ndash-mvvm-training

    My compnay, like many others, prhobits access to stream media providers like vimeo and youtube. MS has pleanty of means to host video – why use theses we cannot see ?!?!?!?!

    And why ask me to register with wordpress to give you feedback?

    I would have thought the P&P team, of all teams, would have known better!

  4. karl140.6 says:


    I did this work on my own, and not part of p & p, which is why its not posted on Channel9, etc.

    I have ZERO spam on my blog because people are required to register.  Small price to pay to post a comment.  

    You can get the WMF file from Vimeo as a download if you register with them.  Again, small price (zero cost) to get the HD video version of the content.


  5. Devon Clark says:

    Can you post a SQL Server 2008 version of the database (instead of R2)?


  6. karl140.6 says:


    I have R2 installed on all of my machines.  Can't you install SQL Server Express 2008 R2?


Comments are closed.

Skip to main content