Lead Architect / Software Consultant / Crossfitter
I am a highly experienced lead software engineer, architect & proponent of clean coding. Currently, I am helping to disrupt the banking sector by building high quality micro-services & APIs. This includes looking at some of the latest technologies and architectural patterns & evaluating them for use in various business scenarios. I am also contributing to the future of the finance sector by working with the International Standards Organisation & its corresponding mirror groups in the British Standards Institute, on financial services APIs. Follow my journey via the channels below:
Recently, I have been looking at the Utf8Json project and evaluating for use in our high performance payments API. Looking at the benchmarks on the Github page, and running my own benchmarks, the numbers stated seemed to tally up, so I built a few media formatters for aspnet core.
Now, the project does already ship with some media formatters as a separate nuget package. However, I wanted to improve the following things:
In my previous article, we setup a standarised build using the new YML build definitions within VSTS, using the .Net CLI tooling. In this article, we will use the same setup as our base, but we will build and publish a service fabric application.
Our sample build file has the following steps:
Clean Sources Install the Dotnet CLI Restore Packages Build Projects Test Projects Publish the Web App Publish Build Artifacts Tag VSTS Build For our service fabric build, we will need the following steps:
In this article we will explore a preview feature inside of Visual Studio Team Services (VSTS) called YML Build Definitions. In essence, this allows you to change your build process from a .yml file in your git repository much in the same way as you can do with other services such as AppVeyor. During the article, we will setup a build definition for an Aspnet Core website.
Prerequisites Before we take a look at the struture of the file, you will need to complete the following tasks: