Dustin Brown

SQL Change Data Capture __$operation Values

In case you want to know what the value of the __$operation field means in a SQL CDC table, here ya go:

1 = delete

2 = insert

3 = update (before the update)

4 = update (after the update)

Read More

October 19, 2009

TDD Part 4: Conclusion

Well I hope you've enjoyed this series.  Again, I wasn't aiming to answer every question around TDD, as I still have many myself.  But rather I wanted to share my experiences in hopes that it might help someone else.

Also, I would really love some feedback on all this, so if you have questions or comments please let me know! . . .

Read More

July 27, 2009

TDD Part 3: Keys to Effective TDD

Silvrback blog image

When I first started using TDD, it was a struggle.  My tests seemed as complicated as the actual classes I was trying to write, and I didn’t really feel like I was getting a lot of benefit from the tests.

When I would change some code that would cause a test to fail, I didn’t really have confidence in the test.  So instead of . . .

Read More

July 26, 2009

TDD Part 2: Write My Tests First?

When I first read about TDD (many years ago), one of the first things I saw was: write your tests first.

“What? This is stupid, I’m gonna go get a sandwich.”

That idea didn’t make sense to me, and I think that’s probably the reaction most developers who don’t use TDD would have.

How can you test something that doesn’t exist?  Well, you . . .

Read More

July 25, 2009

TDD Part 1: Why Use It?

Anytime you are going try something new, there should be a reason, right?  You wouldn't just go out and spend your hard earned money on a can of New Coke unless you thought it was going to enhance your soft drink refreshment experience. You have an expectation that the taste could be better, so you try it. Maybe not a great example . . .

Read More

July 24, 2009

Test Driven Development: Introduction

Recently another developer and I have had the privilege of working on a green field project - something that we developers don’t always get a chance to do.  It has been fun, exciting, daunting, frustrating – and above all else, educational.

One thing that we wanted to try on this project, which we really haven’t done in the past, is unit . . .

Read More

July 23, 2009

ASP.NET MVC, jQuery Ajax, FireFox and IIS 6 Combine for a 411 Length Required Error

(What a stimulating title) Here's a fun nugget I recently discovered when deploying our ASP.NET MVC application to our dev server. We have a very simple editor that allows you to do basic CRUD operations, that (of course) worked great on my box.  When I deployed it, however, I couldn’t perform a delete when using FireFox.  . . .

Read More

January 02, 2009