dbones notes
its a geek thing

Getting the 'Tag Frequency' using NH Linq

August 28, 2010 17:11 by Dave
I wanted to have a Tag cloud on a blog site I am working on. For this I needed to have the Tag's and the frequency they appear on Articles. Using the NH 3 its really simple using the Linq provider (now included). HERE is the Table structure Article     Id Article... [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags: ,
Categories: Database | dotNet
Actions: E-mail | Permalink | Comments (0) | Comment RSSRSS comment feed

Caching Interceptor with Windsor

August 26, 2010 21:36 by Dave
I am currently building a web application on the ASP.NET MVC 2 framework, I think its a great framework for MVC. However I am using a couple of other frameworks including Castle Windsor to look after my objects. I noticed I had some functions which could be quite costly in the time they run ... [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags: , ,
Categories: dotNet
Actions: E-mail | Permalink | Comments (0) | Comment RSSRSS comment feed

Using DataAnnotations with NHibernate

August 13, 2010 22:04 by Dave
There are many validation frameworks the main one is NHibernate Validator, which uses its own set of Attributes. I wanted to use the DataAnnotation Attributes as they are supported by Asp.Net MVC out the box. Im sure there are some solutions for this (xVal). However I thought I would look int... [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Whiteboard Released

June 23, 2010 22:59 by Dave
Whiteboard is a chat web application, consider it a proof of concept. The goal of this project was to design and implement a web application using Design Patterns and Open Source Frameworks Technology Stack NHibernate (using Linq to NHibernate) FluentNHibernate Castle Windsor AutoMapper ASP.NET MVC... [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Nhibernate: Self Reference Object

April 6, 2010 21:29 by Dave
I needed to see if i could make an object which references another instance of the same class. Here is a quick example (Im using FluentNhibernate) of a Staff class, each staff member can have a manager, and they can have a number of reporties This leads to this simple class: [cod... [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Ninject version 2

March 26, 2010 23:20 by Dave
i liked the look of version 1, and there was mention of version 2, however it went quite. After a while I stopped watching, but I just noticed that Version 2 it out!!! Happy Days!!! I have yet to have a real look. however there looks like a lot of work has gone into this (the code base... [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags:
Categories: General
Actions: E-mail | Permalink | Comments (0) | Comment RSSRSS comment feed

TinyPlug

March 26, 2010 21:46 by Dave
An initial release of TinyPlug is out! you may be asking what is that.. Well its a small plug-in manager. It was born due to a side project requiring a simple plug-in mechanism. It’s not in competition with any other manager, and should not be mistaken for an IOC container (MEF co... [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

"Unkown Error" with SharePoint 2007

March 8, 2010 16:37 by Dave
A useful article to any SharePoint developer http://madhurahuja.blogspot.com/2008/01/reveal-unknown-error-on-sharepoint-2007.html finally find out what the actaul error is!!

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags:
Categories: dotNet
Actions: E-mail | Permalink | Comments (0) | Comment RSSRSS comment feed

NHibernate in Dec MSDN

December 7, 2009 20:56 by Dave
Ayende never ceases to amaze me, I just wonder where he finds the free time (must be cloning). Anyway, he has written a simple TODO list article which uses Object Relational Mapper Presenter View View-Model Number of Design Patterns By the loo... [More]

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags:
Categories: alt.net | Database
Actions: E-mail | Permalink | Comments (0) | Comment RSSRSS comment feed

The list of TDD anti patterns

December 4, 2009 17:32 by Dave
when writting unit tests you may wonder, what im i actually doing? I follow the AAA pattern, well try to ;).  anyway I found this link on StackOverflow, which has a list of anti patterns for TDD (Unit testing) http://blog.james-carr.org/2006/11/03/tdd-anti-patterns/ well worth... [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags:
Categories: Test
Actions: E-mail | Permalink | Comments (0) | Comment RSSRSS comment feed