Category: Uncategorized

  • EF Core & ASP.NET Core: Read Connections Strings & Config Values from Environment Variables

    EF Core & ASP.NET Core: Read Connections Strings & Config Values from Environment Variables

    If you’ve gone digging around in EF Core and ASP.NET Core, you’ve probably seen ConfigurationBuilder code that looks like this: var builder = new ConfigurationBuilder()     .SetBasePath(basePath)     .AddJsonFile(“appsettings.json”)     .AddJsonFile($”appsettings.{environmentName}.json”, true)     .AddEnvironmentVariables(); var config = builder.Build(); var connstr = config.GetConnectionString(“default”); When you see generated code like this a couple zillion times, it’s easy to kind of forget to ask yourself what it means.  It works fine so nevermind…

  • EF Core 2.0 Migrations without Hard-Coded Connection Strings

    EF Core 2.0 Migrations without Hard-Coded Connection Strings

    Earlier this year, I blogged about how to do EF Core migrations without hard-coding your connection string.  The short answer was to use IDbContextFactory.  Well, that was Entity Framework Core 1.0 and now we’re on Entity Framework Core 2.0 and that IDbContextFactory interface went away. So how to do you do EF Core 2.0 migrations…

  • Case Study: Scrum @ Intralinks

    Case Study: Scrum @ Intralinks

    A while back, we helped out at Intralinks to help them revive & reinvigorate their use of Scrum for delivering done, working software.  Our part of the effort was to train approximately 200 of their software developers, software testers, and managers.  This was all done over a couple months using Scrum.org’s Professional Scrum Foundations for…

  • How to Make Git Work with Self-Signed SSL Certificates on TFS2018

    How to Make Git Work with Self-Signed SSL Certificates on TFS2018

    (TL;DR — I’ve created some scripts to make this all easy.  Scroll down to the bottom of the post.) When you install Team Foundation Server 2018 (TFS2018), the installer gives you the option to configure TFS to use HTTPS with a self-signed SSL certificate.  This is a good thing.  When given the choice between installing…

  • Fix: ASP.NET Core <select> control is empty

    Fix: ASP.NET Core <select> control is empty

    I found a nifty little quirk in ASP.NET Core recently where the <select> control (dropdown, combobox, listbox) is empty.  Basically, put a <select> control in your ASP.NET cshtml view, bind that control to a Model class with data, and then what shows up in the browser is an empty control. It turns out that it’s…

  • AutoHotKey script for editing with Camtasia 9

    AutoHotKey script for editing with Camtasia 9

    As a Pluralsight author, I spend a lot of time in Camtasia.  For my most recent course, I recorded more than 28 hours of raw video before editing that down to just under 9 hours of produced video.  In order to get a version of the videos that was clean enough to send to my…

  • Team Foundation Server 2018 Installation Guide

    Team Foundation Server 2018 Installation Guide

    Well, you may have heard that Team Foundation Server 2018 (TFS2018) was released about two weeks ago. If you’re interested in installing it, here’s my TFS2018 install guide.  It’s ~90 pages of step-by-step instructions with screenshot on how to set up Windows Server 2016, SQL Server 2017, Team Foundation Server 2018, and a TFS2018 build…

  • VSLive Orlando 2017: Unit Testing for Mere Mortals Slides & Code

    VSLive Orlando 2017: Unit Testing for Mere Mortals Slides & Code

    I just wrapped up my talk at VSLive Orlando 2017 — “Unit Testing & Test-Driven Development (TDD) for Mere Mortals”.  Thanks to all the attendees for the great questions. As promised, here are my slides and code samples. Unit Testing & Test-Driven Development (TDD) for Mere Mortals Unit Testing and Test-Driven Development (TDD) arguably mean…

  • VSLive Orlando 2017: Top 10 Ways to Go from Good to Great Scrum Master

    VSLive Orlando 2017: Top 10 Ways to Go from Good to Great Scrum Master

    As promised, here are the slides from the Top 10 Ways to Go from Good to Great Scrum Master talk at VSLive Orlando 2017. Here’s the abstract: The Scrum Master role in an organization can be difficult. You live between a rock and a hard place. You’re influential but you probably don’t have any real power.…

  • VSLive Anaheim 2017: Top 10 Ways to Go from Good to Great Scrum Master

    VSLive Anaheim 2017: Top 10 Ways to Go from Good to Great Scrum Master

    As promised, here are the slides from the Top 10 Ways to Go from Good to Great Scrum Master talk at VSLive Anaheim 2017. Here’s the abstract: The Scrum Master role in an organization can be difficult. You live between a rock and a hard place. You’re influential but you probably don’t have any real power.…