WPF Apps With The Model-View-ViewModel Design Pattern

January 28, 2009

MSDN Magazine has published my great friend Josh Smith’s article, WPF Apps With The Model-View-ViewModel Design Pattern.

This outstanding work provides a detailed explanation of MVVM and why MVVM is a natural fit for WPF.

Josh uses a simple application to clearly articulate the MVVM principles found in all MVVM applications.

This article is a must read for all developers learning or using MVVM.

Have a great day!

Just a grain of sand on the worlds beaches.


Winner of Code Project December 2008 VB.NET Article Award

January 27, 2009

Today I received the Code Project   Prize winner in Competition “Best VB.NET article of December 2008″.

The  Creating an Internationalized Wizard in WPF code and article is the one Josh Smith and I wrote together over the weekend when I flew out to New York City to hang with Mr. WPF.

This article is part of the MVVM series and is a good example for creating localized MVVM WPF applications.

Go For It

Writing an article is really a lot of work.  Not to mention that it is hanging out there for the world to see and comment on.

I want to encourage readers of this blog to go for it.  Write an article and start your blog.  You will grow technically and professionally. Additionally, you will also get a sense of satisfaction from contributing to the development community.

Have a great day!

Just a grain of sand on the worlds beaches.


Ocean Framework Released – MVVM for WPF Line of Business Update

January 26, 2009

WPFLOBMVVMapplicaiton1

WPFLOBMVVMSolutionItems

As part of my new MVVM articles, I’m posting the Ocean Framework source code.  The Ocean Code Generation pieces will follow in February.

The M-V-VM Home Page has been updated.

The WPF Line of Business – Demo Application Source has been posted.  (Ocean Framework source is part of this.)

The WPF Line of Business – Introduction as been posted.

This series of MVVM articles targets those unfamiliar with MVVM or who are learning this wonderful WPF UI Design Pattern.

Close

I hope you find this material useful and can learn more about MVVM and WPF from it.

Have a great day!

Just a grain of sand on the worlds beaches.


Searching Your Source Code – Getting Results From Vista File Indexing

January 25, 2009

About a week ago I needed to search all my source code to find a value contained within one or more files.  The search never returned any results.  So it was either turn the thing off or figure out the problem.

I feel like the last guy to figure out how to get the most from the Vista File Indexing feature, but just in case you don’t know about this, here we go.

Desired Result

Want to be able to enter a search string in the Windows Explorer Search Box and have it list all my code files that contain that search string.

Steps

  • Open Control Panel
  • Click on Indexing Options
    • You can modify file locations if desired.  I’m using the default as it works for me.
  • Click on the Advanced button
  • Click on the File Types tab
    • (continued below …)

IndexingOptions

Important Step

Below the dialog displays a list of file types on your system and how the Indexer indexes that file type.  You can also add any missing file extensions.

You’ll notice that for each file type you can select to index just the file properties or the file properties and the content.

Notice that I’ve changed the indexing behavior for my .vb files so that the content is indexed along with the file properties.  How simple is this?

I also have changed the .xaml and .cs files to index like the .vb files.

Now I have instant access to all my source code content.

IndexingAdvancedOptions

At your option you can now switch back to the Index Settings tab and press the Rebuild button to have you’re source code indexed immediately.

Have a great day!

Just a grain of sand on the worlds beaches.


Training Day: Creating WPF Line of Business Applications (M-V-VM) Using C# and VB.NET

January 8, 2009

I’m very pleased to announce a one day training event, Creating WPF Line of Business Applications (M-V-VM) Using C# and VB.NET.  This is your opportunity to spend a day learning the WPF UI Design Pattern, Model-View-ViewModel.

Jaime Rodriguez, Beth Massi  and I will be conducting the training and lab time.

Registration

http://acteva.com/booking.cfm?bevaID=174444

When

Saturday, Jan 31 2009 from 8:00am – 6:00pm

Location

Hewlett Packard Building 48
19447 Pruneridge Ave., OakRoom
Cupertino, CA 95014

Minutes from San Jose International airport.

Bring

For the labs, bring your laptop with Visual Studio 2008 and .NET 3.5 SP1 installed. 

Abstract

This all day training event is designed to teach developers how to create WPF Line of Business Applications that can easily be Unit Tested. The Model-View-ViewModel (M-V-VM) pattern will be used as a guideline for the application structure. Many aspects of WPF LOB programming will be covered including validation, logging, UI entry error notification, exception handling, layered application architecture, Unit Testing and a short introduction to memory profiling.

At the end of the day, developers should have a good grasp on M-V-VM and how to create their own testable WPF LOB applications.

For the lab time, we will provide an application walkthrough that attendees can complete during the lab time. Walkthrough will be in C# and VB.NET.

Additionally, if you have a current WPF application and want to move it to M-V-VM bring it with you on your laptop. You can get started on the project during the lab. This way you’ll have hands on help to get to up and running.

Sponsored By

Bay.NET User Group

Special Thanks To

I want to thank Mathias Brandewinder, Oliver Nguyen, Doug Skinner and Bruno Terkaly for their help in organizing this event.  A lot of behind the scenes work goes into event organizing and I’m thankful for their time and expertise.

I also want to thank Hewlett Packard for providing a wonderful venue for this training day.

Training Day In Your Area

If you are interested in hosting a training day or days in your area please contact me by leaving a message on this post and I’ll contact you directly.

Hope to see your there, and have a great day!

Just a grain of sand on the worlds beaches.


Code Project MVP For 2009

January 5, 2009

I’m very proud to announce that I was selected as a Code Project MVP for 2009.  I was also a Code Project MVP in 2008.

Code Project has a been instrumental in me learning and sharing about WPF and .NET.  I have met many good friends on Code Project and love reading their articles.

If you have not jumped off the cliff and published a Code Project article, go for it!  You’ll be very glad you did.

This is a great beginning to another wonderful year as a .NET developer and WPF fanatic. 

Thank you Chris Maunder and Code Project.

Have a great day!

Just a grain of sand on the worlds beaches.


Won 3rd Prize at www.community-credit.com

January 1, 2009

I was notified this morning by David Silverlight of www.community-credit.com that I had won 3rd prize for logging my community work for December 2008.

This time I won The Lego Calendar.  How cool is this!  All prizes award this and every month can be viewed here.  Trust me, David awards only the super geek stuff.

Supplied in three blocks displaying day, month and year which can, thanks to their Lego brick type design be assembled at will, each yellow, white and red block measures in at 80mm square with the click over display being changeable with a simple depression of each of the blocks.

lego_desktop_calendar1 

I joined Community Credit on 21 Dec 2007.  It is a super web site where developers can log their contributions to the world of computing and developing.  You don’t log work related items, just things you do outside of work and then give or expose to world, usually over the Internet in the form of articles, tutorials, code examples, presentations, attending community groups and code camp.

This is an international site.  So you are in effect competing with developers all over the world.

This site is an awesome resource for logging your efforts for MVP consideration or as part of your on-line resume.

It’s all about sharing and learning from one another.  Trust me, you have skills, techniques, methods, ideas or programs that will be of value to many others.  So contribute and have fun too!

Just a grain of sand on the worlds beaches.