HTML Table with horizontal & vertical scrolling

I blog very frequently and sometimes the posts contain code snippets. The site template sometimes limits the available real-estate and this can cause certain issues. If there is long text in one line, then they are stripped and will not be visible. The solution to this is to: Use a template which provides more real-estate.OR… Read more

Azure App Service: Understanding TLS Mutual Authentication with Web App

I have published 2 posts in the past on Client Certificate authentication. Client Certificate Authentication (Part 1) Client Certificate Authentication (Part 2) In order to enable Client Certificate authentication on azure web app, we need to flip the clientCertEnabled property to true. Please refer the following article on how to enable TLS mutual auth for… Read more

Client Certificate Authentication (Part 2)

This is a continuation of my earlier post on Client Certificate Authentication (Part 1) aka TLS Mutual Authentication. Earlier, I had discussed on what Client Certificates are and how they work in SSL/TLS Handshake. In this post, I will explain how to review SSL/TLS handshake with help of tools like WireShark & Curl. Before proceeding… Read more

Azure App Service: Using Easy Auth to query Facebook information via Graph API

On 8th August 2016, Facebook ended support FQL (Facebook Query Language). Here is a screenshot of the messaging from their site Facebook Query Language (FQL) Reference So they are encouraging the developers to use the GraphAPI to query the information. In this post we will cover on how to do this. Pre-Requisites Create an Azure… Read more

Azure App Service: Generating memory dumps on first chance exception using Procdump

In one of my older posts, I have explained on how we can generate memory dumps on first chance exceptions using Debug Diag. In certain scenarios where the users do not have permissions to install tools, users have to look for alternate options. For example, in Azure App Service, the users do not have permissions… Read more

Azure App Service: Manually collect memory dumps

While troubleshooting web application performance issues we are sometimes required to gather memory dumps during the time of the issue. In Azure App Service, we do not have RDP access to the machines. However, this doesn’t restrict us from gathering logs & data for troubleshooting. I am listing out few methods using which we can… Read more

Azure App Service: How to read & parse connection strings via PHP

On Azure App Service, developers have the ability to configure the connection strings as key-value pair under App Settings section. Here is a sample screenshot: At runtime, Azure App Service retrieves this key-value pair for you and makes them available to your hosted application. These are provided to the web app as Environment Variables. Here… Read more

Azure App Service: Using cURL for deployment

cURL is a command line tool that can be used to send or receive files. cURL.exe supports numerous protocols like HTTP, HTTPS, FTP, FTPS, SFTP, LDAP, TELNET, SMTP, POP3 etc. For more information please refer the below links: Syntax curl.exe -T <path-to-file-that-needs-to-be-deployed> -u “username:password” “FTP URL” From curl documentation –T, —upload-file FILE Transfer FILE… Read more

Azure App Service: How to connect to the Kudu site of a specific instance

Every Azure Web App has an associated ‘scm’ service site, which runs Kudu and other Site Extensions. OVERVIEW: Kudu site can be accessed using either of these credentials Single Sign-on User-level credentials (aka Deployment Credentials) Site-level credentials  (aka Publish Profile Credentials) Kudu site always connect to a single instance. E.g. If the site is hosted… Read more

Azure Web Apps: How to retrieve user email in the claim when using Microsoft Account as a provider in Easy Auth

App Service Authentication/Authorization also known as Easy Auth is one of the widely used feature in Azure App Service. It reduces the burden on the developers and provides a way for the application to sign in users without changing code. It is implemented as a module and is injected at runtime within the app. It… Read more