Recently I've been looking to move away from the repository pattern. I always seem to end up with a bunch of classes that end with the word "Repository" but are far from the original intent of the pattern. The classes are large and unwieldy, clearly violating the Single Responsibility Principle.
When I was first learning to program I was taught that you must comment your code. All good programmers provide nice descriptive comments for everything they write. If you don't comment your code, you're a horrible person.
I took this to heart and heavily commented my code. However, as time went by I noticed some problems with this . . .
Here’s a nice little cheat sheet of the most common commands I’ve been using in Git, to push my changes out to Github:
#change directory to c:\dev\projectscd /c/dev/projects#get the status of current directorygit status#stage all pending addes/updatesgit add .#stage all pending updates/deletesgit add -u#commit the changes with a messagegit . . .
As a .NET developer, I often find myself on the MSDN website. This is a great site with a ton of resources, not least of which is the documentation for the .NET framework.
However I notice that when I Google for something I often find myself trying to avoid links to MSDN, instead looking further down the list hoping for a Stack Overflow . . .
One of the really cool features of MVC 2 is the integration of Data Annotation validation attributes with the model binder. You can add pre-defined validation attributes to your view models (or roll your own) and the validation is automatically performed by the magic that is MVC.
Of course you’ll want to do this using TDD, so I thought I’d . . .
The past couple days have been pretty crazy. I didn’t have a chance to blog last night because I was too beat after Geekfest!
Here is some random stuff from the past 2 days:
Keynote day 2:
- The Gu gave a great keynote and talked about Silverlight pretty much the entire time. I’m really getting the feeling that this is a big piece the future of . . .
Wow, I’m beat. Just got back to the hotel after a full day at the convention. Here are some highlights:
It’s All About the Cloud
This morning’s keynote focused almost entirely on the Windows Azure stack. It seems clear that Microsoft is very serious about Azure and it sounds like it will be a big part of their technology in . . .