Views: (2934) Watched: (5935)
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
Views: (1663) Watched: (3288)
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
Views: (2227) Watched: (3642)
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.
Views: (2498) Watched: (3652)
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.
Views: (1653) Watched: (3637)
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.
Views: (1927) Watched: (4551)
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.
Views: (1497) Watched: (5276)
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