wwwlicious
  • Home
  • About me
Scott Mackay

Scott Mackay

Developer dude, wally, geek and cheeky chappie.

Glasgow, UK •
25 posts •
Microhyde and FrankenSoft
Microsoft

Microhyde and FrankenSoft

This post is about Microsoft, the painful lessons of their legacy and their marching into creating a whole new set of legacy problems for the next generation.

  • Scott Mackay
    Scott Mackay
18 min read
00011 : Service discovery, load balancing and routing
ServiceStack

00011 : Service discovery, load balancing and routing

This is part three of an in-depth series on implementing a microservices architecture using ServiceStack:: Service discovery, load-balancing and routing.

  • Scott Mackay
    Scott Mackay
14 min read
00010 : Logging and Debugging
ServiceStack

00010 : Logging and Debugging

This is part two of an in-depth series on implementing a microservices architecture using ServiceStack:: Debugging and Logging in a distributed system.

  • Scott Mackay
    Scott Mackay
8 min read
00001 : the what and the why?
ServiceStack

00001 : the what and the why?

This is part one of an in-depth series on implementing a microservices architecture using ServiceStack, Consul, EventStore and Redis. Context: the what and the why?

  • Scott Mackay
    Scott Mackay
9 min read
tips

How to load debug symbols in Visual Studio during debugging

How to load debug symbols in Visual Studio during debugging

  • Scott Mackay
    Scott Mackay
1 min read
Logging ServiceStack requests with Seq
ServiceStack

Logging ServiceStack requests with Seq

Easily capture all servicestack requests to Seq with Serilog.

  • Scott Mackay
    Scott Mackay
2 min read
ServiceStack exception enricher for Serilog
ServiceStack

ServiceStack exception enricher for Serilog

Enriching exceptions with serilog and servicestack

  • Scott Mackay
    Scott Mackay
1 min read
Showing the 💕 for xunit.net and dotCover in Teamcity
xunit

Showing the 💕 for xunit.net and dotCover in Teamcity

making xunit.net, dotCover and teamcity work well together.

  • Scott Mackay
    Scott Mackay
2 min read
ode to the next guy
testing

ode to the next guy

If you can't spin up a project from scratch you owe it to the next guy to fix that.

  • Scott Mackay
    Scott Mackay
4 min read
To err is to be human, to handle them all is too much to ask
C#

To err is to be human, to handle them all is too much to ask

Trying to comprehensively handle errors with IIS and MVC is such an impossible dance that it requires one to metaphorically lick the back of one knees whilst riding a unicycle, juggling handleless chainsaws

  • Scott Mackay
    Scott Mackay
2 min read
The elusive @ key
javascript

The elusive @ key

Capturing the @ key in javascript is harder than you think

  • Scott Mackay
    Scott Mackay
2 min read
having ones cake and eating it with edge.js and npm packages
edge.js

having ones cake and eating it with edge.js and npm packages

tl/dr - figuring out how to run an npm package in c# beyond hello world example in edge.js, specifically tslint.having ones cake and eating it...So nuget is my goto

  • Scott Mackay
    Scott Mackay
5 min read
Typescript

Typescript is great but...did MS just tell me to go **** myself?

TypeScript is great for c# developers but the deployment pipeline is a crummy afterthought.

  • Scott Mackay
    Scott Mackay
3 min read
markdown

The problem with wysiwyg and markdown

my usual blogging output is hardly prolific. Most of the things I write are sitting in my drafts folder probably never to see the light of day, but as I sat writing a

  • Scott Mackay
    Scott Mackay
6 min read
ravendb

Easy upgrades for RavenDB

For my own reference more than anything. Keep the data, indexes and logs out of the server build folder for easier upgrades.Use something like the following raven.server.config<xml version=

  • Scott Mackay
    Scott Mackay
1 min read
interview

Interviews

Over the last few years, I've conducted lots of interviews as I've built up a development team at my employers. I've learned a great deal so here are my top tips for people

  • Scott Mackay
    Scott Mackay
2 min read
Resharper

ReSharper live templates XUnit.Assert.DoesNotThrow

One of the live templates I always end up creating when writing unit tests is for XUnit.Assert.DoesNotThrow.Only takes a minute to set up, simples!

  • Scott Mackay
    Scott Mackay
1 min read
MSBuild

Truncating nCover trends with MSBuild

One of the nice features of nCover is creating coverage trends. These trends can be included in your reports to show how your coverage is changing over time (hopefully always increasing!)Over time

  • Scott Mackay
    Scott Mackay
1 min read
C#

EnvDTE : Getting all projects (the SolutionFolder PITA)

Recently I’ve been working on a Visual Studio 2010 Package to help control some project settings for my team’s development environment. One of the things I needed to be able to

  • Scott Mackay
    Scott Mackay
1 min read
C#

Creating custom DataAnnotation tests Part 2

Well since my initial attempt, I have now refactored the AssertDataAnnotation class to be slightly more user friendly. The property type is now inferred by the compiler and I’ve moved the ValidationAttribute

  • Scott Mackay
    Scott Mackay
1 min read
xunit

Creating custom DataAnnotation tests

Recently I wanted to create some unit tests for the DataAnnotations on my domain model. After a bit of googling I found the following article on testing validation attributes which gave me a

  • Scott Mackay
    Scott Mackay
1 min read
unspsc

C# UNSPSC API - Part 2: Codeplex

Well it’s been a while but hey, I’ve been busy! :)So I’ve finally managed to get the API in to reasonable shape and have uploaded it to https://bitbucket.org/

  • Scott Mackay
    Scott Mackay
1 min read
Code

Comparing data from two sets of keys

Recently I needed to compare the data from two different databases in two similar but slightly different tables. I needed to sync them so wanted to know which rows to insert, update or

  • Scott Mackay
    Scott Mackay
1 min read
unspsc

C# UNSPSC API – Part 1 : Introduction

BackgroundRecently as part of an ecommerce product catalogue project for my job, one of the data requirements was that products have unspsc codes for both internal and customer spend analysis.What are unspsc

  • Scott Mackay
    Scott Mackay
3 min read
.Net

Parsing Enum Strings

Well I thought I would kick off the blog with this handy generic method to parse enum strings.public static T ParseEnum<T>(string enumText) { return (T) Enum.Parse(typeof (T)

  • Scott Mackay
    Scott Mackay
1 min read
wwwlicious © 2021
Latest Posts Ghost