To learn more about me, check the "About Me" page on this site.

Smarter Time-limited Caching

[4/10/2015 3:50:03 PM UPDATE: I updated the definition of the Caches class to support injecting dependencies into ICaches<T> implementations.]

[7/1/2017 2:44:53 PM UPDATE: Here’s a dinky little solution that illustrates the caching solution at work:   ConsoleApp1

Also, I hate reading my old posts. :) ]

In many applications, there is a need to globally cache some information for a certain period of time, and then periodically refresh that data the next time it is called upon.

And more often than not, there are several different types of information that we want to cache using this paradigm.  And wouldn’t it be cool if we could call a single method to reset all of the caches we’re holding on to?

Here’s how I like to make that kind of magic happen… Read More »Smarter Time-limited Caching

My 20 Minute Software Developer Presentation for 7th Grade Career Day

Earlier this week, I had the pleasure of waxing poetic on all that is software development to four groups of 7th graders at a local elementary school. I figured it’d be a good idea to document the experience for other developers who might find themselves in the same situation one day (turns out, I’m not the first developer to do a career day presentation).Read More »My 20 Minute Software Developer Presentation for 7th Grade Career Day

Window Layout Management in Visual Studio 2015

We’ve all been there…  It’s 5pm at work.. You un-dock your laptop from your three 24″ 4k monitors to head home and continue the coding fest from home on your single 17″ CRT monitor that you stole from work ten years ago.

By default, Visual Studio 2013 takes all those windows you had open at work and shoehorns them all to one monitor for your viewing pleasure..  Here’s what my Visual Studio looks like sometimes when I get home:Read More »Window Layout Management in Visual Studio 2015

Connect KendoUI to MVC Web API without ODataController

This is in response to a recent post by Steve Smith (Connect KendoUI AutoComplete to MVC Action).

In his post, Steve stated that using Web API to connect a KendoUI AutoComplete with OData “can present a challenge”.

Yes, ODataControllers definitely present a challenge.. and, I admit.. the first time I tried to get KendoUI to talk to MVC without using an ODataController, I kinda wanted to pull all of my hair out.

But now that I’ve done it a couple dozen times, it’s not so bad.

I’ll walk you through the process now… Read More »Connect KendoUI to MVC Web API without ODataController

update-package… What just happened?

When you run update-package in the package manager console, it is often difficult to determine which packages were actually updated due to all of the output that update -package creates.

I find the easiest way to figure out what happened during the update process is to copy/paste the results into a text editor and run a few regular expressions over the data to shape it into something that makes sense. Read More »update-package… What just happened?