Month: June 2010

  • Datalayer Decisions (Repository, DAO, Services) in Domain-Driven-Design Applications

    I have been working several applications lately at work that use Domain-Driven Design. I had a couple of questions about design choices I saw made in the applications I’m working with. I recently talked to an architect who uses DDD a lot (Model first), and had the chance to pick his brain. Here’s what I…

  • NHibernate and Auto Properties

    I’ve been working through the NHibernate with ASP.NET ProblemDesignSolution (Wrox Blox), with some small changes. I’m writing my sample in C# using the .Net framework 3.5. I prefer to use auto-properties. It’s common that fields have private setters and only nhibernate can map using the backing field (set via reflection). public String City { get;…