ElegantCode

A software blog

14 Mar
2024

Some articles I’ve written about the Azure Marketplace

An introduction to marketplace deployment architectures Exploring SaaS Offers in the Microsoft Commercial Marketplace: Essential Elements and Best Practices Reduce the cost of marketplace integration with the SaaS Accelerator Automating workflows with the SaaS Accelerator Container offers for Kubernetes apps: A step-by-step guide Exploring Virtual Machine offers in the Azure marketplace Exploring Azure Managed Application […]

Read More
1 Dec
2022

Refactoring Bloated Controllers with [FromService]

In my previous article, Refactoring Bloated Controllers with IServiceProvider, I explored using the Service Locator Pattern to reduce the number of services injected into an ASP.NET MVC controller constructor. While a convenient way to reduce the number of constructor arguments, using IServiceProvider does have some potential downsides. It has been a few years since I […]

Read More
Bloated
26 Nov
2022

Refactoring Bloated Controllers with IServiceProvider

I have come into an ASP.NET MVC project that has a HomeController that takes at least 10 service arguments in its constructor. My first line of attack is to factor out the Action methods into separate controllers that only need a subset of the injected services to work properly. So, first and foremost I recognize […]

Read More
29 Dec
2021

Life’s a Party: Analyzing Party Compositions for Combat – Encounters in Dungeons & Dragons Fifth Edition through Monte Carlo Methods

Category:General Post

My son, Mason Starr, is a grad student at Georgia Tech in astrophysics or something similar that I can’t understand. In any case, he recently co-wrote a final paper for his graduate-level stats class with Michael Hauge. There’s a lot of math, but keep going. There are histograms with the word “Barbarian” in them for […]

Read More
28 May
2021

An agile team is one that…

Category:AgileTag: , :

I recently asked an open-ended question on LinkedIn. I asked people to complete the following sentence. An agile team is one that… The request got a lot of suggestions, and there are some I think particularly worth exploring. This post looks at my two favorite answers. Self-correcting Firstly, “An agile team is one that self-corrects,” […]

Read More
5 Apr
2021

Testing Azure ARM templates is easier with ARM-TTK

Category:General Post

Editing Azure ARM templates can be a bit monotonous and especially so when you are deploying the template after each change just to see if your changes worked. ARM-TTK (ARM Test Toolkit) is a tool designed to help make that process a bit easier. Written in PowerShell, the scripts run a set of tests against […]

Read More