Tag Archives: NHibernate

Arrh! Invocation Error! NHibernate

I had started to get this annoying error when I ran my web app: Exception has been thrown by the target of an invocation. Simple fix. Add back those virtual keywords onto my POCOs that somehow disappeared. public int Id … Continue reading

Posted in NHibernate | Tagged | Leave a comment

NHibernate, IoC and removing that damn Log4Net dependency

Ok, so Log4Net is not that bad. It is a very good logging system, etc… So how do you perform IoC with the NHibernate logger? Well, you can’t. Unless you are ready to HACK CODE. That’s the brilliant thing about … Continue reading

Posted in ASP.Net | Tagged , , | Leave a comment