Sunday, September 5, 2021

Advantage of using B2C in your next application

Gone are the days you spend days building the security functionalities like Login,  Registration and Password Reset.  There are plenty of modern authentication mechanisms that can be plugged and played such as Facebook, Google, LinkedIn, Live and so on. What is there is a way you can use all of them in matter of clicks?


Wednesday, October 21, 2020

Using TimerInfo object in Timer Functions

 TimerInfo object can be used to various purposes in a Timer Function. There are three main properties that can be used to make the logic. 


IsPastDue 

As I mentioned in the previous article this can be determined to know whether this function was scheduled to run previously. Depending on this you can decide to make certain actions. 

Debugging Azure Timer Functions

Azure Timer Functions are great way to run your scheduled jobs and may be process data, or send a summary email likewise. One of the questions I received during a session was how do we trigger them when testing. This can be done in two ways. 

1. Set Cron Expression to pick up the next minute

If you set the following Cron expression, it will trigger on exact same minute. In this example, on 42nd minute. So whenever you debug you can set the next minute or two and then let it trigger and debug them. 


Thursday, August 13, 2020

Azure Resource Graph Explorer

 

Azure Resource Graph Explorer is a powerful tool that lets you interact with the resources across multiple subscriptions. 

You can browse it through the All. Resources screen -> Open Query option. 


Then there are many pre defined set of queries that allows you to begin easily. 

The following query lets you find all the resources by a tag 'production' 

Resources
where tags.environment=~'production'
project name 

If you have configured tags correctly, you can see all your production resources with this. 

Apart from the results view, it shows the chart view as well for possible results. 

Once you are satisfied with it, you can save the query as a private or a shared query via Save Query windo.


Thursday, April 23, 2020

Azure Stack Hub vs HCI vs Edge

Azure Stack provides great capabilities to extend your own private or Hybrid data center needs by bringing Azure service experiences to the table. At last Ignite (2019) Microsoft introduced rebranding and extensions to this Azure Stack experience as following. 

  • Azure Stack Hub
  • Azure Stack HCI
  • Azure Stack Edge

Sunday, April 12, 2020

Azure AD B2C New Flow Types

Azure AD B2C is a great product. It allows you to create a separate directory of users who would like to consume your application. You do not need to worry about the sign up process. Once the users are Signed Up with the Azure B2C Tenant and sign in, Azure will return the necessary claims back to the users in the token.

The Sign Up, Sign In, Password Reset and Profile Edit pages were handled by Azure AD via a web view page. Right now, there are 3 flow types.


Monday, March 30, 2020

Azure API Management - Setting Up Inbound Policies - 1

There are various inbound policies that can be set when setting up the API Management Service on Microsoft Azure. Having these policies will help rejecting the requests arrive at your endpoints even before they hit the endpoint's internal security logics. In another aspect, you might get your web traffic overloaded due to many reasons. In such scenarios, you can limit them with the inbuilt policies in API Management Service.

In order to explain them in this article, I am picking the default Echo API. When you go to All Operations, you can see similar to the image below.

Then click on 'Add Policy' link to add a new policy.