Generic Support In XAML

I have worked with XAML/WPF for a while now, but it wasn’t until recently I thought about generic support in XAML. I had no idea if it was possible, so I decided to have a quick look into this.
Luckily the WPF team thought about this and do actually enable WPF developers the correct mechanisms to […]

IOC / Dependency Injection

Where I work at the moment I am luck enough to be working in a team of developers who are working with Agile/Scrum/Xp, and we were also lucky enough to have ThoughtWorks (Martin Fowlers company) come in and teach us a few things. One of the things I like was Inversion Of Control / Dependency […]

Most Valuable Professional 2009….Hooray

Today I got back from my XMAS holidays (I went to Paris….nice), to find a nice new shiny email in my inbox from the nice folk at Microsoft to say that I had been awarded the MVP award for 2009 for Visual C#.
This is a fantastic honour and one that I most pleased about. The […]

A little var love

As we all know one of the things that LINQ gives us is anonymous types that can be
used by using the selection query operator, such as
 

1: var x = new { DateNow = DateTime.Now };
 
 
Which will give us an anonymous type with a single DateTime property called
“DateNow”, which is […]

How To Bind To Generic Method In XAML

As some of you that have worked with XAML and Generics may know, there is currently no support for Generics in XAML (that is no support for direct binding of methods that use generics).
So consider this problem
That I have various bits of static data that are used through out the system, that are held as […]

Dynamic LINQ To Entities Queries Using WCF/WPF demo code

I have been working on an article for Codeproject for a while now, and I have just finished it. You can read more about this article at the codeproject link :Dynamic LINQ To Entities Queries Using WCF/WPF demo code
Those of you that have used LINQ to SQL may know that you can use variables and […]

Chart love

Just noticed that Microsoft have released a free Chart control for ASP .NET and Winforms. Totally cool.
Read more about it at Scott Gurthries blog.
Here is a small screen shot to wet your appetite

This is a nice thing of Microsoft to do, this is very very cool indeed.

Best C# article of October 2008

It has been a while but my
http://www.codeproject.com/KB/WPF/WPFScreenSaver.aspx article over at codeproject just won C# article of the month of October 2008. Hooray.
Thanks codeproject.com

How To Create A WCF Client Proxy Without Having a Deployed WCF Service

At work we are currently using a very very Agile process, which involves 1/4 hourly builds, which was all going brilliantly with a WPF solution and some Mocks and some NUnit test projects. Then we got to the point where we had to start building our WCF service and have the WPF project obtain a […]

NUnit STA Threads & Testing WPF

During the course of the WPF project we are working on at work, we decided to go down the Agile/XP/TDD/Mocks/Continuous Integration route, which means Unit tests, lots of them.
We are using NUnit, which I really like, but we are also using WPF, we are obviously using the latest/greatest patterns AKA MVVM, but from time tom […]

A Journey Into Expressions

I have been a little obsessed with LINQ and Func<T,TResult> of late and finally managed to find some time to do a little bit of exploration into the System.Linq.Expressions namespace.
I have published an article over at codeproject (http://www.codeproject.com/KB/linq/Expressions.aspx) which tells you all about how to create the following
lamda expression : (x) => x.Length > 1 […]

xamDataGrid RecordsFound Adorner

At work we are using the Infragistics .NET Advantage For WPF, one control of which is the xamDataGrid. We had a small requirement that was to show a label over the grid whenever no records were obtained for the xamDataGrid.DataSource.
Now I could have tackled this in a simple manner where I placed the xamDataGrid in […]

Lookless Controls / Themes

One of the great things about WPF is that it separates the functionality of a control from the way it looks, this has become known as "lookless controls". Which is great, but how can we ensure that our custom controls behave and also have a default look in the first place. This mini article will […]

Snippet Designer For VS2008…Hooray!!!!!

A great tool has just come to my attention, hooray. Snippet Designer for VS2008 is available on codeplex. Thank goodness, at last. You can get it using the following link
http://www.codeplex.com/SnippetDesigner/Release/ProjectReleases.aspx?ReleaseId=17407
 
And here is sneaky peak at what you get

Enjoy it.

Crack .NET

If you use WPF you have probably heard of Mole and Snoop, which are great tools, well today a member of team Mole, Mr Josh Smith, released into the wild another great tool, that like Mole allowed you to inspect objects in the managed heap. It also allowed you to alter properties like Snoop, but […]

.NET 3.5 SP1 StringFormat Binding Property Weirdness (A Rant)

There are some great things in the .NET 3.5 SP1 for sure, one of them is very useful which is the new StringFormat Binding property, which means that you do not need to write ValueConverters any more to create a formatted value for the Binding. I really like this little addition to WPF.
 
The only thing […]

WPF Screen Saver

I had a little bit of hands on my time today, so I thought about creating a WPF screen saver. A couple of hours later and I had a screen saver that does the following

Allows user to pick image folders
randomly picks a working set of images from all available images, and displays one of these […]

Notes ListBox

A while ago one of my collegues from WPF Disciples showed me a video about a WPF app that Billy Hollis had put together.
This app was written in VB .NETand had a very nice notes ListBox. There was supposed to be some source code
published somewhere, but I couldn’t find it. As such I tried the […]

A Few WPF Mysteries

I have been working with WPF for a little while now, and have written a few articles on WPF (my articles) and have from time to time been asked various questions relating to WPF development.
One of the most common questions is how the heck does something like the following work:
 
<Window x:Class="WPF_Mysteries.Window2"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
[…]

A Tree’y Spidery Type WPF Diagram Control

I recently started a new job where I am employed as a WPF developer. When I arrived the guys there gave me a brief that was to make a cool app, and they really liked the look and feel of the FamilyShow exemplar by Vertigo. Which I also love, that and Tangerine by Infragistics are […]