Wednesday, October 19, 2022

Azure AD B2C Overview

App Registrations

  • Register your application in Azure AD B2C. 
  • Create new application ID or client ID that identifies your application.
Select Identity Provider
  • Facebook
  • Twitter
  • Google
  • Amazon
  • MS
  • Github
  • Local account


Select Policy

  • User flow- User sign up /sign in, reset , Change password etc.
  • Under user flow- select token claims
What is claim is a variable or attributes of logged in person- return user details post login

Claim: 
  • Display name
  • Email
  • Country
  • Job Title
  • Postcode
  • City
  • USER OBJECT
  • Identity provider

Tuesday, October 11, 2022

Scale up Scale down vs Scale In Scale Out

 

Scale In /Out

Scale Up/Down

Downtime: No downtime when provisioning in cloud

Downtime to some extent as there will be migration of code and configuration. No downtime when scaling process happens however migration of code configuration kicks off post scaling results in downtime.

Scenario: When code is alright, however no of users during the peak increases and server is unable to serve request. Increase no of boxes or instance to distribute loads of users across . Load balancing of users or distribution of users to serve request.

Scenario : When bad code or design leads to more CPU and memory utilizations. Need to increase server capacity

No sticky session Out proc session

In Proc session or state server session will do.