Feb01
.NET Gem Fun
RubyGems is great for sharing Ruby code libraries.
Just for fun, I thought I’d play with the idea of using rubygems for packaging up .NET libraries. After a few hours of messing about, I finally have this.
Continue reading »Feb01
RubyGems is great for sharing Ruby code libraries.
Just for fun, I thought I’d play with the idea of using rubygems for packaging up .NET libraries. After a few hours of messing about, I finally have this.
Continue reading »Aug17
Just the other day, I thought I’d try the latest IronRuby to see if I could start using this and Rake in my .NET projects. Low and behold, it’s working great :)
Continue reading »Aug10
If you’ve ever used Ruby on Rails you’ll be aware of the goodness that is script/console. The console lets you interact with your domain model from a terminal - no need for dedicated GUI screens or tools.
Aug01
In a current solution we’re testing our NHibernate app against an SQLite (in-memory) databases. The database is created from scratch before each test runs. This guarantees that each individual test gets it’s own fresh copy of the DB.
Continue reading »Jul21
I recently remembered this old NHibernate query trick:
var found = UoW.Session.CreateQuery("from Object o").List();
Continue reading »
Jun11
I often see code that looks a bit like this:
public ActionResult UpdatePost(int id, FormCollection form)
Continue reading »
Apr30
Here’s a simple solution I just thought up for when you have multiple developers working on a project, and you want each to have their own connection string in Web.config (under source control).
Continue reading »Apr09
NHibernate in Action went on sale only three months ago, and the book team has turned it’s attention to a 2nd edition. The first step is for us to plan what the new version of the book will entail. So – dear readers – I’d like to get your opinion on this. What would you like to see in the 2nd edition?
Continue reading »Mar17
Today I was helping a friend with an NHibernate app, and noticed an opportunity to shorten some Repository code.
Continue reading »Feb24
I was looking to see if there’s anything like NHibernate in the Ruby world. With Ruby on Rails, ActiveRecord is the king of persistence. I thought it would be interesting to poke around at other Ruby ORMS to see what I could find.
Continue reading »Feb08
Here’s some live sparklines of NHibernate related projects activity over 7 days. They’re updated hourly.
Continue reading »Feb08
I’ve just started updating NHForge, which is the new home for the NHibernate community. It was something I’ve wanted to look at for a while, although the book has been eating much spare time.
Continue reading »Jan23
Last night I read all about operations databases in the Release It! book. I wish I’d read it 5 years ago. An OpsDb should allow you to monitor, analyze and forecast system stability.
Continue reading »Dec01
People often have the perception that NHibernate is some honking great behemoth of a library that should only used in massive enterprise apps.
Continue reading »Nov13
I’m currently editing Chapter 5 for NHibernate in Action (we hope to be in print in a 2-4 weeks, so this is the last time!).
Continue reading »Oct25
Leveraging code written by other developers is a big big deal.
You can ship more features in less time.
Continue reading »Oct20
I just blogged that I’m interested in using IQueryable for my repositories, so I can do this kind of thing:
Continue reading »Oct20
Usually when I write repositories, I end up with code like this:
IList<Order> orders = repos.FindOrdersByStatus(OrderStatus.Packed);
Continue reading »
Oct03
NHibernate Deep Grok launched just under a month ago. Today, there are 200 NHiberntae specific resources covered, and google has found 21,700 documents in the index.
Continue reading »Sep09
Tonights little browse around Google Code Search has found a cool looking project: Jobvertizer (that’s to browse code, project home page is here).
Continue reading »Sep09
This google code search is fun! It shows 728 results for c# IRepository interfaces used in OS projects.
Continue reading »Sep08
As any subscribers to NHForge will know, I recently announced a new NHibernate resource - NHibernate Deep Grok.
Continue reading »Aug29
Udi Dahan wrote an interesting post about how to create fully encapsulated domain models. The post, example code, and comments are all really interesting.
Continue reading »Aug22
I recently chatted about DDD Repositories and services with Jimmy Bogard and Colin Jack.
Continue reading »Aug19
It’s good to see posts about Fluent NHibernate popping up. The NHibernate FAQ blog is running a good series of articles showing various mapping techniques and usage scenarios….
Continue reading »Aug18
Chad Myers points out a fluent way of configuring NHibernate on his blog. Nice!
Continue reading »Aug17
I’ve recently been wanting to learn more about LINQ for NHibernate.
Continue reading »Aug09
Fluent NHibernate is a tool that lets you easily write NHibernate mappings.
Continue reading »Aug08
If you’re working with NHibernate, you may realize you have several options for defining your mappings.
Continue reading »