HTTP Error 500.0 – ANCM In-Process Handler Load Failure

With ASP.NET Core 2.2 support added to Azure Web Apps – it’s a bit tricky to host multiple applications using Virtual Directories. If you just publish your web apps using Visual Studio on different virtual, directories – not more than one will work at the time I’m writing this. You need to make certain changes … Read more

Azure DevOps

Azure DevOps

Azure DevOps is a suite of services for Managing, collaborating, building and deploying code. Azure DevOps Organizations are the starting point for Azure DevOps. You need a Microsoft account to sign-in. If you do not have one – sign up for a free account. Organizations are free up to 5 team members. An Organization can … Read more

How to Convert a SQL Table to C# Class

Run the following SQL query and it will print the SQL table in a formatted C# Class: ———————————————————– DECLARE @tbl sysname = ‘doc360_User_Role’ DECLARE @ClassStr varchar(MAX) = ‘public class ‘ + @tbl + ‘ {‘ SELECT @ClassStr = @ClassStr + ‘ public ‘ + ColumnType + NullableSign + ‘ ‘ + ColumnName + ‘ { … Read more

Awarded – Microsoft MVP 2nd time in a row

Gladly sharing that I’m awarded Microsoft MVP 2nd time in a row. Thank you Microsoft for the recognition again. I want to extend my thanks to all my friends and whosoever has supported me along the way! Thank you. Microsoft Most Valuable Professional (MVP) award is given to “exceptional, independent community leaders who share their passion, technical … Read more

[Powershell] Azure Automation – Delete all Azure Logic Apps in a Resource Group

In one of my recent projects I had a requirement to delete all the Logic Apps from a resource group on Azure. In this quick blog I’m sharing how to delete all the logic apps in one go inside a resource group using the following Powershell script: Prerequisites: Service Principal Account Credentials (ClientId / Secret) SubscriptionId … Read more

[Powershell] Export Self-Signed Certificate

  $cert = New-SelfSignedCertificate -DnsName yourdomain.cloudapp.net -CertStoreLocation “cert:\LocalMachine\My” $password = ConvertTo-SecureString -String “Password@1234” -Force -AsPlainText #Generate .pfx Export-PfxCertificate -Cert $cert -FilePath “.\my-cert-file.pfx” -Password $password #Export to .cer format Export-Certificate -Type CERT -Cert $cert -FilePath .\my-cert-file.cer

How to: Generate Free SSL Certificate for a domain and upload on Azure Website?

Today  I spent nearly 2 hours browsing through the Web for ways to create an SSL Certificate for Free from Let’s Encrypt. I explored letsencrypt.org  and various other websites, and landed up on one with the easiest steps. While trying others I got stuck many times in the middle as many of them have a … Read more

TypeScript Fundamentals – Session Recap

Today I participated in one of the events hosted by C# Corner, held at “C# Corner – Delhi Chapter”.  I spoke on Fundamentals of TypeScript. Below are few glimpses from the session. I also got few licenses of OzCode – A magical debugging tool for Visual Studio to distribute. We did a raffle to select the winners. Below are … Read more