alkampfer on September 2nd, 2011

I’ve applications that can work in two distinct configuration, they are based on WPF and MVVM, where the VM communicates with the Domain / Business Logic through services like IXxxxService. All View Models depends from one or more services and thanks to Castle I can decide with configuration file which concrete class to use for [...]

kick it on DotNetKicks.com

Continue reading about Managing remote logging with Log4net and WCF

alkampfer on February 19th, 2011

Previous Parts of the series Part 1 – The basic of interception Part 2 – Selecting Methods to intercept Part 3 – The first interceptor AOP works great if you have clear interfaces where you want to put some standard and shared logic, and a Service Oriented Application falls in this category. A service is [...]

kick it on DotNetKicks.com

Continue reading about AoP with castle part 4–Adding AoP to service oriented App

alkampfer on November 30th, 2010

I use AutoMockingContainer extensively in my test projects, and I ‘ve build over time an automocking container that satisfy all of my needs. Thanks to Castle Windsor, using complex logic with the AutomockingContainer is a breeze. Suppose you have this ViewModel Figure 1: ViewModel under test The only aspect I’m interested in is the SelectedLinkResult [...]

kick it on DotNetKicks.com

Continue reading about Castle and Automock, avoid resolving properties

alkampfer on August 9th, 2010

Previous Parts of the series Part 1 – The basic of interception Part 2 – Selecting Methods to intercept Usually the very first interceptor you can build with an AOP framework is the “logger Interceptor”, because it is simple and useful, especially when you expose some services with WPF. Consider this scenario: you expose some [...]

kick it on DotNetKicks.com

Continue reading about AOP With castle–Part 3-The first interceptor

alkampfer on August 6th, 2010

I have a little application that has a custom MVP pattern implemented in Winform. Instead of using configuration file to register all the View (implemented by windows Forms) I decided to move towards fluent configuration to use a “convention over configuration”. My convention is that all View lives in a specific namespace, and you can [...]

kick it on DotNetKicks.com

Continue reading about Castle, MVC, and verify Fluent Registration