Recently I needed to help somebody to use private link for an existing Azure Storage account. I came up with a Bicep template that helped them achieve the goal. I thought, let's just the share the code, in case somebody (or maybe even my future self) would need that for inspiration. Bicep templates I have… Continue reading Add Private Link to an existing Azure storage account
Category: Uncategorized
Short Update on: Elastic self-hosted pool for Azure DevOps (on Kubernetes)
Introduction Few months before, I have written a Kubernetes .net controller that uses Azure Kubernetes Service as a platform to host Azure pipeline agents. It allows elastic scale-out model by continuously watching the job queue in Azure DevOps. You can read about it here. I have received quite a few messages from others who are… Continue reading Short Update on: Elastic self-hosted pool for Azure DevOps (on Kubernetes)
Azure App Service with Front-door – how to fix outbound URLs?
https://docs.microsoft.com/en-us/azure/frontdoor/quickstart-create-front-doorThis article shows how to rewrite IIS URLs (outbound) with URL rewrite module to configure legacy asp.net web apps hosted on Azure App Service but safeguarded with a WAF (Front-door/Application Gateway). Setting up Azure Front-door or Azure Application Gateway are fairly straight forward process and well documented in Microsoft Azure Docs. That is beyond the… Continue reading Azure App Service with Front-door – how to fix outbound URLs?
Azure DevOps Security & Permissions REST API
I have written an updated version of this application; you can read here. Every Few months I notice the following Saga repeats. I face a challenge where I need to programmatically manage security aspects of Azure DevOps resources (like Repository, Pipeline, Environment etc.). I do lookup the Azure DevOps REST API documentation, realize that the… Continue reading Azure DevOps Security & Permissions REST API
Key Vault as backing store of Azure Functions
If you have used Azure function, you probably are aware that Azure Functions leverages a Storage Account underneath to support the file storage (where the function app code resides as Azure File share) and also as a backing store to keep Functions Keys (the secrets that are used in Function invocations). Figure: Storage Account containers… Continue reading Key Vault as backing store of Azure Functions
Continuously deploy Blazor SPA to Azure Storage static web site
Lately I am learning ASP.net Blazor – the relatively new UI framework from Microsoft. Blazor is just awesome – the ability to write c# code both in server and client side is extremely productive for .net developers. From Blazor documentations: Blazor lets you build interactive web UIs using C# instead of JavaScript. Blazor apps are composed… Continue reading Continuously deploy Blazor SPA to Azure Storage static web site
It’s harder to read code than to write it
When I started writing code for commercial projects ten years back (around 2003), I've learned an important lesson. I was assigned to write a function that serializes a data structure into XML string and send that in a SOAP body. I was very fast writing the module that mostly uses concatenation of BSTR objects in… Continue reading It’s harder to read code than to write it
Custom SPGridView
Recently I had to create a custom Grid control that allows user to do grouping, sorting, paging and filtering data displaying in it. I spent few days to figure out if there are third party controls (like Xceed, Infragistics etc) that can meet my requirements. Sadly I found that these controls can't fulfill what I… Continue reading Custom SPGridView
Parallel Extensions of .NET 4.0
Last night, I was playing around with some cool new features of .net framework 4.0, which a CTP released as a VPC, can be downloaded from here.There are many new stuffs Microsoft planned to release with Visual Studio 10. Parallel Extension is one of them. Parallel extension is a set of APIs that is embedded… Continue reading Parallel Extensions of .NET 4.0
Extension Methods
.NET 3.o provides the feature named “Extension methods”, which is used drastically by the LINQ library. For example, the Enumerable class of System.Linq namespace declares a whole bunch of static extension methods that allows user to write Linq enabled smart looking methods on any IEnumerable instance. For instance, Generates output like following Here, we are… Continue reading Extension Methods