Author Archives:

Integrating MediatR with Web API

One of the design goals I had in mind with MediatR was to limit the 3rd party dependencies (and work) needed to integrate MediatR. To do so, I only take a dependency on CommonServiceLocator. In MediatR, I need to resolve … Continue reading 

Posted in MediatR | 7 Comments

Combating the lava-layer anti-pattern with rolling refactoring

Mike Hadlow blogged about the lava-layer anti-pattern, describing, which I have ranted about in nearly every talk I do, the nefarious issue of opinionated but lazy tech leads introducing new concepts into a system but never really seeing the idea … Continue reading 

Posted in Architecture, Design | 20 Comments

Generic variance in DI containers

DI containers, as complex as they might be, still provide quite a lot of value when it comes to defining and realizing the composition of your system. I use the variance features quite a bit, especially in my MediatR project … Continue reading 

Posted in Architecture | 29 Comments

Los Techies 2014 Year in Review

Another year of blogging, another year of inane, vapid and vacuous posts. But enough about my writing, let’s pore into the numbers behind blogging at Los Techies. We saw a departure of one of our most prolific bloggers in Derick … Continue reading 

Posted in Misc | 3 Comments

AutoMapper 3.3 feature: parameterized projections

Back in AutoMapper 3.1, I added a feature to allow for runtime values to be used in mappings: This worked great for runtime mappings, but wasn’t supported in the LINQ projections. These days, I’m pretty much solely using the LINQ … Continue reading 

Posted in Uncategorized | 6 Comments

AutoMapper 3.3 feature: Projection conversions

AutoMapper 3.3 introduced a few features to complement the mapping capabilities available in normal mapping. Just like you can do ConvertUsing for completely replacing conversion between two types, you can also supply a custom projection expression to replace the mapping … Continue reading 

Posted in AutoMapper | 1 Comment

AutoMapper 3.3 feature: open generics

One of the interesting features of AutoMapper 3.3 is the ability to map open generic types. Open generics are those that don’t supply type parameters, like: AutoMapper had some limited support for certain built-in open generics, but only the collection … Continue reading 

Posted in AutoMapper | 7 Comments

MediatR hits 1.0

I’ve been using a project I wrote/borrowed/stole from a number of internal projects and existing libraries (thanks Matt) for well over a year now, and are releasing to 1.0. MediatR helps turn complex code into simplified request/response interactions, encapsulating queries, … Continue reading 

Posted in Architecture | 19 Comments

AutoMapper 3.3 released

View the release notes: AutoMapper 3.3 Release Notes And download it from NuGet. Some highlights in the release include: Open generic support Explicit LINQ expansion Custom constructors for LINQ projection Custom type converter support for LINQ projection Parameterized LINQ queries … Continue reading 

Posted in AutoMapper | 4 Comments

Mobile authentication with Xamarin.Auth and refresh tokens

An internal app I’ve been working with for a while needed to use OAuth2 (specifically, OpenID Connect) to perform authentication against our Google Apps for Your Domain (GAFYD) accounts. Standard OAuth 1.0/2.0 flows are made easy with the Xamarin.Auth component. … Continue reading 

Posted in Xamarin | Leave a comment