How to Avoid Angering Your Readers and Successfully Market Your Brand on the Internet

Everyone has access to social media today, and everyone can write anything they want to literally anyone on social media, and the world can see what you’re talking about.  However, removing and changing this content after it has been published can be a real hassle, and it is already in the hands of other folks from the moment that you share your Twitter, Facebook, LinkedIn post, or YouTube video.  Typically, this isn’t a problem, but what about those topics that you’re passionate about and are a little controversial?  On a blog, you have a lot more control over what content appears and you can remove it more easily, but if Google,, or another archiving service indexes your blog you won’t be able to remove content from those services cache easily. Continue reading

Modern Configuration for ASP.NET 4.7.1 with ConfigurationBuilders

I’ve been thinking and working with application configuration in ASP.NET applications for years, and its become a tool that I’m very comfortable using. I can add AppSettings, create configuration sections, and manage connectionstrings without thinking twice. However, there is a problem with the current ConfigurationManager and the XML-based config file offering in the .NET Framework: how do I get configuration entries from other sources into my application so that I don’t need to build my own configuration client and tools?  Continue reading

Fritz’s 10 Minute Tips – ASP.NET Core Configuration

I recorded another short video to show the various ways that you can configure an ASP.NET Core application.

In the video, I show how to configure your application with:

  • Strongly-typed configuration classes
  • appsettings.json
  • environment variables
  • environment variables in web.config
  • user-secrets

Interested in seeing more sample videos like this?  I have more ideas and demos that I show at events that I can convert to YouTube videos if there is interest.

Docker-Compose API too old for Windows?

I was working on some code with a Docker Windows container today and ran into this error message:

ERROR: client version 1.22 is too old. Minimum supported API version is 1.24, please upgrade your client to a newer version

What the heck is that?  When I go to the command-line and check the docker version, I get the following output:

My currently installed Docker version

I have the current beta track version of the Docker tools installed in my Windows 10 machine so that I can run a Windows container, so what gives?  Clearly 1.25 is more recent than 1.22

Here’s the catch:  the docker-compose file format has been versioned and we need to increment the version requested in our docker-compose.yml file.  In any docker-compose file that you are using with the 1.24 or later version of the Docker client, you should request version “2.1”

My docker-compose.yml file now looks like:

Big thanks to the folks on this Github issue for a pointer to the fix.

Programming Holiday Lights Big and Small

I’ve been spending some time this holiday season writing and setting programs for light displays.  Like many homes around my neighborhood, we’ve installed lights outside to make the house appear festive.  My daughters and I decided to go a little further and picked up a package at the local Home Depot called AppLights for the house this year.  Little did I know this would be the start of a holiday light programming marathon that also included Jewelbots.  More on that in a bit… Continue reading