Azure-Sync

Azure-Sync: Sync your Azure App Settings to local

Azure-Sync is a handy shell script tool designed to help .NET developers working with Azure App Services. Inspired by the functionality provided by the Azure Functions Core Tools (func cli), Azure-Sync allows you to retrieve all environment variables from a specified Azure App Service, including any Azure KeyVault secrets, and add them to your local .NET secrets. Check the source code on GitHub: mhdbouk/azure-sync How to use Azure-Sync Using azure-sync is straightforward. Here are the steps ...

May 25, 2024 · 2 min · Mohamad Dbouk
Secure On-Premise .NET Application with Azure Key Vault

Secure On-Premise .NET Application with Azure Key Vault

Suppose you have your Web App and Database server hosted locally on your On-Premises servers. You want to use Azure Key Vault with your .NET application to retrieve your app settings. This allows you to avoid storing them as plain text in the appsettings.json file. In this blog post, I will show you how to integrate Azure Key Vault with your .NET application by using the Service Principle client secret. This approach can be applied to any environment even the on-premise one. ...

February 9, 2024 · 4 min · Mohamad Dbouk
Azure SonarQube

From Frustrated to Successful: My Experience Deploying SonarQube in Azure

SonarQube is a popular open-source platform for continuous code inspection that helps developers identify and fix coding issues, security vulnerabilities, and other bugs in their codebase. As someone who has worked on multiple software projects, I can attest to the importance of having a tool like SonarQube in your toolkit. It saves time and prevents headaches by catching issues early on rather than at the end of a project. Recently, I struggled with deploying the latest version of SonarQube on Azure App Service, so I created the repository mhdbouk/azure-sonarqube (github.com) to document my process and help others avoid the same pitfalls. In this blog post, I’ll share my experience with deploying SonarQube on Azure App Service and provide the repository for anyone who may find it useful. ...

December 22, 2022 · 4 min · Mohamad Dbouk
Azure Bicep

The Power of Bicep: Deploying on Azure in a Snap

If you’re looking for a simple and efficient way to deploy your application on Azure, you’re in the right place. In this blog post, I will guide you through the process of deploying an existing docker image on Azure using Bicep. It’s easier than you might think, and a lot more fun too! You can find all of the information discussed in this blog post in my GitHub repository, located at mhdbouk/libretranslate-bicep (github.com) ...

December 16, 2022 · 4 min · Mohamad Dbouk
Azure CLI Icon

Update Azure SQL Server Firewall rules using Azure CLI

If you’re used to working with Azure SQL Server without a private endpoint or virtual network, you might be used to adding your public IP to the Azure SQL Server Firewall rules each time your public IP changes. Luckily, there’s an easy option: use the Azure CLI to update the network firewall rules with your new public IP. Get the Public IP using PowerShell Getting your public IP address is quick and easy with PowerShell. Just use the following command: ...

November 28, 2022 · 3 min · Mohamad Dbouk