Archive For The “Software development” Category

Loading embedded UserControls from assemblies

By | August 27, 2010

I needed a way to share custom UserControls between different projects. There are a lot of articles about this already on the web, but it did take me a little while to pick a suitable approach and work it out. I eventually settled for creating a VirtualPathProvider and embedding my UserControls in the assembly of [...]

Read more »

Replacing Entity Framework with NHibernate

By | August 17, 2010

A few weeks ago, we came to the conclusion that there are a few vital issues with Microsoft’s latest Entity Framework. I had already discovered the limitations of the designer when working with large models. To my surprise this has been a known issue for a very long time, but there no improvements have been [...]

Read more »

Creating a custom ConfigurationSection

By | May 20, 2010

Yesterday afternoon and the early bits of this morning I spent my time breaking my head on creating a custom ConfigurationSection. I kept getting an exception with the message unrecognized element ‘add’. I thought it would all be so simple! Here’s the background of why I ended up tinkering with this stuff. I wanted to [...]

Read more »

Generic factory and repositories: Part 2 revisited

By | May 18, 2010

This post is part of a series: – Generic factory and repositories: Part 2 revisited – Generic factory and repositories: Part 2 – Generic factory and repositories: Part 1 – WCSF, Repositories and Unit of Work? In Part 2 I discussed my implementation for a SimpleRepositoryFactory. I said that I wasn’t quite happy with the [...]

Read more »

Generic factory with repositories: Part 2

By | May 18, 2010

This post is part of a series: – Generic factory and repositories: Part 2 revisited – Generic factory and repositories: Part 2 – Generic factory and repositories: Part 1 – WCSF, Repositories and Unit of Work? Yesterday I posted my musings on using the factory pattern to instantiate my repositories without needing to have a [...]

Read more »