Browse by Tags
All Tags »
C# (RSS)
The very first talk I gave on .NET was on custom attributes – some time way back in late 2000 or early 2001. At the time I was espousing the benefits of using custom attributes to add on details of unit tests and bug fixes. There have been many additions
Read More...
I was struggling with a rather complex ViewModel (from Model-View-ViewModel or MVVM) that was actually composed of a number of ViewModels. Most of the problems was internal notification of change - i.e one ViewModel wanted to know when another ViewModel
Read More...
Is this a question of taste, or something more serious? [ Warning : this post won’t change your life J ] I found myself writing the following extension method yet again the other day; public static void ForEach<T>( this IEnumerable <T> source,
Read More...
As astute colleague noticed something funny in my recent post . Specifically, this piece of code: postsWithCount.AsEnumerable().Select(pd => Rebuild(pd)); private void Rebuild(PostData postData) { Post post = postData.Post; post.User = postData.User;
Read More...
This is the 9th post in the series 10 reasons to consider WPF for your next desktop application by Josh Twist, this part explores Printing in WPF. You can view the other reasons in the series below: Reason 1 - Rich Content Model Reason 2 - Databinding
Read More...
This is the 7th post in the series 10 reasons to consider WPF for your next desktop application by Josh Twist, this part explores the ListView in WPF. You can view the other reasons in the series below: Reason 1 - Rich Content Model Reason 2 - Databinding
Read More...
This is the 6th post in the series 10 reasons to consider WPF for your next desktop application by Josh Twist, this part explores layout ini WPF. You can view earliar posts in the series below: Reason 1 - Rich Content Model Reason 2 - Databinding Reason
Read More...
Here is part 3 of Josh Twist's 10 part series on the reasons to consider WPF for your next desktop application, this part explores the topic of DataTemplates. Earlier I introduced a series of posts entitled 10 reasons to consider WPF for your next desktop
Read More...
Stuart Leeks recently put together a great post on improving the 'Include' method on ObjectQuery<T> demonstrating how lambda expressions can be used to ensure type safety. Enjoy! One of the great features of LINQ To SQL and LINQ To Entities is that
Read More...