For a while now I've been looking at ways of making it as simple as possible to create scalable searches and add ordering and paging to them when using NHibernate as my ORM. I read this article by Oren a while back and it has guided my thinking since. I had the pleasure of mentioning this to Oren at the last ALT.NET drinks in London. He grabbed Seb's laptop and threw some code together, code very
Sunday, October 26, 2008
Thursday, October 2, 2008
I Wish the Framework Team Used Interfaces More
Posted on 11:41 AM by Unknown
One of the things that often bugs me about the .NET Framework is that so many of the classes are written without an interface. A case in point is the System.Net.Mail.SmtpClient class. This is an excellent class and very useful. It extends System.Object, but it does not implement an interface. This is extremely frustrating!It's not that I would like to write my own version and swap it in, but I
Sunday, September 28, 2008
Keeping code clean - Decorators for Error Handling?
Posted on 12:06 PM by Unknown
I read a review a few days ago of the new book by Robert C Martin (Uncle Bob) 'Clean Code'. I'm going to order a copy as soon as I clear a couple of books from my current reading list backlog as it sounds interesting and the Uncle Bob blog on Object Mentor is one that I always enjoy to read. One of the things that stuck in my mind from the review was that the 'Do one thing' principle applies even
Saturday, September 27, 2008
Testing DateTime Type Properties for Value Equality in Integration Tests
Posted on 6:36 PM by Unknown
I've just been writing some integration tests to ensure that some Repositories I'm writing work with NHibernate properly, basically ensuring that the mappings do what I want. The Repository classes in question use the latest release of NHibernate (2.0.0.GA) for their implementation and I'm using MbUnit for my integration tests.To try and save on the number of asserts that I have to write I
Tuesday, September 23, 2008
Uninstalling AVG Anti-Virus SBS Edition broke my MS Exchange
Posted on 3:42 AM by Unknown
The licence for my AVG Small Business Server 2003 Edition recently came to an end and after looking around I decided that rather than renew it I'd replace it with Microsoft's new Forefront products. This is probably vast overkill, but I figured it'd be interesting to see how it all works and I generally prefer vast overkill anyway.What I discovered was that it's quite an involved process to get
Monday, September 22, 2008
ASP.NET MVC - If it feels this right it can't be wrong!
Posted on 4:19 PM by Unknown
Having had a few days leave from work I've spent most of my evenings playing with the not-so new MVC framework. It's been great to spend some focused time playing with this new toy for web development from Microsoft. One thing that I've noticed is how nicely and quickly you can start to put together powerful, enterprise happy software with it. My starting point has been a model (a bunch of POCOs
Monday, September 1, 2008
Google Chrome
Posted on 2:00 PM by Unknown
Google this and you will find a slew of links talking about a new open source browser that Google are developing.Check this link for a scanned in copy of a comic book that is apparently being sent out to various chosen people/organisations. Also this link (same site) for a description.It looks interesting, a bit more competition in this space should be good. I just hope that they implement the
Subscribe to:
Posts (Atom)