We use feature branches, and build all of them on our TeamCity CI setup. Every build can be deployed on our test servers, but it’s useful to be able to quickly distinguish which ones came from master and which came from other branches. I took a script from here and…
ASP.NET temporary files can quickly mount up and eat up disk space, especially if you deploy multiple times a day. This website provides a handy command that you can run to delete any unnecessary files: Get-ChildItem “C:\Windows\Microsoft.NET\Framework*\v*\Temporary ASP.NET Files” -Recurse | Remove-Item -Recurse You’ll get a few errors when it…
It can be useful to time how long certain commands take to run. With Powershell, you can do this easily using the Measure-Command cmdlet: Measure-Command { ping google.com | Out-Default } Simply replace ping google.com with whatever you want to time, and off you go. You’ll get a readout similar…