I'm very happy to annouce that I'm now part of the ASP Insiders. I look forward to participating in the group and providing valuable feedback to the product teams. I'm honored to be surrounded with …
TypeMock 5.3.5 – WasCalledWithArguments
I normally do not blog bile by reposting another sites news, but this news is rather importnat in regards to TDD with Isolator. I use Rhino Mocks 80% of the time for mocking, but that last 20% is …
Continue Reading about TypeMock 5.3.5 – WasCalledWithArguments →
Auto-Creating Your DB with Active Record
During some recent development the team I was experiencing some friction with databases and developing. We were using Castle Active Record and we soon realized that as new people joined the team, left …
Continue Reading about Auto-Creating Your DB with Active Record →
ASP.NET MVC – Windsor Container Controller Factory
Here is a simple class that allows you to use a container to register and resolve your instances of controllers. You’d want to do this if you inject dependencies into your controller via constructor …
Continue Reading about ASP.NET MVC – Windsor Container Controller Factory →
LINQ: Single() vs First()
Continuing on my path to LINQ greatness, I want to cover another topic that some people get confused over: LINQ’s First() vs. Single(). Both perform a particular task for us, but just by looking at …
LINQ: Any() vs. Count()
In most code that you find that uses lists you will find something like this: if(products.Count() > 0) { // Do stuff } Personally, I’ve seen this …