Geeks With Blogs
Boy Meets 'Hello World' Blogging the journey from College Grad to .NET Developer
I've been working on a WPF program (which once again, as expected, justified my belief that I will never find enjoyment in programming any UI)... Luckily, my program is just one-way... it is used for reporting, no input needed here besides just moving around. So, I implemented most of it in labels. Later I realized, however, that some of these labels ......

Jonathan Starr joined in the "to var or not to var" discussion that occurred recently with his post "Code Redundancy Is NOT Necessarily Bad". No, I'm not jumping into the ring with this whole var thing. Not much anyway. Ok, maybe a bit at the end, it's all Jon's fault, the text box on his comment section is too small, so I made a post instead, and that ......

Ok, I admit, I didn't know what ThreadStatic was before today. I'm going to chalk it up to the fact that I don't deal (or, at least, hadn't dealt up until recently) with multi-threaded situations. This all came when, partially by the fact that I am not liking the conclusions I drew on this post, I have started to look more at a static method. While ......

One of the common scenarios I find myself in is needing to be be able to mock an object instantiated during the lifecycle of another object. For example, a service object might need to, on receiving one message, create an entity, and on receiving another message, call some method on that entity. The easy way to do this is to make a builder as a service ......

I use Resharper's unit test runner for running my unit tests while coding. I got sick of having to use my mouse to run my tests, but I couldn't figure out a good way to do it using Resharpers available key bindings. When the application is focused on the text editor window, you basically had two options for key bindings: 1.) Context Run. I'm not sure ......

This is a weakness of mine that I just can't seem to shake, and I think it's starting to affect my productivity. As the single OOP developer at work, I don't have a senior developer to smack me over the head and say "get over it." Basically, I've been taught to keep my data encapsulated. At some point, the user wants it back. I don't want to give it ......

UPDATE (6/20/08): If you are at all confused about some of the techniques outlined in the blog posts by Udi and Ayende I discuss below, specifically about their multithreading-capabilities, you might want to check out my future post here. --- One of the first issues I have already found myself having to deal with in my game is the idea of how messages ......

Ok, in the spirit of DRY, I'm going to write this blog post once, describing my main ideas for the game I've finally decided to start working on. More than just slappy fun, I've decided to implement this game in a hard-core message-passing style, taking hints from the likes of Udi Dahan and Greg Young (note I said hints, so if one of them is reading ......

Recently, after some analyzing some of the controllers I was building using ASP.NET MVC, I found that my controllers typically have the same pattern. They all have some dependencies injected into them through the constructor, each action calls a method on one of the dependencies (typically using the arguments of the and gets a result back), and depending ......

I often have found that working with small, immutable objects can be very helpful. First off, they are extremely easy to test, typically not needing any sort of mocking involved. Second, due to their immutable state, you can easily override Equals to use to your advantage. The advantage I'll talk about today is the ability to introduce a new test seam ......

Copyright © mhildreth | Powered by: GeeksWithBlogs.net