RFC Weekly - 8th February 2017

Scientist.Net

Really like the looks of this project from Phil Haack - Scientist.Net

It allows for running two versions of code (in live) and comparing the results to each other. It's aimed at making refactoring safer by allowing you to ensure that your new path is producing the same results as the existing - while only the existing is used.

Integration Testing with .Net Core

This Integration Testing article provides advice on running integration tests for ASP.Net Core. It introduces the Test Host - a host specifically for integration testing.

EF Core Testing

This Testing with InMemory article shows how to use the InMemory provider with EF Core for integration tests.

Blog migration

I've started work on splitting the blog "content" from the red-folder.com website code (although this is likely to be put to one side due to other commitments).

Part of the intended solution is to trigger the publishing off a Github repo change (where I will store the content).

Now I wanted to put into place a BDD (SpecFlow) end to end test that would simulate the entire process. To do this I wanted to be able to automatically generate a fake blog into a test repo.

This GitHub Commit article was perfect for showing me how to do it.

I now have a SpecFlow test, hooked into the docs.functions VTST build process, which generates a fake blog into red-folder.docs.staging repo.

It doesn't do a lot more than that at the moment, but it's a great starting point.

Bot Prevention

My progress to date with the Ethical Hacking learning path came in handy this week. I've been looking to provide advice to a client on how to defend against Bot abuse.

As with most things security, the more I look the more concerned I get.

I already knew that there where services out there to solve captcha like bot checks for you. What I hadn't realised was just how easy and cheap it was. We are talking sub pence for a captcha response. If you do a goolge search for captcha solvers you will find a bus load. And they all look like legitimate services. Scary stuff. recaptcha

In my advice, I talk about how to think like a bot master - how much will your defence inconvenience me?

I summarise the advice with the following facts:

I suspect I'll use some of this information on a second ROI article on security in the future. All good (but scary) stuff.

Ethical Hacking progress

Ok, another big jump in progress completed (helps if I don't update the blog for a while).

I still may struggle to complete by the end of the month, but it's looking close. Now at 82% of the Pluralsight Ethical Hacking Path. ethical hacking progress

Breakdown of courses covered;

Hacking Web Servers hacking web servers

Hacking Web Applications hacking web applications

SQL Injection sql injection

Hacking Wireless Networks hacking wireless networks

Hacking Mobile Platforms hacking mobile platforms

Contractor Process

Started to update by CV in line with my normal renewal process. I'll also be making some updated to the website & LinkedIn over the next week or so.

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.