January 2016

Currently Browsing Archives For 'January 2016'

Cleaned up my sample code

by Joe on Jan 31st in GitHub

Tags The Simple Injection Example I posted on GitHub was bothering me a little. It was just kind of hideous. I went through and, hopefully, made it a little easier to follow my thought process. I went one step at a time and posted them as Releases to my Master Branch, using Release Tags. If you’re […]

C# 6 Features: CLR Version

by Joe on Jan 30th in .Net, C#, Visual Studio

Continuing in our C# 6 Features Series… One of the neat things about C# 6 is that it is backwards compatible to previous versions of .Net. Language Versions are not identical to .Net Common Language Runtime (CLR) versions – which can produce a little bit of confusion. As of today (January 30, 2016), the current .Net CLR runtime […]

C# 6 Features: String Interpolation

by Joe on Jan 29th in .Net, C#, Visual Studio

I had a few minutes, so I thought I’d get a series of posts started – really quick snippets about why C# 6 features are interesting, and why they matter. The one I’m going to start with is the one I’ve been using far and away the most. String Interpolation. Take a look at this: […]

Simple Injection Example

by Joe 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 […]

Powered By Wordpress Designed By Ridgey