Stuart Leeks

Adventures of a web and cloud geek

Browse by Tags

Tagged Content List
  • Blog Post: Unity 2.0 – Automatic Builders

    Contents Automatic Factories Property Injection Container.BuildUp Introducing “Automatic Builders” Creating “Automatic Builders” Automatic Factories I’ve been working with Unity 2.0 on a couple of projects recently (the source is at – the
  • Blog Post: Creating database connections with Unity – part 2

    Last time we looked at how to set up the configuration file so that Unity would wire up an object that took an IDbConnection parameter in its constructor. Whilst the solution works, it is easy for the various connection strings to become buried away in the Unity configuration. Also, the application configuration...
  • Blog Post: Creating database connections with Unity

    I was adding dependency injection to an existing project and opted to use Unity configured via the application configuration file. As I was running through the configuration, I hit a type that required a  database connection which it took in as an IDbConnection reference in the constructor so I...
Page 1 of 1 (3 items)