Skip to main content

Posts

Showing posts from January, 2020

Angular 8 Azure Active Directory Authentication

Angular 8 App With Azure Active Directory Authentication Today we are going to use the Active Directory Authentication Library (ADAL) for angular 8/JavaScript (ADAL.JS) that offers Azure AD authentication services that can be incorporated in the single-page applications(SPA). if you are new to Angular 8 so ahead have a look into the  first angular 8 projects  and then go through the step by steps and instructions to implement authentication. Step 1: Configuring Azure Active Directory (App Registrations) Login to Azure Portal Click on Azure Active Directory >> App Registrations >> New Registrations Enter the display name Select the supported account type(in my case Single Tenant App) Enter the Redirect URI( default URL for the angular  https://localhost:4200/ ) Click on Register button Find newly created app under app registrations "angular-app-web-dev" and click on Authentication in left panel >> under Implicit grant ...

Powershell Add Tags To Resources

Powershell Add Tags To Resources We'll be using   Powershell 7 Preview   that has AZ module to TAG resources also,  good to read the following article over MSDN  Installing PowerShell Core on Windows   Powershell 7 Preview   Azure PowerShell Az module Az offers shorter commands, improved stability, and cross-platform support. Az also has feature equality with AzureRM, which provides a smooth migration path. Windows and PowerShell Core 6.x and later on all supported platforms - including Windows, macOS, and Linux.  Azure Tag All Resources in a Resource Group Use the following script to read existing tags for the resource group and apply it to all its resources. It will keep existing tags on resources that aren't duplicates If Resource Tag Key has empty value  then it will replace it with resource group's same Tag key value if exists # get resource group object $group = Get-AzResourceGroup -Name TargetedResou...

Web App for Containers Azure Step by Step Example

Deploy and Run a Containerized Web App with Azure App Service Today we are going to talk about the "how to deploy and run a Containerized Asp.net Core Web App with Azure App Service"?  It'll be great if you a basic understanding of  the followings : You should have basic knowledge about the Azure App Service .Net and Visual Studio Docker and Containerizations Development Env Setup You need Azure subscription (if you don thave then get a free one ) You need Visual Studio 2019, click here to download You need to install docker  on your local dev Machine We shall complete the whole exercise in next 4 steps only Step 1: Create Azure Container Registry Go to the Azure portal and click on Create New Resource>> Containers and Click on the Container Registry Fill up the Create Container Registry Form, and also Enable Admin User and click on Create Button.  see below for your reference finall...

Azure SQL vs Cosmos db

Global Databases: Azure SQL vs Cosmos db Cosmos DB is a fully managed, multi-model and globally distributed database  that offers the following capabilities: Capable to store relational data, semi-structured data(supports document, key-value, graph, and columnar data models) Fast, single-digit-millisecond data access using popular API including SQL, MongoDB, Cassandra, Tables, or Gremlin(graph). Data is completely transparently encrypted and secure by default Azure Cosmos DB natively partitions your data for high availability and scalability. Azure Cosmos DB offers 99.99% guarantees for availability , throughput, low latency, and consistency on all single-region accounts and all multi-region accounts with relaxed consistency, and 99.999% read availability on all multi-region database accounts  for both reads and writes. Azure Cosmos DB is ISO, FedRAMP, EU, HIPAA, and PCI compliant Geo-replication While creating Cosmos DB account multi-region, we can choose from t...

What is Business Continuity and Disaster Recovery (BCDR)

Importance of Business Continuity and Disaster Recovery Planning BCDR planning is to achieve High Availability for your business application, services, data. For example, your application is hosted in a data center that resides in a natural disaster zone like an Earthquake, Flood, Tsunami, etc. When these such a bad event will occur there quite a high chance to lose data/application forever even the whole data center that can not be recovered at all if the organization does not have the right BCDR planning. To support business continuity your company must have disaster recovery plans and there's a mixture of virtualized and physical systems at the data center. Business Continuity and Disaster Recovery(BCDR) Whenever systems are unavailable can cause your company to lost revenue. Generally, every application and services come with SLA(Service Level Agreement) so the company also might face financial penalties for breaking agreements written for the availability of the serv...