My first Tedx Talk: From Pain to Purpose – My TEDx Journey

August 30, 2025 – A date etched in my life for more than one reason. Exactly 11 years ago , I got engaged. And on that very same date this year, I received a life-changing opportunity: my first TEDx talk , hosted at GGI under the inspiring theme “Chase the Impossible.” Standing on that red dot, I felt a mix of emotions — excitement , nervousness , and the quiet ache of loss , having lost my wife, whose memories remain deeply rooted in my heart. In my talk, I shared a story born in the midst of COVID-19 — a time when Ms. Renu and I were both navigating personal grief in different ways. It was during this difficult phase that Mr. Chaitanya brought us together — blending Renu’s deep nutritional expertise with my technical background . That collaboration gave birth to a vision: A platform that could reduce the time it takes to create personalized diets , enabling dieticians to focus more on care, empathy, and connection — and patients to avoid long queues and delays. What began in ...

Azure API Management - Using Client IP Address as the Counter Key for Rate Limiting Policies

Hey friends, How are you all?

Today, I am going to share how we can implement Rate Limit Policies and Counter by Client IP Address.

So, let's understand the problem first:

PROBLEM: 

  • We need to implement Rate Limit Policy by Client IP Address on Azure API Management. I followed this article first of all and found that I can use the following piece of code.


  • There was a second problem for me as the requests were coming through cloudflare and hence the client IP address was not available in context.Request.IpAddress

SOLUTION:
  • I was getting IPAddress as 0.0.0.0 in the app insights which is right as per GDPR, I used this link to confirm the client IP address in the pre-prod environments in App Insights.
  • I found that CloudFlare exposes the Client IP Address in the X-Forwarded-For or True-Client-IP Header to expose the client IP Address. Check out the details here.
  • I followed this link to strengethen my understanding on how to use Policy Expressions
  • The final piece: Ultimately, I used the following piece to counter by Client IP Address


Notice, the code in the counter-key, it is prettymuch C# in the razor block. For a single line statement, you can use @() and for multi-line statements, you can use Happy Coding!!!