Geeks With Blogs

News Locations of visitors to this page
Brian Genisio's House of Bilz July 2008 Entries
Active Record "Mock" Framework
Recently, I have been working on my Castle ActiveRecord talk. I am writing some WCF services that will be consumed by a Silverlight client. Because I write my code using TDD, I needed to be able to write tests against the WCF services. I wanted to mock out the backing store for my objects, but with ActiveRecord and NHibernate, this is not so straight-forward. Instead, I came across a post about mocking the backing store for NHibernate tests. The idea is that you use SQLite in "memory-mode" as your ......

Posted On Tuesday, July 22, 2008 8:24 PM

Response to "Self Promotions vs Other Relations"
I had an interesting conversation with someone on Twitter today. He spoke up while I was giving a playful response to someone else. I felt like from there forward, he was misrepresenting me by misquoting me ("everything we do on Twitter", for instance, was a quote I didn't say) and inflating my language by using "everyone", "all the time" and "everything". It ultimately ended up in a blog post of his criticizing my position. I don't know this guy. He might be a troll... he might not... but I felt ......

Posted On Monday, July 21, 2008 8:54 PM

Comments
Recently, while refactoring an old mess of code, I came across the following: 1: ArrayList result = new ArrayList(dictionary.Count); 2: 3: // Loop through the dictionary and add it to the ArrayList 4: for(int iNdx = 0; iNdx < dictionary.Count; iNdx++) 5: { 6: DictionaryItem dictionaryItemValue = dictionary[iNdx]; 7: result.Add(dictionaryItemVa... 8: } What is wrong with this code? For me, I see following: ArrayList when we should be using a List<> "for" when we should be using "foreach" ......

Posted On Saturday, July 19, 2008 12:08 AM

Active Record Talk
So at the Ann Arbor .NET Developer's Group meeting the other night, I decided to give a 10 minute "lightning talk" version of my Castle ActiveRecord talk. People seemed very interested in the concept and I will be giving a full-length talk on the topic on September 10th.Unfortunately, my company considers my first demo and presentation to be their IP and I can't use it for a public talk. Because of this, I need to come up with a new demo and a new PowerPoint stack. I suppose this is not the worst ......

Posted On Friday, July 11, 2008 8:16 PM

PDC 2008
I just signed up for PDC this year and reserved my airline ticket. I am excited to go to this, as it will be the highest profile development conference I have ever attended... by far. It will suck being away from my wife and 18 month old daughter for that long, but I think this conference will be a good thing for me.Before I started my .NET job 2.5 years ago, I only had 1 year of Windows development experience. Before that, it was all cross-platform, unix-like environments. Windows is still relatively ......

Posted On Thursday, July 10, 2008 8:08 PM

Castle Active Record
I have recently gotten into databases at work. I HATE programming against databases. I have spent the majority of my career avoiding jobs where I need to program against them. I just don't like doing it. I mean, they are great for persistence and retrieval, but I hate how muddy they make the code... all the CRUD (Create, Retrieve, Update and Delete) code that needs to be written... all the special queries... yuck.Which is why in my current project (a re-architecture of an existing system) when it ......

Posted On Tuesday, July 8, 2008 7:27 PM

Copyright © Brian Genisio's House Of Bilz | Powered by: GeeksWithBlogs.net