Brian Lagunas's Blog

Coding from my point of view.

BSDG - PRISM/MVVM for WPF Presentation Sample Code

June 05
by Brian Lagunas 5. June 2009 02:43
As promised, I am posting the sample code I covered in the presentation for everyone to download and start playing with.  If you have any questions or would like me to discuss a specific aspect in more detail just drop me a line. Download the Presentation Source.  This contains the all sa... [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , ,

WPF | BSDG | Prism

Write a Sortable ObservableCollection for WPF

May 14
by Brian Lagunas 14. May 2009 02:10
You probably have had the need to sort an ObservableCollection at some point in one of your applications by either ascending or descending order.  Of course, you can always use the ObservableCollection.OrderBy and ObservableCollection.OrderByDescending, but these methods just return a new colle... [More]

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: ,

WPF

CSLA: Make GUIDs required with a custom validation rule

May 11
by Brian Lagunas 11. May 2009 09:50
If you use CSLA and use GUIDs as your unique identifiers you may have need to make them required for a particular object’s property. It isn’t as difficult to do as you might think and I will show you how to accomplish this by writing a custom validation rule. I have an object tha... [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: ,

CSLA

Debugging XAML

April 14
by Brian Lagunas 14. April 2009 13:42
Okay, so I have been asked this question more than almost any XAML related question in the past few weeks; How do I debug XAML?  The problem with XAML’s powerful binding model is that it can be difficult to debug errors in your binding paths. Lets say I have the following code snippet: ... [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , ,

WPF

Analyze performance issues in your WPF application with WPFPerf.

April 08
by Brian Lagunas 8. April 2009 13:12
Do you have a WPF application that just seems to be slow in some areas and have no idea on how to track it down? Enter the WPFPerf profiling tool.  WPFPerf is a suite of performance profiling tools that allows you to analyze the run-time behavior or your WPF application.  It can also help ... [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , ,

WPF

Boise Code Camp 2009 WPF for Dummies Presentation Sample Code

March 28
by Brian Lagunas 28. March 2009 05:58
Thank you all for attending my presentation on WPF. I hope you left the room with a better understanding of WPF and how you can start using it in your applications.  As promised, I am posting a link to the sample code and some useful links. Download Sample Source Code. This contains all... [More]

Currently rated 5.0 by 3 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , ,

Boise Code Camp | WPF

NETDUG Post Presentation on WPF Data Binding

March 20
by Brian Lagunas 20. March 2009 04:54
Thursday’s NETDUG meeting was a blast. There were a lot of great questions and I hope everyone walked away with a better understanding on how to get started with WPF. As promised I am posting my sample code and the web links I mentioned during the presentation. Download the Presentation... [More]

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , ,

NETDUG | WPF

The Free Office WPF Ribbon

March 16
by Brian Lagunas 16. March 2009 16:28
So you want to use a Ribbon toolbar similar to Microsoft Word in your applications, but you don’t want to purchase one from a third party. Well if you haven’t heard already, you can get a free one directly from Microsoft. Yes, you heard me correctly, FREE, and FROM MICROSOFT. So where do you get thi... [More]

Currently rated 5.0 by 2 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , ,

Ribbon | WPF

NETDUG Presentation on WPF Data Binding

March 16
by Brian Lagunas 16. March 2009 07:25
This Thursday, March 19 at 7:00 pm at the Microsoft building in downtown Boise, I will be giving a presentation at the monthly NETDUG user group meeting.  I will be presenting on the WPF data binding model.  I will discuss the three properties for data binding, the four options to u... [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , ,

NETDUG | WPF

Boise Code Camp 2009

March 15
by Brian Lagunas 15. March 2009 13:08
If you live in Idaho, chances are you have already heard about Boise Code Camp. If not, then I suggest you check it out at BoiseCodeCamp.org. Boise Code Camp is a free community event that brings developers of all technologies together for a full day of geek glory. It is put on by developers for d... [More]

Currently rated 4.0 by 1 people

  • Currently 4/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: ,

Boise Code Camp | WPF