Blog

Blog posts on .NET, Azure, and more.

Handling multiple submit buttons in a single form in ASP.NET Core

June 07, 2022 by Anuraj

AspNetCore

This post is about how to work with multiple submit buttons in aspnet core form. Sometimes you have to use multiple submit buttons in a single form in ASP.NET Core. In HTML forms we can do this with the help of formaction attribute. But this attribute will not work in ASP.NET Core. In ASP.NET Core you need to use asp-action attribute instead.

Deploying a Static Site to Azure Using the az CLI

May 13, 2022 by Anuraj

Azure DevOps Github Actions

This post is about deploying a static sites to Azure storage account using Azure CLI and configuring GitHub actions to deploy the files. Recently I wrote a blog post on enabling Angular GZip encoding - in this post I am deploying the changes using Azure CLI and configuring a GitHub action to deploy the changes to storage account.

Setting up an Azure Virtual Machine as Azure DevOps build agent

May 12, 2022 by Anuraj

Azure DevOps

This post is about how we can setup as Azure Virtual Machine as Azure DevOps build agent. Recently I had to provision one virtual machine as Azure DevOps build agent. First we need to create an Azure Virtual machine. I created one with default configuration values.

Mapping a wildcard domain name to an Azure App Services

May 10, 2022 by Anuraj

Azure AppService

This post is about how we can map wild card domain to Azure App Service. Why we need to map wild card domains? When we are building SAAS applications it is a good practice to provision the tenants with your application sub domain. For example in case JIRA, when you create an instance your instance will be https://instance-name.atlassian.net/. And you need wild card SSL as well for running the instance of HTTPS.

Deploying on Azure Functions - GitHub Actions

May 08, 2022 by Anuraj

Azure DevOps

This post is about deploying Azure Function with the help of GitHub Actions. In this post we will discuss how a .NET 6.0 Azure function can be deployed to Azure with the help of GitHub Actions - which will help you to implement continuous delivery / deployment for Azure Functions. First we need to create an Azure Function - I am doing it in the Portal. I am creating a .NET Function.

Copyright © 2024 Anuraj. Blog content licensed under the Creative Commons CC BY 2.5 | Unless otherwise stated or granted, code samples licensed under the MIT license. This is a personal blog. The opinions expressed here represent my own and not those of my employer. Powered by Jekyll. Hosted with ❤ by GitHub