Blog Stats
  • Posts - 18
  • Articles - 0
  • Comments - 583
  • Trackbacks - 69

 

April 2006 Entries

ReSharper 2.0 Beta Now Available!

After using it for a couple of hours it looks stable and ready for use. Needless to say, it's nice to have it back in VS 2005 since the out-of-the-box refactoring support freezes the IDE 1/2 the time and takes at least a minute to complete the other 1/2 of the time. (I can finally get rid of all those extra C# using statements just taking up space!) When you install ReSharper 2.0, it forces you to install to VS 2005 hotfixes. I'm not sure what happened after installing these hotfixes, but my ASP.NET...

An alternative to "placeholder" Inheritance Mapping with NHibernate

Suppose you have a “Project” object that has 0 or more “Attachment” objects in your domain. (The Project class exposes an IList of Attachments and the Attachment has a reference to “ParentProject.”) Now you'd like to introduce a new object called “Cabinet” which can also have a number of attachments associated with it. (Cabinet also exposes an IList of Attachments.) The question is, how do we manage the relationship via NHibernate and within the database...

Dependency Injection for Loose Coupling

This post describes the use of Inversion-of-Control, or Dependency Injection, to promote loose coupling and convenient unit testing.---- Introduction In designing an object-oriented application, a major tenant of design is "loose coupling." Loosely, no mean for the pun, "loose coupling" means that objects should only have as many dependencies as is needed to do their job - and the dependencies should be few. Furthermore, an object's dependencies should be on interfaces and not on "concrete" object...

 

 

Copyright © Billy McCafferty