Geeks With Blogs
Bob Palmer's Developer Blog .NET, SQL, and Silverlight Development November 2009 Entries
Checking for a single value in an item's bag in NHibernate
One of my current side projects is my wife's archaeology site. For her forums, we decided to go with a 'tag' system, where each message has multiple tags, and clicking on a tag link finds other messages with that same tag. In the sample below, I find all Topics who have at least one Tag in their Tags bag matching the passed TagID. Since a user could potentially start a search with no selected tag, passing a zero value will bypass the tag search, and just return the most recent posts (as determined ......

Posted On Sunday, November 29, 2009 3:10 PM

NHibernate 2.1 Configuration for SQL 2005
This took a lot of google foo and twiddling, so I figured I would post this. That, and I fully expect I'll be scratching my head a few weeks from now and wondering where I put my sample XML ;) The configuration file below assumes that you have included the bins from the following folders included with the NHibernate download (I use 2.1.1): <Your NHibernate install frolder>\Required_For_La... <Your NHibernate install frolder>\Required_Bins\*... And here's the App config ......

Posted On Saturday, November 21, 2009 9:35 AM

Geeking out with NHibernate and Membership Providers
My wife finally cornered me into rebuilding her website. This decision was partially influenced by her trying to find the FrontPage 97 CD so she cound change some content... and enough was enough. Because nobody should be forced to have a website relaint on Frontpage (at least not in the 21st Century). Since all of my personal projects are used as springboards to learn new stuff, and since we are in the middle of an ORM code-off at work, I figured this would be a great chance to play with both MVC ......

Posted On Sunday, November 15, 2009 11:12 AM

Copyright © BobPalmer | Powered by: