Click here to Skip to main content
14,456,165 members

Dominic Burford - Professional Profile



Summary

Follow on Twitter LinkedIn      Blog RSS
6,525
Author
2,053
Authority
9,494
Debator
8
Editor
100
Enquirer
211
Organiser
2,724
Participant
I am a professional software engineer and architect with over eighteen years commercial development experience with a strong focus on the design and development of web and mobile applications.

I have experience of architecting scalable, distributed, high volume web applications that are accessible from multiple devices due to their responsive web design, including architecting enterprise service-oriented solutions. I have also developed enterprise mobile applications using Xamarin and Telerik Platform.

I have extensive experience using .NET, ASP.NET, Windows and Web Services, WCF, SQL Server, LINQ and other Microsoft technologies. I am also familiar with HTML, Bootstrap, Javascript (inc. JQuery and Node.js), CSS, XML, JSON, Apache Cordova, KendoUI and many other web and mobile related technologies.

I am enthusiastic about Continuous Integration, Continuous Delivery and Application Life-cycle Management having configured such environments using CruiseControl.NET, TeamCity and Team Foundation Services. I enjoy working in Agile and Test Driven Development (TDD) environments.

Outside of work I have two beautiful daughters. I am also an avid cyclist who enjoys reading, listening to music and travelling.

 

Reputation

For more information on Reputation please see the FAQ.

Privileges

Members need to achieve at least one of the given member levels in the given reputation categories in order to perform a given action. For example, to store personal files in your account area you will need to achieve Platinum level in either the Author or Authority category. The "If Owner" column means that owners of an item automatically have the privilege. The member types column lists member types who gain the privilege regardless of their reputation level.

ActionAuthorAuthorityDebatorEditorEnquirerOrganiserParticipantIf OwnerMember Types
Have no restrictions on voting frequencysilversilversilversilver
Bypass spam checks when posting contentsilversilversilversilversilversilvergoldSubEditor, Mentor, Protector, Editor
Store personal files in your account areaplatinumplatinumSubEditor, Editor
Have live hyperlinks in your profilebronzebronzebronzebronzebronzebronzesilverSubEditor, Protector, Editor
Have the ability to include a biography in your profilebronzebronzebronzebronzebronzebronzesilverSubEditor, Protector, Editor
Edit a Question in Q&AsilversilversilversilverYesSubEditor, Protector, Editor
Edit an Answer in Q&AsilversilversilversilverYesSubEditor, Protector, Editor
Delete a Question in Q&AYesSubEditor, Protector, Editor
Delete an Answer in Q&AYesSubEditor, Protector, Editor
Report an ArticlesilversilversilversilverSubEditor, Mentor, Protector, Editor
Approve/Disapprove a pending ArticlegoldgoldgoldgoldSubEditor, Mentor, Protector, Editor
Edit other members' articlesSubEditor, Protector, Editor
Create an article without requiring moderationplatinumSubEditor, Mentor, Protector, Editor
Approve/Disapprove a pending QuestionProtector
Approve/Disapprove a pending AnswerProtector
Report a forum messagesilversilverbronzeProtector, Editor
Approve/Disapprove a pending Forum MessageProtector
Create a new tagsilversilversilversilver
Modify a tagsilversilversilversilver

Actions with a green tick can be performed by this member.


 
GeneralUpdating the version number in your .NET build pipeline Pin
Dominic Burford24-Feb-20 6:33
professionalDominic Burford24-Feb-20 6:33 
GeneralFinding a solution to an Azure web app deployment problem Pin
Dominic Burford24-Jan-20 0:51
professionalDominic Burford24-Jan-20 0:51 
For anyone who uses Azure Powershell scripts, it will come as no surprise that as of November last year, they deprecated all their existing Powershell functions that related to Azure. These have instead been replaced with new Azure Resource Manager (ARM) equivalent functions. These new functions supercede the previous suite of Azure Powershell functions. Microsoft began initially deprecating these as far back as 2018, but due to pressure from the development community, Microsoft delayed this for a further year to give developers more time to find workarounds and / or solutions.

I was blissfully unaware of this fact, as I do not make any direct use of their Azure Powershell functions anywhere in our development ecosystem. I only became aware of the fact that these Azure Powershell functions were deprecated when our Team Foundation Services (TFS) deployments to Azure started failing. Unknown to me, the TFS Azure Web App Deployment task uses an Azure Powershell script to push deployments to Azure. This Powershell script implemented several of the now deprecated Azure Powershell functions. Hence it began failing as the functions it was attempting to invoke no longer existed.

This left me in the rather awkward predicament of not being to deploy any of our ASP.NET Web API services to Azure. No new features could therefore be deployed for any of the apps that consumed these services. All of our web and mobile apps consume these services, so until I found a solution we would be unable to release any new features and / or maintenance fixes for the apps that consumed these services.

I began scrambling to look for a solution. I came across several articles that outlined the replacement functions and how to implement them. This was all well and good, but I didn't particularly want to have to rewrite the entire Microsoft Azure Powershell script that was responsible for deployments using the new ARM functions. I tried looking for a new version of the original Azure Powershell script, but could only find the existing version on Github. There didn't seem to be an updated version of this script anywhere.

I could either rewrite the original Azure Powershell script myself (which for obvious reasons I wasn't particularly keen on doing), or try to find another solution. After some further head scratching, I had an epiphany. Why didn't I write an FTP script that would deploy to Azure? From the Azure portal for a web app, you are able to download the publishing profile. The publishing profile (among other things) contains the FTP details required to connect to your Azure web app.

So I looked at writing a simple FTP script. I needed an FTP client that could be invoked from the command line (and therefore be scripted) as I didn't want this to be a manual task. I wanted this to work exactly as it already did i.e. to be a TFS task (and also because after each deployment to a particular endpoint I run a suite of unit tests to ensure that the code all works correctly from the Azure hosting).

I had previous experience of using WinSCP[^] so knew that this would do the job. I had only ever previously used WinSCP for uploading single files, never for uploading the hundreds of files our ASP.NET Web API services contained. After some further research I discovered that WinSCP contained a command called synchronize. This command would synchronize a local directory with a remote one, including all sub-directories. This was exactly what I needed.

I eventually wrote the following scripts that deploy our services to Azure. They are invoked from our TFS build so there is no change to our deployment process whatsoever.

Here is the batch script that is invoked from the TFS deployment task.
@echo off
cls

"C:\Program Files (x86)\WinSCP\WinSCP.com" /script=ftpDeployServices.ftp
Here is the FTP script containing the WinSCP FTP commands (ftpDeployServices.ftp).
option batch abort
option confirm off 
option transfer binary
open ftp://myusername:mypassword@mydomain.ftp.azurewebsites.windows.net/site/wwwroot
cd /site/wwwroot
synchronize remote -delete <mylocalfolder> /site/wwwroot
close 
exit
The synchronize command does all the heavy lifting of checking the timestamps and uploading only those files that have changed. The -delete parameter removes any files from the remote site that don't exist on the local site. If no files have been changed since the last deployment, then no files are uploaded. Only those files that have been changed are uploaded. This results in much faster deployments as only the incrementally changed files are ever uploaded.

By hand rolling my own FTP script means that I am no longer at the mercy of any future changes to any Microsoft related Powershell script(s) or infrastructure. This means I have one less headache to worry about. In fact, the updating of the previous Azure Powershell scripts was a blessing in disguise, as my workaround is faster and reduces our dependency on Microsoft infrastructure. A good result given the severity of the impact that this update had on our deployment process.
"There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult." - C.A.R. Hoare

Home | LinkedIn | Google+ | Twitter

GeneralStructured Logging Pin
Dominic Burford24-Dec-19 2:28
professionalDominic Burford24-Dec-19 2:28 
GeneralEnabling TLS 1.2 on your .NET application Pin
Dominic Burford12-Dec-19 0:11
professionalDominic Burford12-Dec-19 0:11 
GeneralThe new version of the app is (almost) ready for release Pin
Dominic Burford8-Nov-19 0:28
professionalDominic Burford8-Nov-19 0:28 
GeneralChunking your lists into multiple smaller lists Pin
Dominic Burford11-Sep-19 4:40
professionalDominic Burford11-Sep-19 4:40 
GeneralWriting flexible filters for your data using Predicates Pin
Dominic Burford16-Jul-19 7:11
professionalDominic Burford16-Jul-19 7:11 
GeneralRe: Writing flexible filters for your data using Predicates Pin
Slacker00716-Jul-19 23:09
professionalSlacker00716-Jul-19 23:09 
GeneralRe: Writing flexible filters for your data using Predicates Pin
Dominic Burford17-Jul-19 2:17
professionalDominic Burford17-Jul-19 2:17 
GeneralBlocking Asynchronous Code Pin
Dominic Burford4-Jul-19 23:11
professionalDominic Burford4-Jul-19 23:11 
GeneralDesigning and implementing flexible RESTful services Pin
Dominic Burford14-Jun-19 1:50
professionalDominic Burford14-Jun-19 1:50 
GeneralWriting asynchronous code with .NET Pin
Dominic Burford10-Jun-19 4:34
professionalDominic Burford10-Jun-19 4:34 
GeneralWeird Minification Behaviour in ASP.NET Core Pin
Dominic Burford28-May-19 4:54
professionalDominic Burford28-May-19 4:54 
GeneralThe Importance of Structure and Dilligence Pin
Dominic Burford24-May-19 7:14
professionalDominic Burford24-May-19 7:14 
GeneralWhen should you rewrite that legacy application? Pin
Dominic Burford22-May-19 1:03
professionalDominic Burford22-May-19 1:03 
GeneralImproving Your SQL Stored Procedures Pin
Dominic Burford2-May-19 6:47
professionalDominic Burford2-May-19 6:47 
GeneralPassing a list of items to a SQL stored procedure Pin
Dominic Burford27-Mar-19 1:55
professionalDominic Burford27-Mar-19 1:55 
GeneralSoftware development is like plumbing Pin
Dominic Burford8-Mar-19 6:12
professionalDominic Burford8-Mar-19 6:12 
GeneralVersioning a .NET Core 2.2 application Pin
Dominic Burford7-Mar-19 6:04
professionalDominic Burford7-Mar-19 6:04 
GeneralUsing tags with push notifications from Azure Notification Hub Pin
Dominic Burford18-Feb-19 0:21
professionalDominic Burford18-Feb-19 0:21 
GeneralSending Push Notifications with Azure Notification Hub Pin
Dominic Burford25-Jan-19 5:34
professionalDominic Burford25-Jan-19 5:34 
GeneralUnit testing a Xamarin Forms mobile app Pin
Dominic Burford13-Jan-19 22:59
professionalDominic Burford13-Jan-19 22:59 
GeneralApple development sucks Pin
Dominic Burford8-Jan-19 2:09
professionalDominic Burford8-Jan-19 2:09 
GeneralBut the tech giants are private companies Pin
Dominic Burford19-Dec-18 6:31
professionalDominic Burford19-Dec-18 6:31 
GeneralThe latest version of our app nears completion Pin
Dominic Burford7-Dec-18 3:21
professionalDominic Burford7-Dec-18 3:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.