Some time ago I had the opportunity to get into a Technical interview at GitHub for a senior software engineer role. During the selection, the first step I got assigned was a take home exercise, which I failed because I did not read properly the requirements.

Preface

I am not going into too many details and polemics about this kind of hiring process but frankly speaking, if you plan to assign hours of work to a candidate, you should, at least, present yourself first, explain the role and company and then, if you believe there is a human match, assign a…


3. Setup Back-end application

Available Articles

  1. Introduction and Setup
  2. Setup a Front-end Application with NET Core 3.1 and React
  3. Setup a Back-end Application with NET Core 3.1 (this article)
  4. Additional notes and functionalities

1. Register the Back-end

At the moment, if you execute your React SPA, you are also hosting the default weather API which is called by React in unprotected mode. The first item we want to address is to register also the APIs of our SPA, in the same Azure AD Registration area, and then protect them via JWT token to ensure that only authorized callers can use them.

Register the Scope

Land to…


2. Setup Front-end application

Available Articles

  1. Introduction and Setup
  2. Setup a Front-end Application with NET Core 3.1 and React (this article)
  3. Setup a Back-end Application with NET Core 3.1
  4. Additional notes and functionalities

1. Create a React Spa

In the previous article we have created an hosting environment inside Azure and we have registered two applications inside Active Directory. Today, we will create our Front-end application and enable authentication on localhost to verify that everything works as expected.

Few keys you need for this tutorial:

  • Your tenant URL
  • Your tenant ID
  • Your Client ID or Application ID
  • Your local URL
# Get the tenant from
az account tenant…

1. Introduction and Setup

Azure Active Directory offers a robust architecture to protect your applications but also to grant access via OIDC.

In this series of 4 articles, I will guide you through all the steps to create a Front-end and a Back-end application, how to register them in Azure, how to deploy them inside App Service Plan and finally, how to enable Authentication and Authorization.

Available Articles

  1. Introduction and Setup (this article)
  2. Setup a Front-end Application with NET Core 3.1 and React
  3. Setup a Back-end Application with NET Core 3.1
  4. Additional notes and functionalities

1. Setup

First of all, you need an Azure…


How often have you tried to shred down that extra pound of body fat? Did you make it? Maybe the reason behind is not really on your lifestyle or workout program but you are simply eating the wrong food!

I have followed and applied many diets and frankly speaking there is no silver bullet here or magic wand; for sure there are “natural boosters” that will make your journey faster and easier. Below I have created a list of the top 10 foods which will allow you to burn more calories. …


Which workout is right for me?

If you are a fitness enthusiast or you are approaching the gym for the first time, you might probably have came out with this question more than once: “Which gym split workout is right for me?”. Well, let’s start by saying that there is not a real scientific answer behind this question but also it depends. It depends on many factors, to list a few:

  • Your age and your fitness situation (beginner, intermediate, advanced)
  • Your ambitions (burn fat, build muscle, look better, loose weight)

If you know already the answer to these questions, it is going to be a lot…

Raffaele Garofalo

Father | Husband | Fitness enthusiast & Microsoft Solution Architect

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store