Endjin - Home

Richard Kerslake's Blog

One very useful but little used pattern when working with Resource Manager templates, is the ability to use parameters to optionally deploy resources, constrain certain resource configurations based on other user defined parameters, or to toggle parameters based on other values. To give a couple of concrete examples, imagine we have a highly reusable template […]


If you are trying to create a package to deploy a web project from the command line using msbuild, you might be struggling with the required arguments. Simply specifying /target:package is not enough. While this will generate a zipped web package, it will only include direct references from the web project itself. Any projects the […]


Azure Resource Manager Azure Resource Manager (ARM) is a set of APIs that enable interacting with Azure for creating and managing resources. ARM Templates create a simpler way of automating deployment to Azure, by allowing all the parts of your infrastructure to be declared in the template. Azure itself then handles how that infrastructure gets created […]


What is Azure Machine Learning? Azure Machine Learning (Azure ML) is a fully managed cloud service that enables you to easily build, deploy and share predictive analytics solutions. Azure ML allows you to create a predictive analytic experiment and then directly publish that as a web service. The web service API can be used in […]


Over a year ago, I wrote a similarly titled post on how to use Azure Automation to run VMs during office hours only. Since then, much has changed with Azure Automation and the previous management portal has been replaced. This post goes through how to achieve scheduling of VM running times using the current portal […]


What is Azure Resource Manager? The infrastructure that makes up your application is often composed of various different components. For instance, you might simply be running a web site, but behind the scenes you have an Azure web site deployed, a Storage account for tables, blobs, and queues, a couple of VMs running a database […]


Previously each component in Azure was deployed, managed, billed and monitored separately. Azure Resource Manager (ARM) is a new approach that allows you to declaratively state what a group of Azure infrastructure should look like as a template, then deploy that template in an idempotent way (i.e. you can run it multiple times and it […]


Azure Automation scheduler and daylight saving time

by Richard Kerslake

Update 18/10/16: Azure Automation schedules do now support time zones, which means they can properly adjust for daylight savings! To use this feature creating a new schedule is required – all existing schedules prior to the release of this feature will be stored in UTC. Specifying a timezone in the portal looks like this: Daylight […]


In a previous post, I showed how to report errors to New Relic from an Azure Worker Role. This Cloud Service could be deployed in a number of environments, such as Test and Production. With the NewRelic.AppName setting defined in app.config (or web.config for a Web Role), all deployments will report data under that single […]


Reporting errors to New Relic from an Azure Worker Role

by Richard Kerslake

New Relic is a great tool for monitoring applications and servers. It can integrate nicely with Microsoft Azure, especially with web/IIS based applications. For applications that run in a Worker Role, it can be a bit more tricky to get the project set up correctly and data flowing to New Relic. The following steps walk […]