Updating an ASP.NET Core 2.2 solution that integrates with IdentityServer4

Background The very useful public demo of IdentityServer4 recently changed to limit the different flows that it supports based on updated recommendations: https://leastprivilege.com/2019/09/09/two-is-the-magic-number/ I had an existing solution written in .NET Core 2.2 that needed to get updated to support these new flows, and that implied two sets of changes… Read more »

Comparing OpenAPI / Swagger, GraphQL, and gRPC

I’ve been preparing for a talk at Twin Cities Code Camp 2020 (https://twincitiescodecamp.com/#/talks/3609) which will compare and contrast the more common and traditional OpenAPI or Swagger APIs (sometimes called REST APIs in a generally-accepted loose interpretation of the term) and the newer kids on the block: GraphQL and gRPC. Most… Read more »

Testing for the new SameSite cookie-handling changes

A topic that has been getting some heightened attention lately is the upcoming change that Chrome is introducing that will change the way SameSite cookies are handled, specifically in POST requests from different domains. The Auth0 blog has a pretty good summary of the changes, why they are happening and… Read more »

Using JSON to move beyond TVPs for multi-row updates

Many .NET applications will use Table-Valued-Parameters (TVPs) to send in a *set* of rows to be updated to a single stored procedure. Using this approach requires a decent amount of legwork to achieve: Define a “TYPE” in SQL Server to represent the table valued parameter Assign permissions to the TYPE… Read more »

Quick analysis of web logs (IIS or nginx) with the ELK stack

“Show me some stats!!” Recently I was trying to get some quick-and-dirty analysis of an API-based website done. The site was written in PHP and running under nginx on multiple Linux boxes (load-balanced). I wanted to be able to answer questions like this: How many hits per day is the… Read more »

Controlling the width of a table with Read The Docs

“But I don’t want a scrollbar!!” Read The Docs is a great platform for creating documentation that lets you focus on content rather than complex markup syntax or making it searchable. One of the elements you might want to put in your documentation is a table. There are different ways… Read more »

Adding a TypeScript Task to a TFS 2017 build for ASP.NET Core

First Forays into ASP.NET Core (2.0) I recently have been taking my first forays into ASP.NET Core and am liking what I’m seeing so far. The journey hasn’t been without curveballs, though, and I’ll be posting a few findings here. New Project using Kendo UI Core and TypeScript A project… Read more »

TypeScript, Bootstrap, and Kendo UI for jQuery – a powerful triple-threat!

Introduction Creating great front-end web user experiences can be very intimidating – from good visual design, good user-friendly form components and elements (like date-pickers, combo boxes, etc), responsive design, and AJAX interactions. By leveraging the technology within TypeScript, Bootstrap, and Kendo UI for jQuery you can create awesome user experiences… Read more »

Journey to Connect-4 on Rasberry Pi 2 with Pi Sense HAT

Introduction This article dives off in another direction from standard .Net stuff and moves into the realm of Makers. I’ve been participating in my son’s school Thursday afternoon Makers Club with them with a Raspberry Pi 2 (note: the new Raspberry Pi 3 would likely also work just fine for… Read more »