Advanced Episodes

# 150 Adding IoC Support to your WCF Services

10/3/2009

Level: Advanced

Author: Derik Whittaker

Tags: IoC WCF StructureMap

Views: (961) Watched: (4491)

In this episode we are going to take a quick look at how to setup your WCF services to use an IoC Container.

When building out a set of services in WCF you still would like to follow the SOLID principles and in order to do this you may want to setup the ability to inject dependencies (via Structure Map) into your services at run time. With WCF extension points this is not only possible, but pretty easy

# 63 Introduction to NHibernate: Collection Relationships (Part 5)

11/6/2008

Level: Advanced

Author: Chad Myers

Tags: NHibernate ORM

Views: (427) Watched: (2455)

In this episode we will continued our dive into how to use NHibernate.

we’ll discuss some of the types of collections (bag, set, and list), some of the features NHibernate offers for loading, sorting, and pre-filtering collection data, and how cascading and transparent lazy loading works with collections of related objects.

Check out Episode #50 for an Introduction to NHibernate
Check out Episode #51 for an Setting up your mappings
Check out Episode #53 for an Configuring NHibernate
Check out Episode #54 for an CRUD and Basic Transparent Cascading
Check out Episode #57 for an More Basic Usages

# 60 Setting up Castle Windsor for Auto Registration

11/4/2008

Level: Advanced

Author: Kyle Baley

Tags: Windsor Castle IoC

Views: (661) Watched: (2842)

In this episode you will learn how to create convention based auto registration for our dependencies.

We will walk you though all the needed steps in order to create your own convention scanner for Windsor. Having these convention scanners will allow you to not have to manually wire future dependencies as long as they follow this pattern.

# 59 Leveraging Cecil to inject code into your Assemblies

10/25/2008

Level: Advanced

Author: Jason Bock

Tags: Cecil

Views: (762) Watched: (2665)

In this episode you will learn how to leverage the power of Cecil to alter your assemblies post compilation.

You will learn how to use Cecil (an assembly reader-writer from the Mono project) to inject common code implementations into an assembly. This frees up the developer from writing mundane yet necessary code and helps them focus on solving the problems at hand.

# 48 Contextual binding with StructureMap

9/24/2008

Level: Advanced

Author: Derik Whittaker

Tags: IoC StructureMap

Views: (475) Watched: (2727)

In this episode we will walk you though how to do contextual binding with StructureMap 2.5.

What is Contextual Binding? Contextual Binding is the ability to switch out different concrete implementations of a service (i.e. class) at runtime depending on the context in which they are used.

# 31 Advanced Usages of LinqPad

7/31/2008

Level: Advanced

Author: Derik Whittaker

Tags: LinqPad

Views: (579) Watched: (3584)

In this episode we will walk you though how to use some of the advanced features of LinqPad.

By the end of this episode you will see how you can load external assemblies into LinqPad and use them in your statements.

# 11 Preserving Routes for SEO using the MVC Routing Engine

6/13/2008

Level: Advanced

Author: Derik Whittaker

Tags: MVC

Views: (391) Watched: (4517)

In this episode we are going to take a look at how to use the Routing Engine that is part of the Asp.Net MVC framework to allow us to preserve old or dead routes in order to not break external links.

We will walk though create the new route, watching it hit our new controller action then finally testing the new route to ensure they both work.  By the end of the session we will have two valid routes that both render the same view

# 4 Unit testing events with NUnit

5/27/2008

Level: Advanced

Author: Derik Whittaker

Tags: NUnit Unit Testing

Views: (483) Watched: (3060)

In this episode we will cover how to test events that are raised from an object.  We will cover multiple different ways to do this.