Derek Stegelman

Hello, I'm Derek — developer, father, speaker, and bourbon drinker.

I'm an Assistant Director of I.T. at Colorado State Unveristy. I am interested in web development, bourbon, and being outdoors.

Latest Writing

DotNet Core with Shibboleth

One of the more difficult and painful changes while migrating our enterprise applciations to DotNet Core has been supporting Shibboleth authentication and consequently, implementing our group based authorization system. There are a few main things we have to implement in our applications in order to leverage Shibboleth. Grab the current …

Foreign Key Dropdowns with .NET MVC 5

One of the more difficult form controls in web development is adding drop downs for foreign key relationships. .NET MVC gives you several different options for generating form markup from different types of models. However, the method for foreign keys and drop down lists is a bit more work than the rest. Given the following models: …

Global Template Objects with .NET MVC 5

In modern web applications it is often convienient to have certain content or database object available to all views throughout an application. Good examples of this are avatars, usernames, and user content such as first and last names, and email addresses. Most modern web frameworks have an easy way to accomplish this. For instance, …

Custom Authorize Attribute in .Net MVC

I’ve recently been doing most of my coding within the .Net space. As such I’ve found myself trying to repeat several of the patterns available within the Django Framework. One of those common patterns is authentication/authorization and easy ways to apply these to various controllers/views. It’s sometimes necessary to …

A New Path

The next few weeks are sure to be a wild ride. After spending well over half of my career with Kansas State University, I’ve decided to accept a new position as Assistant Director of I.T. for Application Development at Colorado State University, College of Health and Human Sciences. I’ve had a great opportunity to grow and …

RocketChat API Wrapper

Today I open sourced a library for dealing with the RocketChat API. If you’ve never heard of it RocketChat is an open source chat platform similar in feature set to that of Slack and HipChat. It was recently adopted by my organization as an internal tool. In the past my team has used HipChat as our main communication platform and it …