Deploying Containers with Common Configuration

You may well be aware of technology such as Helm and the creation of Helm Charts to manage applications on Kubernetes. It’s a great solution if you want your container to be consumed by the general public, but what if you want a reusable YAML file to deploy your services internally. We can easily have a template YAML file stored in a Git repository as part of Azure DevOps that can be used in our release pipelines and change placeholders based on variables set in our pipeline....

21 January 2022 · 2 min · Martyn

It can be a lonely place...

I love the community that I am part of, I can get help from any number of incredibly kind humans who go the extra mile to make sure you get the result you want. Sometimes though, as with everything in life it takes its toll. I wanted to share something more personal with you. It’s just over a year now since I first received my Microsoft MVP award. It’s flown past and I’m, really happy with what I have contributed to various different user groups, conferences, and other mediums in the past 12 months....

5 November 2021 · 6 min · Martyn

Auto-Scaling .NET Core Web API Containers

In this post, we take a look at how to make sure you .NET Core Web API containers work well in auto-scalaing scenarios on Azure Kubernetes Service. When you first access a newly released .NET Core Web API, even locally, does not have to be in a container, you will notice the first request is slow. You can see this with the following output, it’s just from a brand new scaffolded project using the ....

20 October 2021 · 3 min · Martyn

It's Good To Be Back

For the first time since March 2019, it was conference time! It was so good to be back at an in-person conference. Over the past weekend (15th - 16th October), I was lucky enough to attend the South Coast Summit in Southampton. For me, it was the first in-person event since the Cloud Expo in March 2020 at the Excel in London. This event happened at the start of the pandemic and still went ahead just before the first lockdown in the UK....

19 October 2021 · 2 min · Martyn

Taking a Look at Polywork

Note: This is a paid partnership with Polywork. Not long ago, I saw a thread on Twitter from an connection of mine about Polywork. #Cloud community, are you on @PolyworkHQ? If so, comment with a link to your profile so others can follow.#CloudFamily #Azure #AWS #GCP #Microsoft #Amazon #Google #Community #100DaysOfCloud — James Cook 👨🏻‍💻 (@OfficialCookJ) August 11, 2021 https://platform.twitter.com/widgets.js To be honest, at this point, I’d not heard of Polywork, so I decided to check it out, this post talks about what I’ve found so far....

18 August 2021 · 6 min · Martyn

Protecting Web APIs Using Microsoft Identity Platform: Part 3

The following posts are part of this series: Part 1: Creating your App Registration Part 2: Configuring your code Part 3: Securing your API endpoints In the previous post, we looked at the setup of your code to start accepting bearer tokens for authentication. Now we are looking at the validation of these tokens and how to verify scopes in your API controllers. Token validation A number of validators exist for you to validate aspects of the token to ensure you can trust the token you have been passed....

11 August 2021 · 4 min · Martyn

Protecting Web APIs Using Microsoft Identity Platform: Part 2

The following posts are part of this series: Part 1: Creating your App Registration Part 2: Configuring your code Part 3: Securing your API endpoints Defining protected First of all, let’s look at what we mean by protected. Much like in ASP.NET, in ASP.NET Core, you can use the [Authorize] attribute to define that your controller must be called with an authorised identity. We pass what is known as a bearer token as a Authorization header in our API requests, this holds information about the identity as well as user information unless the web app accepts calls from a daemon....

11 August 2021 · 3 min · Martyn

Protecting Web APIs Using Microsoft Identity Platform: Part 1

The following posts are part of this series: Part 1: Creating your App Registration Part 2: Configuring your code Part 3: Securing your API endpoints Let’s begin I’m not going to cover the steps involved in creating an app registration. This is covered, in detail, in the Microsoft documentation. In this article though, I want to point out some important things. Token versions The platform enables the generation of two token verions, v1....

4 August 2021 · 3 min · Martyn

Upcoming Speaking Engagements

I am pleased to confirm that in September I will be taking part in two events which are scheduled so far. My FinOps on Microsoft Azure session is selected for the Azure Back to School 2021 series, organised by the fantastic Dwayne Natwick who is a fellow Microsoft Azure MVP. My second session will be on the 21st September with the Azure Thames Valley User Group. My session Building Serverless APIs with Azure Functions and API Management looks at how we can use Azure Functions and OpenAPI to build RESTful APIs using Azure API Management....

3 August 2021 · 1 min · Martyn

Rest in Peace, Abel

As many of you will know, last week, we lost one of the shining lights of our wonderful technical community. Abel Wang (aka. AbelSquidHead), sadly lost his fight against cancer. The deeply personal, yet public post on Facebook about his passing from his wife Nina, is incredibly moving. When I learned the news looking through my Twitter feed, it was awash with people saying goodbye, to a friend, colleague, advisor, and mentor....

2 August 2021 · 2 min · Martyn