Dependency Injection and Interception with Ninject and MVC3
by rcats on December 24, 2010
MVC really helps in creating clean code and seperation of logic vs layout. However, MVC is not going to help you keep your controllers clean of implementation details; you’ll need some form of a factory, inversion of control or dependency (…)
Interception with Ninject: Linfu vs DynamicProxy2
by rcats on December 24, 2010
So a couple of weeks ago I started playing around with Ninject and the extensions for WCF and Interception. I ran into a problem Remo Gloor (who is working on the ninject project) helped me out with and I figured (…)
Creating an Abstraction Layer with POCO entity generator
by rcats on December 20, 2010
When creating a decoupled (web)application using interfaces is a given. Where I always run into trouble is when using tools like LinqToSQL or Entity framework, my code get’s coupled to the context. It’s not always a problem, but sometimes it (…)
Add Facebook to your MVC 3 site with Razor @helpers and the Facebook.Helper library package.
by rcats on December 19, 2010
I’ve been experimenting with some of the CTP’s and beta products Microsoft has been releasing over the past couple of months. There’s some really good stuff available to us today, like MVC3, Razor, CodeFirst Entity framework, @helper libraries, NuGet and (…)