🚀 Pre-alpha state. A platform designed for building enterprise-grade, multi-tenant products using Azure, .NET, React, TypeScript, Infrastructure as Code, etc.
Allow background workers to scale to 0 by changing Microsoft.NET.Sdk.Worker to Microsoft.NET.Sdk.Web and Host.CreateApplicationBuilder to WebApplication.CreateBuilder. This hack enables workers to expose a minimal API, allowing Azure Container Apps to monitor ingress and scale the Container Apps to zero. The Bicep infrastructure has been updated to enable internal ingress.
Checklist
[x] I have added a Label to the pull-request
[x] I have added tests, and done manual regression tests
[x] I have updated the documentation, if necessary
Summary & Motivation
Allow background workers to scale to 0 by changing
Microsoft.NET.Sdk.Worker
toMicrosoft.NET.Sdk.Web
andHost.CreateApplicationBuilder
toWebApplication.CreateBuilder
. This hack enables workers to expose a minimal API, allowing Azure Container Apps to monitor ingress and scale the Container Apps to zero. The Bicep infrastructure has been updated to enable internal ingress.Checklist