Posts

Showing posts with the label Azure

Global Server Load Balancing in the Azure Ecosystem

Image
  What is GSLB? Global Server Load Balancing (GSLB) is the practice of distributing user traffic across multiple regions or data centers. Unlike local load balancers that only manage traffic within a region, GSLB handles global routing, ensuring: Low latency – users are directed to the nearest endpoint. High availability – automatic failover if one region becomes unavailable. Disaster recovery – support for active-active or active-passive architectures. Geo-compliance – traffic can be routed based on geographic or regulatory requirements. GSLB in the Azure Ecosystem Azure provides multiple services to implement both regional load balancing and global server load balancing . Understanding their roles is key to designing a resilient and scalable cloud architecture. 1. Local Load Balancing (Regional) Azure Load Balancer (L4): Handles TCP/UDP traffic distribution within a region. Best for non-HTTP workloads such as gaming, VoIP, or real-time messaging. Azure Application Gateway ...

How to Add LICENSE.txt to Your .NET Project Using Azure Pipelines

Image
   Including a license file in your NuGet package is a best practice that improves transparency and compliance for your open-source or internal packages. If you store your   LICENSE.txt   securely in Azure DevOps, you can automate its inclusion into your .NET project using Azure Pipelines. In this guide, I’ll walk you through how to: Download the LICENSE.txt from Azure DevOps secure files Copy the file into your project directory Modify the .csproj file dynamically to include the license file during build and packaging 🔐 Step 1: Download  LICENSE.txt  from Secure Files First, upload your  LICENSE.txt  to the  Secure Files  library in Azure DevOps. Then, in your YAML pipeline, use the  DownloadSecureFile  task to fetch it at runtime. - task: DownloadSecureFile@1 displayName: 'Download LICENSE.txt' inputs: secureFile: 'LICENSE.txt' This will download the file to a temporary location on the build agent ( $(Agent.Te...