Welcome to MSDN Blogs Sign in | Join | Help

UK Application Development Consulting

Your dev. Our passion.

Browse by Tags

All Tags » C#   (RSS)
New .NET Attributes
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...
And now for something completely crazy: Binding without WPF
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...
foreach keyword or ForEach<T> extension method?
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...
Using .Select() instead of foreach
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...
10 reasons to consider WPF for your next desktop application - Reason 9. Printing
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...
10 reasons to consider WPF for your next desktop application - Reason 7. The ListView
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...
10 reasons to consider WPF for your next desktop application - Reason Number 6: Layout.
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...
10 reasons to consider WPF for your next desktop application - Reason Number 3: DataTemplates.
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...
Improving ObjectQuery<T>.Include
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...
Page view tracker