Img_0738_large

Kevin Rich

What do Website Analytics and HR Development have in Common?

I read an interesting article from E-Nor explaining the new Google Analytics 360 suite that allows the development team to "starting with a measurement strategy and implementation, then moving to actionable insights and working your way to optimizing your digital experience with data driven decisions."

What is really interesting to . . .

Read More

March 23, 2016

What is SCRUM

Baby don't hurt me...

A basic introduction to agile methodology. It's fairly short and fun.

Read More

March 22, 2016

Autofac registering a dependency for non-existent library

A case in which the problem wasn't in the code

Problem

Last week, our team ran into an issue which was, individually, leaving us scratching our heads. In the end, the entire process boiled down to one hidden checkbox.

We were receiving the following exception:

None of the constructors found with 'Autofac.Core.Activators.Reflection.DefaultConstructorFinder' on type . . .

Read More

February 14, 2016

Using Dependency Injection for Implementation Enumeration

...There is probably a better name for this

Scenario

I'm building a system that will look at a lot of transaction data and determine if each transaction qualifies for one of many criteria. At a high level, I'm asking "Does this transaction qualify for any or all of sales criteria A, B, C,...,N?"

This entry will examine a poor approach without dependency injection, . . .

Read More

February 08, 2016

SMTP Service

...but why?

I've recently started adding the following interface to most of my web applications in which a requirement is to send automated email notifications.

using System.Net.Mail; namespace MyApp.Core.Service { public interface ISmtpService { void Send(MailMessage message); } } 

And the code implementation is very basic:

using System.Net.Mail;  . . .

Read More

January 31, 2016

Querystring search in MVVM

How I skipped the controller in an ASP.NET MVC View

The goal is to present a search bar that shows results to the user, while still allowing for a direct link to a search result without using the ASP.NET controller to pass the search identifier to the view. Why without playing with the controller? Why not.

With Kendo MVVM, this is actually pretty easy.

<div id="content">  . . .

Read More

January 24, 2016

Using JavaScript to get a querystring by name

Recently, while developing a MVVM app, I found a use case for using JavaScript to get the querystring from the current page. In this particular case, the page pulls a page with a search bar, but I want to be able to link to the specific search results without requiring user interaction.

My final solution was found on Stack Overflow

 function . . .

Read More

January 14, 2016

Archive

Cover image credit: http://whoiskevinrich.com