-
Introduction When using a named pipe binding for WCF services one may come across errors that denote the very promising “The pipe has ended” with seemlingy random errorcode. These errors can be quite hard to debug as the error message itself is not very descriptive. I’ve come across...
-
Introduction Ever since I started using Composite WPF for both WPF and Silverlight, I’ve grown a liking towards Unity as a inversion of control container. It provides a clean way of injecting dependencies into components where I need those dependencies, without having to provide a large amount...
-
SQL server 2008 has a new feature called table-valued parameters. A great feature I tell you, because it allows developers to supply a table of values to a stored procedure for processing. One practical scenario for this is having an insert procedure that allows multiple inserts to be submitted at once...
-
Back in august I worked with a customer to build a workflow solution using Workflow 3.5. We crafted up a simple workflow where we would like to get a message into the workflow using the receive activity and then persist this call in the database, giving the caller a ticket that he can use later for reference...
-
Ever since Ruby On Rails came on the market with their RAD application development tools I was jealous. Why couldn’t we do what they do with ruby in ASP.NET and better? Appearantly Microsoft wasn’t all that happy either with the developments, because they have come up with a framework that...
-
Currently I'm hard at work on a project where we use Linq to SQL quite a lot. It has led to some interesting patterns and anti-patterns which I want to share in this article. The idea is to show some principals that me and others on the team have encountered and what you can do to prevent the same...
-
One might think that WPF is meant only for doing graphical user interface stuff, but it also contains an API to perform basic printing tasks. The printing API in WPF is actually more advanced than the one offered by windows forms so it will be a lot easier to work with. Printing a basic visual Printing...
-
The photoviewer application is getting closer to a version 1.0 release and I'm anctious to get it all done. The list of TODO items is stable now and will soon start to drop towards zero. In this 4th part I want to show a little about the new drag and drop feature I added to the collage view. Idea...
-
In a comment on part 2 about the photoviewer application Erno pointed out a problem with my photoviewer application. It uses some serious memory and it doesn't really clean up after itself. This already caused some frowns on my end with an album containing 120 images on a 4GB machine, so you can imaging...
-
You might be wondering, what is he talking about? Was there a part 1 about this application? Yes there was and it wasn't actually called part one. It was an article about custom windows in WPF and how I made one myself for my photoviewer application. This part however is going to be about the collage...
-
In my spare time I have been working on a photoviewer application. The main reason for spending time on this project was to check out the functionality offered in Composite WPF and WPF in general. This is sort of a way for me to discover what is missing in Composite WPF. But the main reason for having...
-
Last week I have been working on our workflow solution where someone discovered that in some cases it appeared that certain workflows did not complete and would never wake up again. It took me a while to figure out why this was the case. We host our workflows in IIS and there we use the ManualWorkflowSchedulerService...
-
Introduction One of the subjects that I didn't bother to look into is themes in WPF. Although I figured that it would be kind of cool to create custom buttons, comboboxes and menus it wasn't something I found the most important feature of WPF. This is mainly because I find it more important to have an...
-
Although Microsoft delivered Composite WPF with the unity container it is possible to use a different IoC container. In this post I will explain how it can be done and what caveats you are going to encounter when replacing the IoC container in Composite WPF with Spring.NET Where to start Replacing the...
-
Vacation is the best time to solve some serious puzzles, at least it is for me. The problem I was having with Composite WPF was the fact that I could create composite user interfaces, but there wasn't any support for showing views in dialogs. And because dialogs are widely used I had to come up with...