ASP.NET MVC, Bamboo, C#, Continuous Integration, PowerShell

Automatic Versioning of C# MVC Applications

I recently had a project that had me delving into the following blog post on assembly versioning: https://blogs.msdn.microsoft.com/jjameson/2009/04/03/best-practices-for-net-assembly-versioning/ The blog post had a couple of problems. The first that came to mind was that the linked examples were using Team Foundation Server, while I was using Atlassian Bamboo. The second is that it seemed like …

Refactoring

Why put single lines of code into a separate function?

When I wrote previously about refactoring I introduced the clean coding concepts of creating a table of contents, removing duplicated instructions, and never remembering more than is required. There often isn’t much disagreement from developers over removing duplicated instructions. Never remembering more than is required sometimes conflicts with style guides that ask for all variable …