Img_0738_large

Kevin Rich

AWS HTTPS Redirects

and why understanding the Stack Overflow answers are just as important as knowing they are there

I love Azure. Like a lot. As primarily a .NET guy, Azure makes everything pretty much easy. I think AWS wants to be .NET friendly, but they just don't seem to be there yet.

Recently, I was tasked with forcing HTTPS on a .NET Framework site that lives on AWS in Elastic Beanstalk. After some digging and some false starts, I found this . . .

Read More

December 12, 2017

Data Lake vs Data Warehouse

What's the difference anyway?

So I was recently helping a buddy of mine prepare for an interview. He hasn't had a ton of cloud experience, so I was showing him what I know. I made an offhand reference to a data lake and he asked something along the lines of, "Is that like a data warehouse?"

I got to break out my favorite analogy

A data lake is where you go . . .

Read More

September 19, 2017

Configuring ASP.NET Core 2.0 Authentication

Global Authentication Filters for Projects for both OpenID Connect Users and JWT Bearer Token Daemons

Problem Statement

I'm building a ASP.NET Core 2.0 Web Application with MVC. I want the following:

  • MVC Controllers
    • Secured with Azure ActiveDirectory Authentication
    • Authentication Challenges should redirect user to the login page
  • WebApi controllers
    • Secured by JWT Bearer Tokens
    • Authentication Challenges should return 401 (Unauthorized) . . .

Read More

August 18, 2017

.NET Console App Tools

Part 1: ManyConsole

Recently, I was working with a developer who was putting the final touches on a command-line tool. I usually opt for a good Web-App and API, but it got me thinking about a pair of tools I've used to package up Windows console applications for use. ManyConsole makes command-line parameter creation and documentation easy and Fody abstracts . . .

Read More

June 02, 2017

Choosing Your Identity (Server)

A Willamette Valley Software Engineers Presentation

I was fortunate enough to catch a two day deep-dive of Identity Servers and .NET Core presented by Brock Allen at DEVIntersection last fall and have been playing with it here and there for the last six months. I'm finding myself becoming more and more obsessed with ensuring projects are locked down from folks at badguy.com. While there . . .

Read More

June 01, 2017

Mediaphile

This Is a Rebellion

I'm a bit of a mediaphile and I love Star Wars. So when I realized that Fatboy Roberts (the mind behind the Geek Remixed albums) had released a mix of Star Wars music, I had to jump on board. Now I share with everyone else.

Enjoy.

Read More

March 23, 2017

Entity Framework SQL Debugging

Using Lambdas to Log Generated SQL

Scenario

My boss is a SQL guy, a DBO by trade. Every now and again, he wan't to know what SQL my application is running against the database.

I am not a SQL guy. I've been using EntityFramework and lambdas from nearly the beginning of my .NET adventures. I can read and write SQL...

But why?

Solution

Lucky for me, Entity Framework provides a . . .

Read More

February 10, 2017

Archive

Cover image credit: http://whoiskevinrich.com