Patrick McVeety-Mill:

Loud & Abrasive


Posts on development, software, and technology including tips, troubleshooting, and "nobody-asked-you" commentary.

  • Configuring Docker with Env Files Written from Azure DevOps Variables

    I’ve become a big fan of Azure DevOps Pipelines. It’s a powerful and robust tool that enables really slick automated build and release processes. I wrote last about sexy auto-semversioning Nuget libraries using Build Pipelines. I’m still no expert in AzDO but am continuing to extend and improve the ways we leverage it. Recently I found a way to optimize against one of release pipelines’ biggest annoyances: app configuration for “non-transformable” config formats such as environment variables for Docker containers.

    Read On
  • Nuget Package Versioning in Azure DevOps with GitVersion

    If you blinked last year (or hiked the Appalachian trail) you may have missed Microsoft’s big continuous integration service redesign and rebranding; from Visual Studio Team Services to Azure DevOps. I’ve had the surprising pleasure to work extensively on the platform since returning; migrating my client’s CI/CD operations over to build and release pipelines in Azure DevOps. So far, it has been a dream, especially compared to my past experiences with VSTS. Microsoft’s documentation on Azure DevOps is fantastic, and I’m not looking to reinvent any wheels. Instead, I’ll share a success we’ve had with managing internal Nuget packages.

    Read On
  • Debugging Shortcuts in Visual Studio 2017

    How do you debug your application in Visual Studio? Is it something like:

    F5

    Or maybe, if you’re hep, you

    Ctrl+F5

    Debug ➡ Attach to Process… ➡ Dialog…

    so can develop and re-build with the app still running, and debug only when you want to.

    Or maybe you use the mouse; I won’t give you a hard time.

    I will, however, tell all of you that if you have Visual Studio 2017, you’re working more slowly than you could be.

    Read On
  • Xamarin Realm Query Disposal Gotcha

    using More Than You’d Think

    Recently I’ve been getting my feet wet with mobile app development using Xamarin. It’s been a change of pace from the usual web fare, but it’s also familiar enough to not be afraid of.

    One notable difference from the concerns on the web is the importance of your app’s size on a phone, as well as how much processing and memory it uses. You don’t want to be the battery drainer! To both alleviate our in-memory load and more easily manage our app’s data stores, we are using Realm. Setting up Realm is straightforward, in part thanks to their nice set-up guide. Working with it, however, led to something unexpected.

    Read On