Jaa


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.

ThePhoneCompany

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,

Karl

WPFRegionNavigation.zip

Comments

  • Anonymous
    November 10, 2010
    I'm waiting impatiently InTheBox to be released. :-)

  • Anonymous
    November 10, 2010
    The comment has been removed

  • Anonymous
    November 11, 2010
    The comment has been removed

  • Anonymous
    November 11, 2010
    Matt, 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. Karl

  • Anonymous
    March 23, 2011
    Can you post a SQL Server 2008 version of the database (instead of R2)? Thanks

  • Anonymous
    March 23, 2011
    Devon, I have R2 installed on all of my machines.  Can't you install SQL Server Express 2008 R2? Karl