Have a suggestion for a cast topic you'd like to see? Please send your requests to dimecasts@gmail.com

Refactoring Episodes


# 172
4/29/2010
Level: Beginner
Tags: Dot Net Refactoring
Comments: (0)
Views: (8866)
Watched: (2469)
Downloads: (2707)
Author:
Derik Whittaker


Code Contracts: Validating state with Assert, Assume, ForAll, Exists
In this episode we are going to take a look at how to utilize some additional features in the Code Contracts library to validate the state of our application.

We are going to focus our efforts here to learn how to use Assert and Assume to validate a given value in our code. We will also learn how to use ForAll and Exists, which can be used to validate content inside of an array or a collection.
Click here to Watch this Episode

Download (17.27 MB) (7:28) (1440x900)
Download (10.91 MB) (7:28) (960x600)
# 164
2/23/2010
Level: Intermediate
Tags: Refactoring
Comments: (0)
Views: (6015)
Watched: (1524)
Downloads: (1964)
Author:
Derik Whittaker


Learning how to use Manual Mocks for Testing
In this episode we are going to take a look at how to use manual mocks for testing

Often times when creating unit tests we need to work in isolation in order to cover the paths we are attempting to test. When we want to test in isolation you can use a testing technique where you mock out your dependencies. When using Mocks you can either do it manually (what we are looking at) or you can use a mocking framework like Rhino Mocks. Either way you achieve the same results.
Click here to Watch this Episode

Download (14.32 MB) (9:30) (1440x900)
Download (10.03 MB) (9:30) (960x600)
# 163
2/16/2010
Level: Intermediate
Tags: Refactoring
Comments: (0)
Views: (5408)
Watched: (1761)
Downloads: (2058)
Author:
Derik Whittaker
 
Presented By:
Codebetter.com


Learning how to use the Extract Interface Technique
In this episode we are going to take a look at another refactoring technique, the Extract Interface technique.

This technique allows you to extract an interface from a class in order to break your concrete dependencies. By doing this you can provide yourself with better testing support as well as a better layer of abstractions.
Click here to Watch this Episode

Download (19.20 MB) (9:25) (1440x900)
Download (12.40 MB) (9:25) (960x600)
# 134
8/11/2009
Level: Beginner
Tags: Refactoring
Comments: (0)
Views: (7056)
Watched: (2010)
Downloads: (2683)
Author:
Derik Whittaker
 
Presented By:
Red-Gate.com


Refactoring Techniques: Learning the Wrap Method
In this episode we are going to take a look at a refactoring technique outlined in detail in Working Effectively with Legacy Code

We will walk though this technique and take a look at how it can help you to create better and more maintainable code.

--- Sponsor Information ---
ANTS Memory Profiler 5 out now. It’s a must have in your toolbox if you program in C# or VB.NET.
Download your free trial of ANTS Memory Profiler here.
Click here to Watch this Episode

Download (11.33 MB) (8:01) (1440x900)
Download (7.34 MB) (8:01) (960x600)