Running Sidecar Containers in Azure App Service: An experiment with Dapr

Running Sidecar Containers in Azure App Service: An experiment with Dapr Today I decided to try Azure App Service’s new ability to run sidecar containers. My goal, To create a simple .NET API, run it in Azure App Service, and pair it with Dapr as a sidecar container and use it for state management. Locally, Dapr would connect to a local Redis docker container, and once deployed to Azure, it would seamlessly switch to Azure Cache for Redis. ...

November 16, 2024 · 5 min · 986 words · Me

Steps for Deploying a Blazor as Static Site with Docker and Nginx

Step 1 Publish the Blazor WebAssembly project Publish the project from Visual Studio,this ensures that the projects is linked which removes all the unwanted dependencies from the output, reducing the size of the assemblies created. Step 2 Create a dockerfile The docker file is very straightforward, pull the nginx image and copy the published Blazor WebAssembly file from the WWWRoot folder to the html folder in nginx ...

June 11, 2020 · 1 min · 150 words · Me