Architecture

Currently Browsing Category 'Architecture'

Simple Injection Example

by Joseph on Jan 29th in .Net, Architecture, C#

Today I was asked an interesting question: how do I test a method which writes to a database, without writing to the database. My answer, of course: “Interfaces”! But… what if you don’t know HOW to do interfaces? My goal in this post is to explain Dependency Injection and Inversion of Control without actually using the words […]

C# Plugin Architecture

by Joseph on May 12th in Architecture, C#, DLLs, Plugins

Working with DLLs and C# plugins can be an interesting problem. In our particular case, I needed to be able to drop in a dll (not known at compile time) based on a known interface, and have it discovered an run during runtime. I found the following video that made everything crystal clear:http://www.johnkoerner.com/index.php?/archives/43-Creating-a-Plugin-Architecture-in-C.html Other interesting […]

Powered By Wordpress Designed By Ridgey