RFC Weekly - 26th December 2016

.Net Core, React & DevOps

Made great progress in the last week. I now have a TeamCity instance monitoring multiple git feature branches and automatically building, testing and deploying (via Octopus) to a server.

This is even setup so that each website is names after the feature branch. Useful trick to allow testing and validation by feature branch.

(although I'd prefer to avoid feature branches - but I can also see teh benefits of it).

Also used dotnet-win32-service to generate a template windows service. This too I've set up to go through TeamCity for Continuous Integration with it being automatically deployed to a dev server.

Octopus deploy & Azure Websites

I've recently been having problems with Octopus being able to deploy to automatically. The issue is described here and this seems to be a common problem that is arising.

I found that adding an Azure Powershell task before attempting to deploy which restarted the website has resolved the problem:


if ("#{Octopus.Environment.Name}" -like "Production")
{
    Restart-AzureWebSite -Name [Name of Production Site]
}
else
{
    Restart-AzureWebSite -Name [Name of Staging Site]
}

I'm not completely happy with this aprroach - a restart seems rather heavy. But seems to work for now.

Ethical Hacking progress

Better progress on the Pluralsight Ethical Hacking Path this week.

Now 25% through: ethical hacking progress

I've completed the Enumeration, for which I got 10/10 enumeration learning check

Shameless self-promotion

Final ROI post for the year. ROI of Spotify is a festive treat highlighting 2 videos from Spotify talking about thier engineering processes ... a real treat.

This is the last RFC Weekly for the year. I'm likely to have a couple of weeks off and should be back mid January.

About the author:

Mark Taylor is an experience IT Consultant passionate about helping his clients get better ROI from their Software Development.

He has over 20 years Software Development experience - over 15 of those leading teams. He has experience in a wide variety of technologies and holds certification in Microsoft Development and Scrum.

He operates through Red Folder Consultancy Ltd.